projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0648ccf
)
add a patter for SUBFIC
author
Chris Lattner
<sabre@nondot.org>
Wed, 28 Sep 2005 22:47:06 +0000
(22:47 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 28 Sep 2005 22:47:06 +0000
(22:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23509
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCInstrInfo.td
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCInstrInfo.td
b/lib/Target/PowerPC/PPCInstrInfo.td
index 719968db6e6d0de9e426cd866a97138124f42894..a39aaaa6051a1176c70553fc625ea4d844a58832 100644
(file)
--- a/
lib/Target/PowerPC/PPCInstrInfo.td
+++ b/
lib/Target/PowerPC/PPCInstrInfo.td
@@
-396,7
+396,7
@@
def MULLI : DForm_2< 7, (ops GPRC:$rD, GPRC:$rA, s16imm:$imm),
[(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)]>;