diff --git a/src/x86.cpp b/src/x86.cpp index 7c2ff572be..3b01573a74 100644 --- a/src/x86.cpp +++ b/src/x86.cpp @@ -2069,6 +2069,9 @@ class MyArchitecture: public Assembler::Architecture { case Negate: *aTypeMask = (1 << RegisterOperand); *bTypeMask = (1 << RegisterOperand); + *aRegisterMask = (static_cast(1) << (rdx + 32)) + | (static_cast(1) << rax); + *bRegisterMask = *aRegisterMask; break; case Move: