mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-05 15:15:42 +00:00
opcodes/aarch64: shrink aarch64_ext_ldst_reglist()'s data[]
The values are all pretty small; one is even a boolean. No point in wasting 32 bits for every one of the fields.
This commit is contained in:
@@ -501,21 +501,21 @@ aarch64_ext_ldst_reglist (const aarch64_operand *self ATTRIBUTE_UNUSED,
|
|||||||
|
|
||||||
static const struct
|
static const struct
|
||||||
{
|
{
|
||||||
unsigned is_reserved;
|
unsigned num_regs:8;
|
||||||
unsigned num_regs;
|
unsigned num_elements:8;
|
||||||
unsigned num_elements;
|
bool is_reserved:1;
|
||||||
} data [] =
|
} data [] =
|
||||||
{ {0, 4, 4},
|
{ {4, 4, false},
|
||||||
{1, 4, 4},
|
{4, 4, true},
|
||||||
{0, 4, 1},
|
{4, 1, false},
|
||||||
{0, 4, 2},
|
{4, 2, false},
|
||||||
{0, 3, 3},
|
{3, 3, false},
|
||||||
{1, 3, 3},
|
{3, 3, true},
|
||||||
{0, 3, 1},
|
{3, 1, false},
|
||||||
{0, 1, 1},
|
{1, 1, false},
|
||||||
{0, 2, 2},
|
{2, 2, false},
|
||||||
{1, 2, 2},
|
{2, 2, true},
|
||||||
{0, 2, 1},
|
{2, 1, false},
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Rt */
|
/* Rt */
|
||||||
|
|||||||
Reference in New Issue
Block a user