specify register contraints for Negate instruction in MyArchitecture::plan

This commit is contained in:
Joel Dice 2008-11-10 20:23:33 -07:00
parent 96a7c71c30
commit 54cda3ca61

View File

@ -2069,6 +2069,9 @@ class MyArchitecture: public Assembler::Architecture {
case Negate:
*aTypeMask = (1 << RegisterOperand);
*bTypeMask = (1 << RegisterOperand);
*aRegisterMask = (static_cast<uint64_t>(1) << (rdx + 32))
| (static_cast<uint64_t>(1) << rax);
*bRegisterMask = *aRegisterMask;
break;
case Move: