mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-27 22:55:15 +00:00
add a patter for SUBFIC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23509 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0648ccf1e9
commit
e025574370
@ -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)]>;
|
||||
|
Loading…
Reference in New Issue
Block a user