aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
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,