From 72026c91b5325a893a40a4a4e8bff7d454bd8748 Mon Sep 17 00:00:00 2001 From: Merry Date: Tue, 2 Aug 2022 00:33:33 +0100 Subject: [PATCH] oaknut: fpsimd MOV and UMOV corrections --- .../oaknut/include/oaknut/impl/fpsimd_mnemonics.inc.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/externals/oaknut/include/oaknut/impl/fpsimd_mnemonics.inc.hpp b/externals/oaknut/include/oaknut/impl/fpsimd_mnemonics.inc.hpp index 8867fddd..24c71557 100644 --- a/externals/oaknut/include/oaknut/impl/fpsimd_mnemonics.inc.hpp +++ b/externals/oaknut/include/oaknut/impl/fpsimd_mnemonics.inc.hpp @@ -4046,11 +4046,11 @@ void MOV(XReg xd, DElem en) } void MOV(VReg_8B rd, VReg_8B rn) { - emit<"00001110101mmmmm000111nnnnnddddd", "d", "n">(rd, rn); + emit<"00001110101mmmmm000111nnnnnddddd", "d", "n", "m">(rd, rn, rn); } void MOV(VReg_16B rd, VReg_16B rn) { - emit<"01001110101mmmmm000111nnnnnddddd", "d", "n">(rd, rn); + emit<"01001110101mmmmm000111nnnnnddddd", "d", "n", "m">(rd, rn, rn); } void MOVI(VReg_8B rd, Imm<8> imm, LslSymbol = LslSymbol::LSL, ImmConst<0> = 0) { @@ -8279,7 +8279,7 @@ void UMOV(WReg wd, SElem en) } void UMOV(XReg xd, DElem en) { - emit<"01001110000i1000001111nnnnnddddd", "d", "n", "x">(xd, en.reg_index(), en.elem_index()); + emit<"01001110000x1000001111nnnnnddddd", "d", "n", "x">(xd, en.reg_index(), en.elem_index()); } void UMULL(VReg_4S rd, VReg_4H rn, HElem em) {