summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-05-08 05:26:55 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-05-08 05:26:55 +0000
commit6b1d2fa1d1cae181707d05b26c5e2e02c77eaa06 (patch)
treef2881eee2f4e7dfd130b8374b78ab81f64b584b2 /lib
parentc3e970122a942dc46b0be1fb1d0ca757a711911d (diff)
downloadexternal_llvm-6b1d2fa1d1cae181707d05b26c5e2e02c77eaa06.zip
external_llvm-6b1d2fa1d1cae181707d05b26c5e2e02c77eaa06.tar.gz
external_llvm-6b1d2fa1d1cae181707d05b26c5e2e02c77eaa06.tar.bz2
Add ADD with immediate
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13420 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/Sparc/SparcInstrInfo.td1
-rw-r--r--lib/Target/SparcV8/SparcV8InstrInfo.td1
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/Sparc/SparcInstrInfo.td b/lib/Target/Sparc/SparcInstrInfo.td
index 995d7c7..35323b9 100644
--- a/lib/Target/Sparc/SparcInstrInfo.td
+++ b/lib/Target/Sparc/SparcInstrInfo.td
@@ -98,6 +98,7 @@ def SRAri : F3_2<2, 0b100111, "sra">;
// Section B.13 - Add Instructions, p. 108
def ADDrr : F3_1<2, 0b000000, "add">;
+def ADDri : F3_2<2, 0b000000, "add">;
// Section B.15 - Subtract Instructions, p. 110
def SUBrr : F3_1<2, 0b000100, "sub">;
diff --git a/lib/Target/SparcV8/SparcV8InstrInfo.td b/lib/Target/SparcV8/SparcV8InstrInfo.td
index 995d7c7..35323b9 100644
--- a/lib/Target/SparcV8/SparcV8InstrInfo.td
+++ b/lib/Target/SparcV8/SparcV8InstrInfo.td
@@ -98,6 +98,7 @@ def SRAri : F3_2<2, 0b100111, "sra">;
// Section B.13 - Add Instructions, p. 108
def ADDrr : F3_1<2, 0b000000, "add">;
+def ADDri : F3_2<2, 0b000000, "add">;
// Section B.15 - Subtract Instructions, p. 110
def SUBrr : F3_1<2, 0b000100, "sub">;