diff options
author | Sudi Das <sudi.das@arm.com> | 2019-01-25 14:15:45 +0000 |
---|---|---|
committer | Tamar Christina <tamar.christina@arm.com> | 2019-01-25 15:28:03 +0000 |
commit | 824d332fac5c53d943be4e5607c991bb5c4ef9ce (patch) | |
tree | dc9093c45e8e7eba4484e60684c86a4b0c8d0f9d /gas/testsuite/gas/aarch64/armv8_5-a-memtag.s | |
parent | 64485cb2108df2a4e1f0fcc8b97091fe48da4654 (diff) | |
download | binutils-gdb-824d332fac5c53d943be4e5607c991bb5c4ef9ce.tar.gz |
AArch64: Add new STZGM instruction for Armv8.5-A Memory Tagging Extension.
This patch is part of a series of patches to introduce a few changes to the
Armv8.5-A Memory Tagging Extension. This patch adds the new STZGM instruction.
STGZM Xt, [<Xn|SP>]
Committed on behalf of Sudakshina Das.
*** gas/ChangeLog ***
* testsuite/gas/aarch64/armv8_5-a-memtag.d: New tests for stzgm.
* testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
* testsuite/gas/aarch64/illegal-memtag.l: Likewise.
* testsuite/gas/aarch64/illegal-memtag.s: Likewise.
*** opcodes/ChangeLog ***
* aarch64-asm-2.c: Regenerated.
* aarch64-dis-2.c: Likewise.
* aarch64-opc-2.c: Likewise.
* aarch64-tbl.h (aarch64_opcode): Add new stzgm.
(cherry picked from commit 20a4ca5524b9bde2f5dfb19661570c25a3b05e5d)
Diffstat (limited to 'gas/testsuite/gas/aarch64/armv8_5-a-memtag.s')
-rw-r--r-- | gas/testsuite/gas/aarch64/armv8_5-a-memtag.s | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gas/testsuite/gas/aarch64/armv8_5-a-memtag.s b/gas/testsuite/gas/aarch64/armv8_5-a-memtag.s index 62c9436d78f..b8cab9f0eff 100644 --- a/gas/testsuite/gas/aarch64/armv8_5-a-memtag.s +++ b/gas/testsuite/gas/aarch64/armv8_5-a-memtag.s @@ -30,6 +30,15 @@ func: \op [sp], #-4096 .endm + .macro expand_ldg_bulk op + \op x0, [x0] + \op x27, [x0] + \op x0, [x27] + \op x25, [x27] + \op x0, [sp] + \op xzr, [x0] + .endm + # IRG expand_3_reg irg irg sp, x0 @@ -98,3 +107,5 @@ func: ldg xzr, [x0, #0] ldg x0, [x0, #4080] ldg x0, [x0, #-4096] + + expand_ldg_bulk stzgm |