From 1f4cd317b6606fcb2a582a3fc1c1f9437ef7d7b6 Mon Sep 17 00:00:00 2001 From: Matthew Malcomson Date: Thu, 7 Nov 2019 17:22:45 +0000 Subject: [gas][aarch64] Add the v8.6 Data Gathering Hint mnemonic [10/X] Hi, This patch is part of a series that adds support for Armv8.6-A to binutils. In this last patch, the new Data Gathering Hint mnemonic is introduced. Committed on behalf of Mihail Ionescu. gas/ChangeLog: 2019-11-07 Mihail Ionescu * testsuite/gas/aarch64/dgh.s: New test. * testsuite/gas/aarch64/dgh.d: New test. opcodes/ChangeLog: 2019-11-07 Mihail Ionescu * opcodes/aarch64-tbl.h (V8_6_INSN): New macro for v8.6 instructions. (aarch64_opcode_table): Add data gathering hint mnemonic. * opcodes/aarch64-dis-2.c: Account for new instruction. Is it ok for trunk? Regards, Mihail --- gas/ChangeLog | 5 +++++ gas/testsuite/gas/aarch64/dgh.d | 11 +++++++++++ gas/testsuite/gas/aarch64/dgh.s | 4 ++++ 3 files changed, 20 insertions(+) create mode 100644 gas/testsuite/gas/aarch64/dgh.d create mode 100644 gas/testsuite/gas/aarch64/dgh.s (limited to 'gas') diff --git a/gas/ChangeLog b/gas/ChangeLog index 2af2901..6376ce1 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,10 @@ 2019-11-07 Mihail Ionescu + * testsuite/gas/aarch64/dgh.s: New test. + * testsuite/gas/aarch64/dgh.d: New test. + +2019-11-07 Mihail Ionescu + * config/tc-arm.c (arm_ext_i8mm): New feature set. (do_vusdot): New. (do_vsudot): New. diff --git a/gas/testsuite/gas/aarch64/dgh.d b/gas/testsuite/gas/aarch64/dgh.d new file mode 100644 index 0000000..6e19601 --- /dev/null +++ b/gas/testsuite/gas/aarch64/dgh.d @@ -0,0 +1,11 @@ +#name: V8.6 Data Gathering Hint +#as: -march=armv8.6-a +#objdump: -dr + +.* file format .* + +Disassembly of section \.text: + +0000000000000000 <\.text>: + *[0-9a-f]*: d50320df hint #0x6 + *[0-9a-f]*: d50320df hint #0x6 diff --git a/gas/testsuite/gas/aarch64/dgh.s b/gas/testsuite/gas/aarch64/dgh.s new file mode 100644 index 0000000..6470cd0 --- /dev/null +++ b/gas/testsuite/gas/aarch64/dgh.s @@ -0,0 +1,4 @@ +# Test for the V8.6-a Data Gathering Hint instruction + +dgh +hint #6 -- cgit v1.1