aboutsummaryrefslogtreecommitdiff
path: root/gdb/syscalls/arm-linux.py
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2016-06-22 16:49:07 +0100
committerRichard Sandiford <richard.sandiford@arm.com>2016-08-23 09:41:04 +0100
commiteb76614b8d287f8c01fbcb7b78f4fafaac058e8c (patch)
tree54c5ae7a1a1a1cb300996bf8be9b6384bdc31392 /gdb/syscalls/arm-linux.py
parentaeec16c7d1313f0ffac901fe41edf5fb0451ccac (diff)
downloadgdb-eb76614b8d287f8c01fbcb7b78f4fafaac058e8c.zip
gdb-eb76614b8d287f8c01fbcb7b78f4fafaac058e8c.tar.gz
gdb-eb76614b8d287f8c01fbcb7b78f4fafaac058e8c.tar.bz2
[AArch64][SVE 26/32] Add SVE MUL VL addressing modes
This patch adds support for addresses of the form: [<base>, #<offset>, MUL VL] This involves adding a new AARCH64_MOD_MUL_VL modifier, which is why I split it out from the other addressing modes. For LD2, LD3 and LD4, the offset must be a multiple of the structure size, so for LD3 the possible values are 0, 3, 6, .... The patch therefore extends value_aligned_p to handle non-power-of-2 alignments. include/opcode/ * aarch64.h (AARCH64_OPND_SVE_ADDR_RI_S4xVL): New aarch64_opnd. (AARCH64_OPND_SVE_ADDR_RI_S4x2xVL, AARCH64_OPND_SVE_ADDR_RI_S4x3xVL) (AARCH64_OPND_SVE_ADDR_RI_S4x4xVL, AARCH64_OPND_SVE_ADDR_RI_S6xVL) (AARCH64_OPND_SVE_ADDR_RI_S9xVL): Likewise. (AARCH64_MOD_MUL_VL): New aarch64_modifier_kind. opcodes/ * aarch64-tbl.h (AARCH64_OPERANDS): Add entries for new MUL VL operands. * aarch64-opc.c (aarch64_operand_modifiers): Initialize the AARCH64_MOD_MUL_VL entry. (value_aligned_p): Cope with non-power-of-two alignments. (operand_general_constraint_met_p): Handle the new MUL VL addresses. (print_immediate_offset_address): Likewise. (aarch64_print_operand): Likewise. * aarch64-opc-2.c: Regenerate. * aarch64-asm.h (ins_sve_addr_ri_s4xvl, ins_sve_addr_ri_s6xvl) (ins_sve_addr_ri_s9xvl): New inserters. * aarch64-asm.c (aarch64_ins_sve_addr_ri_s4xvl): New function. (aarch64_ins_sve_addr_ri_s6xvl): Likewise. (aarch64_ins_sve_addr_ri_s9xvl): Likewise. * aarch64-asm-2.c: Regenerate. * aarch64-dis.h (ext_sve_addr_ri_s4xvl, ext_sve_addr_ri_s6xvl) (ext_sve_addr_ri_s9xvl): New extractors. * aarch64-dis.c (aarch64_ext_sve_addr_reg_mul_vl): New function. (aarch64_ext_sve_addr_ri_s4xvl): Likewise. (aarch64_ext_sve_addr_ri_s6xvl): Likewise. (aarch64_ext_sve_addr_ri_s9xvl): Likewise. * aarch64-dis-2.c: Regenerate. gas/ * config/tc-aarch64.c (SHIFTED_MUL_VL): New parse_shift_mode. (parse_shift): Handle it. (parse_address_main): Handle the new MUL VL addresses. (parse_operands): Likewise. Change-Id: I2c76f713f90d7ae0c5365a516685b34d23356c60
Diffstat (limited to 'gdb/syscalls/arm-linux.py')
0 files changed, 0 insertions, 0 deletions