[AArch64] Add separate feature flag for weaker release consistent load insns
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Wed, 4 Jan 2017 12:27:10 +0000 (12:27 +0000)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Wed, 4 Jan 2017 12:31:08 +0000 (12:31 +0000)
commitd74d4880e23263bac3690bcb641af56bd13036e6
tree728a2c19b7ef9f5fc7eda05e30f7a77acd1dd309
parent10ab38d930db6159b93082dfe5e41761bdc0d70b
[AArch64] Add separate feature flag for weaker release consistent load insns

The weaker release consistency support of ARMv8.3-A is allowed as an optional
extension for ARMv8.2-A, so separate command line option and feature flag is
added: -march=armv8.2-a+rcpc turns LDAPR, LDAPRB, LDAPRH instructions on.

opcodes/
* aarch64-tbl.h (RCPC, RCPC_INSN): Define.
(aarch64_opcode_table): Use RCPC_INSN.

include/
* opcode/aarch64.h (AARCH64_FEATURE_RCPC): Define.
(AARCH64_ARCH_V8_3): Update.

gas/
* config/tc-aarch64.c (aarch64_features): Add rcpc.
* doc/c-aarch64.texi (AArch64 Extensions): Document rcpc.
* testsuite/gas/aarch64/ldst-exclusive-armv8_3.d: Rename to ...
* testsuite/gas/aarch64/ldst-rcpc.d: This.
* testsuite/gas/aarch64/ldst-exclusive-armv8_3.s: Rename to ...
* testsuite/gas/aarch64/ldst-rcpc.s: This.
* testsuite/gas/aarch64/ldst-rcpc-armv8_2.d: New test.
gas/ChangeLog
gas/config/tc-aarch64.c
gas/testsuite/gas/aarch64/ldst-exclusive-armv8_3.d [deleted file]
gas/testsuite/gas/aarch64/ldst-exclusive-armv8_3.s [deleted file]
gas/testsuite/gas/aarch64/ldst-rcpc-armv8_2.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/ldst-rcpc.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/ldst-rcpc.s [new file with mode: 0644]
include/ChangeLog
include/opcode/aarch64.h
opcodes/ChangeLog
opcodes/aarch64-tbl.h