mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-10 02:36:06 +00:00
Increase format field from 5 to 6 bits. ARMII::FormMask was increased to 0x3f
in svn r74988 but the format field was never widened. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98768 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e5636a3221
commit
89ef7b797a
@ -15,8 +15,8 @@
|
|||||||
// Format specifies the encoding used by the instruction. This is part of the
|
// Format specifies the encoding used by the instruction. This is part of the
|
||||||
// ad-hoc solution used to emit machine instruction encodings by our machine
|
// ad-hoc solution used to emit machine instruction encodings by our machine
|
||||||
// code emitter.
|
// code emitter.
|
||||||
class Format<bits<5> val> {
|
class Format<bits<6> val> {
|
||||||
bits<5> Value = val;
|
bits<6> Value = val;
|
||||||
}
|
}
|
||||||
|
|
||||||
def Pseudo : Format<0>;
|
def Pseudo : Format<0>;
|
||||||
@ -183,7 +183,7 @@ class InstTemplate<AddrMode am, SizeFlagVal sz, IndexMode im,
|
|||||||
bits<2> IndexModeBits = IM.Value;
|
bits<2> IndexModeBits = IM.Value;
|
||||||
|
|
||||||
Format F = f;
|
Format F = f;
|
||||||
bits<5> Form = F.Value;
|
bits<6> Form = F.Value;
|
||||||
|
|
||||||
Domain D = d;
|
Domain D = d;
|
||||||
bits<2> Dom = D.Value;
|
bits<2> Dom = D.Value;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user