[AArch64] Fix feature dependencies for +simd and +crypto
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Fri, 11 Nov 2016 10:14:31 +0000 (10:14 +0000)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Fri, 11 Nov 2016 10:14:31 +0000 (10:14 +0000)
commitfa09f4ea584e1bc33036e9ef82142db92b31da7c
tree1fec5c9053555599e92f6697067006ad7c3038b2
parent7103ad7639b7ed80bec170404185a8e39079446b
[AArch64] Fix feature dependencies for +simd and +crypto

According to the gas manual, +simd implies +fp and +crypto implies +simd.
Make sure +nofp turns +simd, +crypto and +fp16 off.

gas/
2016-11-07  Szabolcs Nagy  <szabolcs.nagy@arm.com>

* config/tc-aarch64.c (aarch64_features): Fix "simd" and "crypto".
* testsuite/gas/aarch64/illegal-crypto-nofp.d: New.
* testsuite/gas/aarch64/illegal-crypto-nofp.l: New.
* testsuite/gas/aarch64/illegal-fp16-nofp.d: New.
* testsuite/gas/aarch64/illegal-fp16-nofp.l: New.
* testsuite/gas/aarch64/illegal-fp16-nofp.s: New.
gas/ChangeLog
gas/config/tc-aarch64.c
gas/testsuite/gas/aarch64/illegal-crypto-nofp.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/illegal-crypto-nofp.l [new file with mode: 0644]
gas/testsuite/gas/aarch64/illegal-fp16-nofp.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/illegal-fp16-nofp.l [new file with mode: 0644]
gas/testsuite/gas/aarch64/illegal-fp16-nofp.s [new file with mode: 0644]