From 1b6520f5ddb2efe848437b801948945d53f331ff Mon Sep 17 00:00:00 2001 From: Merry Date: Sat, 13 Apr 2019 08:04:39 -0400 Subject: [PATCH] A64/location_descriptor: Ensure FZ16 is included in the FPCR mask --- src/frontend/A64/location_descriptor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/A64/location_descriptor.h b/src/frontend/A64/location_descriptor.h index 9cea06a6..1ff87532 100644 --- a/src/frontend/A64/location_descriptor.h +++ b/src/frontend/A64/location_descriptor.h @@ -25,7 +25,7 @@ namespace Dynarmic::A64 { class LocationDescriptor { public: static constexpr u64 PC_MASK = 0x00FF'FFFF'FFFF'FFFFull; - static constexpr u32 FPCR_MASK = 0x07C0'0000; + static constexpr u32 FPCR_MASK = 0x07C8'0000; LocationDescriptor(u64 pc, FP::FPCR fpcr) : pc(pc & PC_MASK), fpcr(fpcr.Value() & FPCR_MASK) {}