a64_address_space: Remove fpsr load in step_code

This commit is contained in:
Merry 2022-11-29 15:15:21 +00:00 committed by Liam
parent 4f1f7c8e97
commit 6960d29868

View file

@ -317,9 +317,7 @@ void A64AddressSpace::EmitPrelude() {
code.MRS(Xscratch1, oaknut::SystemReg::FPCR);
code.STR(Wscratch1, SP, offsetof(StackLayout, save_host_fpcr));
code.LDR(Wscratch0, Xstate, offsetof(A64JitState, fpcr));
code.LDR(Wscratch1, Xstate, offsetof(A64JitState, fpsr));
code.MSR(oaknut::SystemReg::FPCR, Xscratch0);
code.MSR(oaknut::SystemReg::FPSR, Xscratch1);
oaknut::Label step_hr_loop;
code.l(step_hr_loop);