Now tracking constant values for most operations.
This will make it easier to enable memory access optimizations and hacks. Not all operations are updating the constant registers, only those that are likely to participate in constant value building. Constant values are cleared on every basic block, though this may be too zealous it prevents weird fall-through cases.
This commit is contained in:
@@ -642,6 +642,8 @@ XEEMITTER(mfspr, 0x7C0002A6, XFX)(X64Emitter& e, X86Compiler& c, InstrDat
|
||||
|
||||
e.update_gpr_value(i.XFX.RT, v);
|
||||
|
||||
e.clear_constant_gpr_value(i.XFX.RT);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user