aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-06-03 01:04:04 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-06-03 01:04:04 +0000
commit3da09238682295e5cb388715b30c931cc6335f57 (patch)
treeaed66b2fb2274fa5dd7a3195d52f32564488a417
parent4817a5ea3db0b8ff2e1ce1bd8cbf0849ea27a3ef (diff)
The rd field goes after the immediate field in format 2.1 instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6559 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Target/SparcV9/SparcV9_F2.td3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Target/SparcV9/SparcV9_F2.td b/lib/Target/SparcV9/SparcV9_F2.td
index 4a0c1ff40c..69e4cac76c 100644
--- a/lib/Target/SparcV9/SparcV9_F2.td
+++ b/lib/Target/SparcV9/SparcV9_F2.td
@@ -13,8 +13,8 @@ class F2 : InstV9 { // Format 2 instructions
// Format 2.1 instructions
class F2_1<string name> : F2 {
- bits<5> rd;
bits<22> imm;
+ bits<5> rd;
set Name = name;
set Inst{29-25} = rd;
@@ -48,7 +48,6 @@ class F2_3<bits<4> cond, string name> : F2_br { // Format 2.3 instructions
}
class F2_4<bits<3> rcond, string name> : F2_br { // Format 2.4 instructions
- // Variables exposed by the instruction...
bit predict;
bits<5> rs1;
bits<16> disp;