mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-25 00:35:30 +00:00
The rd field goes after the immediate field in format 2.1 instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6559 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4817a5ea3d
commit
3da0923868
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user