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

@ -121,16 +121,18 @@ int OpMove(int op)
OpStart(op,sea,tea); Cycles=4;
EaCalcRead(-1,1,sea,size,0x003f);
if (movea==0)
{
ot(" adds r1,r1,#0 ;@ Defines NZ, clears CV\n");
EaCalcRead(-1,0,sea,size,0x003f);
ot(" adds r1,r0,#0 ;@ Defines NZ, clears CV\n");
ot(" mrs r10,cpsr ;@ r10=NZCV flags\n");
ot("\n");
}
if (movea) size=2; // movea always expands to 32-bits
else
{
EaCalcRead(-1,1,sea,size,0x003f);
size=2; // movea always expands to 32-bits
}
eawrite_check_addrerr=1;
#if SPLIT_MOVEL_PD