X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=cpu%2FCyclone%2FOpMove.cpp;h=f0a8ecc00661f4ebf3a06ed70f5a88b4dc5aa4b0;hb=b5e5172d049a83251874fb33e65a53c9654dc0bc;hp=b5dc0ce57354da09d926e573557a6c50d1887dc8;hpb=0e11c502b05a9ccd67d34d1f0975852d8c3d4232;p=picodrive.git diff --git a/cpu/Cyclone/OpMove.cpp b/cpu/Cyclone/OpMove.cpp index b5dc0ce..f0a8ecc 100644 --- a/cpu/Cyclone/OpMove.cpp +++ b/cpu/Cyclone/OpMove.cpp @@ -150,7 +150,7 @@ int OpMove(int op) #if CYCLONE_FOR_GENESIS && !MEMHANDLERS_CHANGE_CYCLES // this is a bit hacky - if ((tea==0x39||(tea&0x38)==0x10)&&size>=1) + if ((tea==0x39||(tea>=0x10&&tea<0x30))&&size>=1) ot(" ldr r5,[r7,#0x5c] ;@ Load Cycles\n"); #endif @@ -415,12 +415,21 @@ int OpMovem(int op) } else { - // if (size == 2 && decr && SPLIT_MOVEL_PD) we should do 2xWrite16 here - // (same as in movel.l ?, -(An)), but as this is not likely to be needed and - // we do not want the performance hit, we do single Write32 instead. ot(" ;@ Copy register to memory:\n",1<