Open strayacode opened 6 months ago
In relation to this: See if there's better way to handle instructions that change flags. The only reason we have to break a basic block is because updating flags will change the condition. For the basic block we assumed that all instructions evaluate true to the first condition.
Example of how a single guest instruction translates to many host instruction:
Ideally the flag calculation should be done natively as part of a host instruction, and then the flag results can be written directly back to cpsr. Since a32 and a64 have the same flag layout roughly, this should be more efficient.