mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-03-08 03:02:56 +00:00
reg_alloc: Explicitly specify GPR and XMM order
This allows each backend to modify what registers they want to use and their preferred orderings
This commit is contained in:
@@ -1008,7 +1008,7 @@ void EmitX64::EmitFPSub64(EmitContext& ctx, IR::Inst* inst) {
|
||||
}
|
||||
|
||||
static Xbyak::Reg64 SetFpscrNzcvFromFlags(BlockOfCode& code, EmitContext& ctx) {
|
||||
ctx.reg_alloc.ScratchGpr({HostLoc::RCX}); // shifting requires use of cl
|
||||
ctx.reg_alloc.ScratchGpr(HostLoc::RCX); // shifting requires use of cl
|
||||
const Xbyak::Reg64 nzcv = ctx.reg_alloc.ScratchGpr();
|
||||
|
||||
// x64 flags ARM flags
|
||||
|
||||
Reference in New Issue
Block a user