mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-31 09:25:42 +00:00
Use uint16_t to store registers and opcode in static tables in the target specific backends.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152537 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -39,9 +39,9 @@ namespace {
|
||||
/// ReduceTable - A static table with information on mapping from wide
|
||||
/// opcodes to narrow
|
||||
struct ReduceEntry {
|
||||
unsigned WideOpc; // Wide opcode
|
||||
unsigned NarrowOpc1; // Narrow opcode to transform to
|
||||
unsigned NarrowOpc2; // Narrow opcode when it's two-address
|
||||
uint16_t WideOpc; // Wide opcode
|
||||
uint16_t NarrowOpc1; // Narrow opcode to transform to
|
||||
uint16_t NarrowOpc2; // Narrow opcode when it's two-address
|
||||
uint8_t Imm1Limit; // Limit of immediate field (bits)
|
||||
uint8_t Imm2Limit; // Limit of immediate field when it's two-address
|
||||
unsigned LowRegs1 : 1; // Only possible if low-registers are used
|
||||
|
Reference in New Issue
Block a user