diff --git a/lib/Target/Sparc/SparcInstrInfo.td b/lib/Target/Sparc/SparcInstrInfo.td index cd9996b8fc7..cfa19fdab7e 100644 --- a/lib/Target/Sparc/SparcInstrInfo.td +++ b/lib/Target/Sparc/SparcInstrInfo.td @@ -515,60 +515,6 @@ def SMULri : F3_2<2, 0b001011, "smul $b, $c, $dst", [(set IntRegs:$dst, (mul IntRegs:$b, simm13:$c))]>; -/* -//===------------------------- -// Sparc Example -defm intinst{OPC1, OPC2} { - def OPC1 : F3_1<2, Opc, asmstr, (ops IntRegs:$dst, IntRegs:$b, IntRegs:$c), - [(set IntRegs:$dst, (code IntRegs:$b, IntRegs:$c))]>; - def OPC2 : F3_2<2, Opc, asmstr, (ops IntRegs:$dst, IntRegs:$b, i32imm:$c), - [(set IntRegs:$dst, (code IntRegs:$b, simm13:$c))]>; -} -defm intinst_np{OPC1, OPC2} { - def OPC1 : F3_1<2, Opc, asmstr, (ops IntRegs:$dst, IntRegs:$b, IntRegs:$c), - []>; - def OPC2 : F3_2<2, Opc, asmstr, (ops IntRegs:$dst, IntRegs:$b, i32imm:$c), - []>; -} - -def { ADDXrr, ADDXri} : intinstnp<0b001000, "addx $b, $c, $dst">; -def { SUBrr, SUBri} : intinst <0b000100, "sub $b, $c, $dst", sub>; -def intinstnp{ SUBXrr, SUBXri}<0b001100, "subx $b, $c, $dst">; -def intinst {SUBCCrr, SUBCCri}<0b010100, "subcc $b, $c, $dst", SPcmpicc>; -def intinst { SMULrr, SMULri}<0b001011, "smul $b, $c, $dst", mul>; - -//===------------------------- -// X86 Example -defm cmov32 { - def OPC1 : I, TB; - def OPC2 : I, TB; -} - -def cmov; -def cmov; - -//===------------------------- -// PPC Example - -def fpunop { - def OPC1 : FORM; - def OPC2 : FORM; -} - -def fpunop< FABSS, FABSD, XForm_26, 63, 63, 264, "fabs", fabs>; -def fpunop; -def fpunop< FNEGS, FNEGD, XForm_26, 63, 63, 40, "fneg", fneg>; -*/ // Section B.19 - Divide Instructions, p. 115 def UDIVrr : F3_1<2, 0b001110,