From 2dce8ea5a854265c6b4a946b8021fc2f4bdf0967 Mon Sep 17 00:00:00 2001 From: Merry Date: Mon, 25 Jul 2022 22:49:44 +0100 Subject: [PATCH] emit_arm64_data_processing: Fix MostSignificantWord --- src/dynarmic/backend/arm64/emit_arm64_data_processing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dynarmic/backend/arm64/emit_arm64_data_processing.cpp b/src/dynarmic/backend/arm64/emit_arm64_data_processing.cpp index 9256ac4d..bf185c60 100644 --- a/src/dynarmic/backend/arm64/emit_arm64_data_processing.cpp +++ b/src/dynarmic/backend/arm64/emit_arm64_data_processing.cpp @@ -137,7 +137,7 @@ void EmitIR(oaknut::CodeGenerator& code, EmitCo auto Xoperand = ctx.reg_alloc.ReadX(args[0]); RegAlloc::Realize(Wresult, Xoperand); - code.LSL(Wresult->toX(), Xoperand, 32); + code.LSR(Wresult->toX(), Xoperand, 32); } template<>