[llvm-commits] CVS: llvm/lib/Target/PowerPC/PowerPCInstrInfo.td
Chris Lattner
lattner at cs.uiuc.edu
Wed Sep 28 15:47:17 PDT 2005
Changes in directory llvm/lib/Target/PowerPC:
PowerPCInstrInfo.td updated: 1.109 -> 1.110
---
Log message:
add a patter for SUBFIC
---
Diffs of the changes: (+1 -1)
PowerPCInstrInfo.td | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Target/PowerPC/PowerPCInstrInfo.td
diff -u llvm/lib/Target/PowerPC/PowerPCInstrInfo.td:1.109 llvm/lib/Target/PowerPC/PowerPCInstrInfo.td:1.110
--- llvm/lib/Target/PowerPC/PowerPCInstrInfo.td:1.109 Wed Sep 28 17:38:27 2005
+++ llvm/lib/Target/PowerPC/PowerPCInstrInfo.td Wed Sep 28 17:47:06 2005
@@ -396,7 +396,7 @@
[(set GPRC:$rD, (mul GPRC:$rA, immSExt16:$imm))]>;
def SUBFIC : DForm_2< 8, (ops GPRC:$rD, GPRC:$rA, s16imm:$imm),
"subfic $rD, $rA, $imm",
- []>;
+ [(set GPRC:$rD, (sub immSExt16:$imm, GPRC:$rA))]>;
def LI : DForm_2_r0<14, (ops GPRC:$rD, s16imm:$imm),
"li $rD, $imm",
[(set GPRC:$rD, immSExt16:$imm)]>;
More information about the llvm-commits
mailing list