summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-07-15 21:27:14 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-07-15 21:27:14 +0000
commit2c4fe5813c5414ff8d142ef278587689ceda328c (patch)
treed255c564ce2a0ff0dc768e631c6551b720556f2d /lib
parenta34b619f67c29a32f28e8ddd2693810c3318eb68 (diff)
downloadllvm-2c4fe5813c5414ff8d142ef278587689ceda328c.tar.gz
llvm-2c4fe5813c5414ff8d142ef278587689ceda328c.tar.bz2
llvm-2c4fe5813c5414ff8d142ef278587689ceda328c.tar.xz
No need for a second immediate field if the class already inherits one.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7182 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Target/SparcV9/SparcV9_F3.td3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Target/SparcV9/SparcV9_F3.td b/lib/Target/SparcV9/SparcV9_F3.td
index f2cd51fbb3..c83c61d614 100644
--- a/lib/Target/SparcV9/SparcV9_F3.td
+++ b/lib/Target/SparcV9/SparcV9_F3.td
@@ -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,