diff options
author | Richard Sandiford <richard.sandiford@arm.com> | 2023-03-30 11:09:09 +0100 |
---|---|---|
committer | Richard Sandiford <richard.sandiford@arm.com> | 2023-03-30 11:09:09 +0100 |
commit | 1d1060427db0fe4332d5ae34487789d57e873b5c (patch) | |
tree | a95e9f2fa3a7d34fa20cf206fe563439377e334a /opcodes/aarch64-opc.h | |
parent | 2f4e3a2c823f7a51630253cd8a8681203b86664b (diff) | |
download | gdb-1d1060427db0fe4332d5ae34487789d57e873b5c.zip gdb-1d1060427db0fe4332d5ae34487789d57e873b5c.tar.gz gdb-1d1060427db0fe4332d5ae34487789d57e873b5c.tar.bz2 |
aarch64: Regularise FLD_* suffixes
Some FLD_imm* suffixes used a counting scheme such as FLD_immN,
FLD_immN_2, FLD_immN_3, etc., while others used the lsb as the
suffix. The latter seems more mnemonic, and was a big help
in doing the SME2 work.
Similarly, the _10 suffix on FLD_SME_size_10 was nonobvious.
Presumably it indicated a 2-bit field, but it actually starts
in bit 22.
Diffstat (limited to 'opcodes/aarch64-opc.h')
-rw-r--r-- | opcodes/aarch64-opc.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/opcodes/aarch64-opc.h b/opcodes/aarch64-opc.h index 2bbc81e..fc1f808 100644 --- a/opcodes/aarch64-opc.h +++ b/opcodes/aarch64-opc.h @@ -66,11 +66,11 @@ enum aarch64_field_kind FLD_shift, FLD_type, FLD_ldst_size, - FLD_imm6, - FLD_imm6_2, - FLD_imm4, - FLD_imm4_2, - FLD_imm4_3, + FLD_imm6_10, + FLD_imm6_15, + FLD_imm4_11, + FLD_imm4_0, + FLD_imm4_10, FLD_imm4_5, FLD_imm5, FLD_imm7, @@ -78,8 +78,8 @@ enum aarch64_field_kind FLD_imm9, FLD_imm12, FLD_imm14, - FLD_imm16, - FLD_imm16_2, + FLD_imm16_5, + FLD_imm16_0, FLD_imm26, FLD_imms, FLD_immr, @@ -153,7 +153,7 @@ enum aarch64_field_kind FLD_SVE_xs_22, FLD_SME_ZAda_2b, FLD_SME_ZAda_3b, - FLD_SME_size_10, + FLD_SME_size_22, FLD_SME_Q, FLD_SME_V, FLD_SME_Rv, |