[binutils][aarch64] Add SVE2 tests
authorMatthew Malcomson <matthew.malcomson@arm.com>
Thu, 9 May 2019 09:29:29 +0000 (10:29 +0100)
committerMatthew Malcomson <matthew.malcomson@arm.com>
Thu, 9 May 2019 09:29:51 +0000 (10:29 +0100)
commite111c7d1eb8404f29c45f3aa5dbc531062ebbd73
tree6e85950c386a282064ae0374411d9c34e03c40f0
parent42e6288f9f9d7dfe560d2bed1fb5e7f27ac3256f
[binutils][aarch64] Add SVE2 tests

Add tests that SVE2 instructions are encoded as they should be, and
tests that invalid instructions have their problems reported.

Also check that each sve2 cryptographic extension is required to use the
corresponding cryptographic instructions.

Finally, test to ensure that sve2 instructions using mnemonics that
exist in sve1 still need the sve2 feature to be used.

gas/ChangeLog:

2019-05-09  Matthew Malcomson  <matthew.malcomson@arm.com>

* testsuite/gas/aarch64/illegal-sve2-aes.d: New test.
* testsuite/gas/aarch64/illegal-sve2-bitperm.d: New test.
* testsuite/gas/aarch64/illegal-sve2-sha3.d: Test new instructions.
* testsuite/gas/aarch64/illegal-sve2-sm4.d: Test new instructions.
* testsuite/gas/aarch64/illegal-sve2-sve1ext.d: Test new instructions.
* testsuite/gas/aarch64/illegal-sve2-sve1ext.l: Test new instructions.
* testsuite/gas/aarch64/illegal-sve2.d: Test new instructions.
* testsuite/gas/aarch64/illegal-sve2.l: Test new instructions.
* testsuite/gas/aarch64/illegal-sve2.s: Test new instructions.
* testsuite/gas/aarch64/sve1-extended-sve2.s: New test.
* testsuite/gas/aarch64/sve2.d: Test new instructions.
* testsuite/gas/aarch64/sve2.s: Test new instructions.
13 files changed:
gas/ChangeLog
gas/testsuite/gas/aarch64/illegal-sve2-aes.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/illegal-sve2-bitperm.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/illegal-sve2-sha3.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/illegal-sve2-sm4.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/illegal-sve2-sve1ext.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/illegal-sve2-sve1ext.l [new file with mode: 0644]
gas/testsuite/gas/aarch64/illegal-sve2.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/illegal-sve2.l [new file with mode: 0644]
gas/testsuite/gas/aarch64/illegal-sve2.s [new file with mode: 0644]
gas/testsuite/gas/aarch64/sve1-extended-sve2.s [new file with mode: 0644]
gas/testsuite/gas/aarch64/sve2.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/sve2.s [new file with mode: 0644]