The rd field goes after the immediate field in format 2.1 instructions.
authorMisha Brukman <brukman+llvm@gmail.com>
Tue, 3 Jun 2003 01:04:04 +0000 (01:04 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Tue, 3 Jun 2003 01:04:04 +0000 (01:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6559 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/SparcV9/SparcV9_F2.td

index 4a0c1ff40c4e2a854bc8cd886542d37ae7f0b77e..69e4cac76c922c75f56d5b4af11eeb3bb471c5bf 100644 (file)
@@ -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;