From 75b8a766309bd02b2476a92ed27f73b3f9b5b396 Mon Sep 17 00:00:00 2001 From: MerryMage Date: Fri, 2 Feb 2018 22:25:18 +0000 Subject: [PATCH] a64_jitstate: A64 does not have a seperate FPSCR.NZCV --- src/backend_x64/a64_jitstate.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/backend_x64/a64_jitstate.h b/src/backend_x64/a64_jitstate.h index 386c3c63..5a2e041f 100644 --- a/src/backend_x64/a64_jitstate.h +++ b/src/backend_x64/a64_jitstate.h @@ -30,8 +30,10 @@ struct A64JitState { u64 sp; u64 pc; - u32 CPSR_nzcv = 0; - u32 FPSCR_nzcv = 0; + union { + u32 CPSR_nzcv = 0; + u32 FPSCR_nzcv; + }; u32 GetPstate() const { return CPSR_nzcv; }