a64_emit_x64: Fix location descriptor generation in GenTerminalHandlers

This commit is contained in:
MerryMage 2020-04-13 19:43:51 +01:00
parent 2770115757
commit 35402a9a17

View file

@ -295,7 +295,7 @@ void A64EmitX64::GenTerminalHandlers() {
code.and_(rcx, rbp); code.and_(rcx, rbp);
code.mov(ebx, dword[r15 + offsetof(A64JitState, fpcr)]); code.mov(ebx, dword[r15 + offsetof(A64JitState, fpcr)]);
code.and_(ebx, A64::LocationDescriptor::fpcr_mask); code.and_(ebx, A64::LocationDescriptor::fpcr_mask);
code.shl(ebx, A64::LocationDescriptor::fpcr_shift); code.shl(rbx, A64::LocationDescriptor::fpcr_shift);
code.or_(rbx, rcx); code.or_(rbx, rcx);
}; };