[AArch64] Add a "compnum" feature
authorRichard Sandiford <richard.sandiford@arm.com>
Fri, 24 Feb 2017 18:27:26 +0000 (18:27 +0000)
committerRichard Sandiford <richard.sandiford@arm.com>
Fri, 24 Feb 2017 18:27:26 +0000 (18:27 +0000)
commitf482d3044722558c3b16f54b33b0855bfbae36b1
tree7daa88fa21eaed9bb36de3a5df2b4ded773e50b8
parent6b4bf3bc355bea57be3c0f6f61008a23b9067a11
[AArch64] Add a "compnum" feature

This patch adds a named "compnum" feature for the ARMv8.3-A FCADD
and FCMLA extensions.

include/
* opcode/aarch64.h (AARCH64_FEATURE_COMPNUM): New macro.
(AARCH64_ARCH_V8_3): Include AARCH64_FEATURE_COMPNUM.

opcodes/
* aarch64-tbl.h (aarch64_feature_simd_v8_3): Replace with...
(aarch64_feature_compnum): ...this.
(SIMD_V8_3): Replace with...
(COMPNUM): ...this.
(CNUM_INSN): New macro.
(aarch64_opcode_table): Use it for the complex number instructions.

gas/
* doc/c-aarch64.texi: Add a "compnum" entry.
* config/tc-aarch64.c (aarch64_features): Likewise,
* testsuite/gas/aarch64/advsimd-compnum.s: New test.
* testsuite/gas/aarch64/advsimd-compnum.d: Likewise.
gas/ChangeLog
gas/config/tc-aarch64.c
gas/doc/c-aarch64.texi
gas/testsuite/gas/aarch64/advsimd-compnum.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/advsimd-compnum.s [new file with mode: 0644]
include/ChangeLog
include/opcode/aarch64.h
opcodes/ChangeLog
opcodes/aarch64-tbl.h