mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
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:
parent
07ceafdb04
commit
d4789c7cd6
3 changed files with 75 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue