Re: [hatari-devel] 68030 and movem |
[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]
Le 18/09/2023 à 10:46, Andreas Grabher a écrit :
do you mean the ones that use "int predec = 0;" ? If so they should be optimized by the compiler. NicolasThat is likely. But why do we add code just to optimize it away afterwards? At least it is bad for readability.
I guess it's easier for Toni to have a smaller code patch in gencpu.c (which is already quite hard to read/follow and have all the important CPU logic) and leave it to the compiler to optimize cpuemu_xx.c files (which are generated files that not many people will read, except on specific opcodes' debugging)
Nicolas
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |