diff --git a/lib/Target/X86/X86InstrInfo.td b/lib/Target/X86/X86InstrInfo.td index 920ae1a363a..c7756d5b11a 100644 --- a/lib/Target/X86/X86InstrInfo.td +++ b/lib/Target/X86/X86InstrInfo.td @@ -332,11 +332,11 @@ def SUBmr32 : I2A32<"sub", 0x29, MRMDestMem>; // [mem32] -= R32 def SUBrm8 : I2A8 <"sub", 0x2A, MRMSrcMem >; // R8 -= [mem8] def SUBrm16 : I2A16<"sub", 0x2B, MRMSrcMem >, OpSize; // R16 -= [mem16] def SUBrm32 : I2A32<"sub", 0x2B, MRMSrcMem >; // R32 -= [mem32] -def SUBmi8 : I2A8 <"sub", 0x80, MRMSrcMem >; // [mem8] -= I8 -def SUBmi16 : I2A16<"sub", 0x81, MRMSrcMem >, OpSize; // [mem16] -= I16 -def SUBmi32 : I2A32<"sub", 0x81, MRMSrcMem >; // [mem32] -= I8 -def SUBmi16b : I2A8 <"sub", 0x83, MRMSrcMem >, OpSize; // [mem16] -= I8 -def SUBmi32b : I2A8 <"sub", 0x83, MRMSrcMem >; // [mem32] -= I32 +def SUBmi8 : I2A8 <"sub", 0x80, MRMDestMem>; // [mem8] -= I8 +def SUBmi16 : I2A16<"sub", 0x81, MRMDestMem>, OpSize; // [mem16] -= I16 +def SUBmi32 : I2A32<"sub", 0x81, MRMDestMem>; // [mem32] -= I8 +def SUBmi16b : I2A8 <"sub", 0x83, MRMDestMem>, OpSize; // [mem16] -= I8 +def SUBmi32b : I2A8 <"sub", 0x83, MRMDestMem>; // [mem32] -= I32 def SBBrr32 : I2A32<"sbb", 0x19, MRMDestReg>; // R32 -= R32+Borrow def SBBrm32 : I2A32<"sbb", 0x19, MRMSrcMem >; // R32 -= [mem32]+Borrow