Skip to content
Snippets Groups Projects
Commit e22e5079 authored by Clark Coleman's avatar Clark Coleman
Browse files

Avoid adding hidden EDX operand on IRDB uses of 8-bit multiply opcodes.

parent 47472e88
No related branches found
No related tags found
No related merge requests found
Pipeline #2983 failed
......@@ -19765,7 +19765,7 @@ bool SMPInstr::BuildMultiplyDivideRTL(SMPoperator BinaryOp) {
// See the x86 ISA manuals for DIV, IDIV, IMUL, MUL opcodes to see all the cases.
ImplicitDEFs = x86ImulCase ? (!ByteSourceOperand && InvisibleOperand) : (!ByteSourceOperand);
// IRDB does not have the invisible operands, but it has an implicit DEFs field.
if (!ImplicitDEFs) {
if (!ImplicitDEFs && (!ByteSourceOperand)) {
ImplicitDEFs = this->STARSInstPtr->HasImplicitlyModifiedRegs();
}
this->RTL.push_back(TempRT);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment