From 376c868ca0499709c23e4e8dece85270c8ab5a0a Mon Sep 17 00:00:00 2001 From: tevador Date: Tue, 12 Feb 2019 23:20:10 +0100 Subject: [PATCH] Fixed wrong REX prefix in FDIV_M code --- src/JitCompilerX86.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/JitCompilerX86.cpp b/src/JitCompilerX86.cpp index a5e3f5f..97afb2e 100644 --- a/src/JitCompilerX86.cpp +++ b/src/JitCompilerX86.cpp @@ -165,7 +165,7 @@ namespace RandomX { static const uint8_t JMP = 0xe9; static const uint8_t REX_XOR_RAX_R64[] = { 0x49, 0x33 }; static const uint8_t REX_XCHG[] = { 0x4d, 0x87 }; - static const uint8_t REX_ANDPS_XMM12[] = { 0x41, 0x0f, 0x54, 0xe6 }; + static const uint8_t REX_ANDPS_XMM12[] = { 0x45, 0x0f, 0x54, 0xe6 }; static const uint8_t REX_PADD[] = { 0x66, 0x44, 0x0f }; static const uint8_t PADD_OPCODES[] = { 0xfc, 0xfd, 0xfe, 0xd4 };