[Bug] Fixed x86::Compiler to not rewrite reg->mem when embedded rounding is used

This commit is contained in:
kobalicek
2023-04-25 19:58:18 +02:00
parent 51b10b19b6
commit ff6775f424

View File

@@ -920,7 +920,7 @@ Error InstInternal::queryRWInfo(Arch arch, const BaseInst& inst, const Operand_*
}
rmOpsMask &= instRmInfo.rmOpsMask;
if (rmOpsMask) {
if (rmOpsMask && !inst.hasOption(InstOptions::kX86_ER)) {
Support::BitWordIterator<uint32_t> it(rmOpsMask);
do {
i = it.next();