From 6b1d2fa1d1cae181707d05b26c5e2e02c77eaa06 Mon Sep 17 00:00:00 2001 From: Brian Gaeke Date: Sat, 8 May 2004 05:26:55 +0000 Subject: [PATCH] Add ADD with immediate git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13420 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/Sparc/SparcInstrInfo.td | 1 + lib/Target/SparcV8/SparcV8InstrInfo.td | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/Target/Sparc/SparcInstrInfo.td b/lib/Target/Sparc/SparcInstrInfo.td index 995d7c7af9f..35323b96954 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 995d7c7af9f..35323b96954 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">;