mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
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
This commit is contained in:
parent
a34b619f67
commit
2c4fe5813c
@ -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 {
|
class F3_4<bits<2> opVal, bits<6> op3Val, string name> : F3_rs1simm13 {
|
||||||
bits<13> simm;
|
|
||||||
set op = opVal;
|
set op = opVal;
|
||||||
set op3 = op3Val;
|
set op3 = op3Val;
|
||||||
set Name = name;
|
set Name = name;
|
||||||
set Inst{29-25} = 0; // don't care
|
set Inst{29-25} = 0; // don't care
|
||||||
set Inst{13} = 1; // i field = 1
|
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,
|
class F3_5<bits<2> opVal, bits<6> op3Val, bits<3> rcondVal,
|
||||||
|
Loading…
Reference in New Issue
Block a user