Cyclone: group some often used handlers + minor optimization.

Seems to help CD games with many cache misses.


git-svn-id: file:///home/notaz/opt/svn/PicoDrive@749 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2009-08-13 20:17:46 +00:00
parent 07ceafdb04
commit d4789c7cd6
3 changed files with 75 additions and 7 deletions

View file

@ -500,7 +500,7 @@ int OpBranch(int op)
OpEnd(size?0x10:0);
// since all "DontBranch" code is same for every size, output only once
if (cc>=2&&(op&0xff00)==0x6200)
if (cc>=2&&(op&0xff00)==0x6700)
{
ot("BccDontBranch%i%s\n", 8<<size, ms?"":":");
if (size) ot(" add r4,r4,#%d\n",1<<size);