aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorVictor Do Nascimento <victor.donascimento@arm.com>2023-10-30 11:47:23 +0000
committerVictor Do Nascimento <victor.donascimento@arm.com>2023-11-07 21:53:59 +0000
commit6219f9dae7d04b52ef171e0aa3341bf977b05a68 (patch)
treed228c4c76f5941fbcfa736fcc3584f0d7d523893 /gas/config
parentecd4c78dddefe41d9fc7b947fdf4e76b743b2b02 (diff)
downloadgdb-6219f9dae7d04b52ef171e0aa3341bf977b05a68.zip
gdb-6219f9dae7d04b52ef171e0aa3341bf977b05a68.tar.gz
gdb-6219f9dae7d04b52ef171e0aa3341bf977b05a68.tar.bz2
aarch64: Add LSE128 instruction operand support
Given the particular encoding of the LSE128 instructions, create the necessary shared input+output operand register description and handling in the code to allow for the encoding of the LSE128 128-bit atomic operations. gas/ChangeLog: * config/tc-aarch64.c (parse_operands): include/ChangeLog: * opcode/aarch64.h (enum aarch64_opnd): opcodes/ChangeLog: * aarch64-opc.c (fields): (aarch64_print_operand): * aarch64-opc.h (enum aarch64_field_kind): * aarch64-tbl.h (AARCH64_OPERANDS):
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-aarch64.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gas/config/tc-aarch64.c b/gas/config/tc-aarch64.c
index c6566e1..4367455 100644
--- a/gas/config/tc-aarch64.c
+++ b/gas/config/tc-aarch64.c
@@ -7863,6 +7863,11 @@ parse_operands (char *str, const aarch64_opcode *opcode)
po_char_or_fail ('!');
break;
+ case AARCH64_OPND_LSE128_Rt:
+ case AARCH64_OPND_LSE128_Rt2:
+ po_int_fp_reg_or_fail (REG_TYPE_R_64);
+ break;
+
default:
as_fatal (_("unhandled operand code %d"), operands[i]);
}