aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-05-08 06:08:29 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-05-08 06:08:29 +0000
commit59dbff714cc44993a16522de15e89c56c604449d (patch)
tree30623c14fe15363c4a585d10fe72168013db9ae3
parent9f56482a43cf6d65adc849b11721770536309bf4 (diff)
Add a bunch more branches
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13422 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/Sparc/SparcInstrInfo.td16
-rw-r--r--lib/Target/SparcV8/SparcV8InstrInfo.td16
2 files changed, 24 insertions, 8 deletions
diff --git a/lib/Target/Sparc/SparcInstrInfo.td b/lib/Target/Sparc/SparcInstrInfo.td
index 35323b9695..bf11b35d3e 100644
--- a/lib/Target/Sparc/SparcInstrInfo.td
+++ b/lib/Target/Sparc/SparcInstrInfo.td
@@ -126,10 +126,18 @@ def RESTORErr : F3_1<2, 0b111101, "restore">; // restore r, r, r
def RESTOREri : F3_2<2, 0b111101, "restore">; // restore r, i, r
// Section B.21 - Branch on Integer Condition Codes Instructions, p. 119
-def BA : F2_2<0b1000, 0b010, "ba">;
-def BN : F2_2<0b0000, 0b010, "bn">;
-def BNE : F2_2<0b1001, 0b010, "bne">;
-def BE : F2_2<0b0001, 0b010, "be">;
+def BA : F2_2<0b1000, 0b010, "ba">;
+def BN : F2_2<0b0000, 0b010, "bn">;
+def BNE : F2_2<0b1001, 0b010, "bne">;
+def BE : F2_2<0b0001, 0b010, "be">;
+def BG : F2_2<0b1010, 0b010, "bg">;
+def BLE : F2_2<0b0010, 0b010, "ble">;
+def BGE : F2_2<0b1011, 0b010, "bge">;
+def BL : F2_2<0b0011, 0b010, "bl">;
+def BGU : F2_2<0b1100, 0b010, "bgu">;
+def BLEU : F2_2<0b0100, 0b010, "bleu">;
+def BCC : F2_2<0b1101, 0b010, "bcc">;
+def BCS : F2_2<0b0101, 0b010, "bcs">;
// Section B.24 - Call and Link Instruction, p. 125
// This is the only Format 1 instruction
diff --git a/lib/Target/SparcV8/SparcV8InstrInfo.td b/lib/Target/SparcV8/SparcV8InstrInfo.td
index 35323b9695..bf11b35d3e 100644
--- a/lib/Target/SparcV8/SparcV8InstrInfo.td
+++ b/lib/Target/SparcV8/SparcV8InstrInfo.td
@@ -126,10 +126,18 @@ def RESTORErr : F3_1<2, 0b111101, "restore">; // restore r, r, r
def RESTOREri : F3_2<2, 0b111101, "restore">; // restore r, i, r
// Section B.21 - Branch on Integer Condition Codes Instructions, p. 119
-def BA : F2_2<0b1000, 0b010, "ba">;
-def BN : F2_2<0b0000, 0b010, "bn">;
-def BNE : F2_2<0b1001, 0b010, "bne">;
-def BE : F2_2<0b0001, 0b010, "be">;
+def BA : F2_2<0b1000, 0b010, "ba">;
+def BN : F2_2<0b0000, 0b010, "bn">;
+def BNE : F2_2<0b1001, 0b010, "bne">;
+def BE : F2_2<0b0001, 0b010, "be">;
+def BG : F2_2<0b1010, 0b010, "bg">;
+def BLE : F2_2<0b0010, 0b010, "ble">;
+def BGE : F2_2<0b1011, 0b010, "bge">;
+def BL : F2_2<0b0011, 0b010, "bl">;
+def BGU : F2_2<0b1100, 0b010, "bgu">;
+def BLEU : F2_2<0b0100, 0b010, "bleu">;
+def BCC : F2_2<0b1101, 0b010, "bcc">;
+def BCS : F2_2<0b0101, 0b010, "bcs">;
// Section B.24 - Call and Link Instruction, p. 125
// This is the only Format 1 instruction