No need for a second immediate field if the class already inherits one.
authorMisha Brukman <brukman+llvm@gmail.com>
Tue, 15 Jul 2003 21:27:14 +0000 (21:27 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Tue, 15 Jul 2003 21:27:14 +0000 (21:27 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7182 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/SparcV9/SparcV9_F3.td

index f2cd51fbb3b72b0b94c8810edb9dee5773e4b8f8..c83c61d614a1fa7e3d3d2ab63a1a6b2195eb900d 100644 (file)
@@ -131,13 +131,12 @@ class F3_3<bits<2> opVal, bits<6> op3val, string name> : F3_rs1rs2 {
 }
 
 class F3_4<bits<2> opVal, bits<6> op3Val, string name> : F3_rs1simm13 {
-  bits<13> simm;
   set op   = opVal;
   set op3  = op3Val;
   set Name = name;
   set Inst{29-25} = 0; // don't care
   set Inst{13} = 1;    // i field = 1
-  set Inst{12-0} = simm;
+  set Inst{12-0} = simm13;
 }
 
 class F3_5<bits<2> opVal, bits<6> op3Val, bits<3> rcondVal,