aarch64: testsuite: move sysreg tests into sysreg sub-directory

Message ID ee1274cf-1190-4d33-b1ef-d7ec701f916a@arm.com
State Committed
Headers
Series aarch64: testsuite: move sysreg tests into sysreg sub-directory |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_binutils_build--master-arm success Testing passed
linaro-tcwg-bot/tcwg_binutils_build--master-aarch64 success Testing passed
linaro-tcwg-bot/tcwg_binutils_check--master-aarch64 success Testing passed
linaro-tcwg-bot/tcwg_binutils_check--master-arm success Testing passed

Commit Message

Matthieu Longo Feb. 19, 2024, 11:54 a.m. UTC
  Hi,

This patch moves the existing sysreg tests for AArch64 into a subdirectory
(sysreg). The number of test files related to system registers grew
relatively big with time and makes the browsing of those files difficult.
Moreover, the difference of naming for the failure, working, and
feature-specific scenarios causes the tests not to appear next to one
another in the exploration tree when it is ordered alphabetically.

Regression tested on the aarch64-none-elf, and and no regressions was found.

Ok for binutils-master? I don't have commit access so I need someone to 
commit on my behalf.

Regards,
Matthieu.
From e92d9d438ebdb8723fc6c992aae162503ba20bf7 Mon Sep 17 00:00:00 2001
From: Matthieu Longo <matthieu.longo@arm.com>
Date: Thu, 15 Feb 2024 14:39:43 +0000
Subject: [PATCH 1/3] aarch64: testsuite: move sysreg tests into sysreg
 sub-directory

This patch moves the existing sysreg tests for AArch64 into a subdirectory
(sysreg). The number of test files related to system registers grew
relatively big with time and makes the browsing of those files difficult.
Moreover, the difference of naming for the failure, working, and
feature-specific scenarios causes the tests not to appear next to one
another in the exploration tree when it is ordered alphabetically.
---
 .../gas/aarch64/sysreg/aarch64-sysreg.exp     | 23 +++++++++++++++++++
 .../{ => sysreg}/armv8_8-a-sysregs-invalid.d  |  0
 .../{ => sysreg}/armv8_8-a-sysregs-invalid.l  |  0
 .../{ => sysreg}/armv8_8-a-sysregs-invalid.s  |  0
 .../aarch64/{ => sysreg}/armv8_8-a-sysregs.d  |  0
 .../aarch64/{ => sysreg}/armv8_8-a-sysregs.s  |  0
 .../{ => sysreg}/armv8_9-a-sysregs-bad.d      |  0
 .../{ => sysreg}/armv8_9-a-sysregs-bad.l      |  0
 .../aarch64/{ => sysreg}/armv8_9-a-sysregs.d  |  0
 .../aarch64/{ => sysreg}/armv8_9-a-sysregs.s  |  0
 .../aarch64/{ => sysreg}/gcs-sysregs-bad.d    |  0
 .../aarch64/{ => sysreg}/gcs-sysregs-bad.l    |  0
 .../gas/aarch64/{ => sysreg}/gcs-sysregs.d    |  0
 .../gas/aarch64/{ => sysreg}/gcs-sysregs.s    |  0
 .../aarch64/{ => sysreg}/illegal-sysreg-2.d   |  0
 .../aarch64/{ => sysreg}/illegal-sysreg-2.l   |  0
 .../aarch64/{ => sysreg}/illegal-sysreg-2.s   |  0
 .../aarch64/{ => sysreg}/illegal-sysreg-3.d   |  0
 .../aarch64/{ => sysreg}/illegal-sysreg-3.l   |  0
 .../aarch64/{ => sysreg}/illegal-sysreg-4.d   |  0
 .../aarch64/{ => sysreg}/illegal-sysreg-4.l   |  0
 .../aarch64/{ => sysreg}/illegal-sysreg-4b.d  |  0
 .../aarch64/{ => sysreg}/illegal-sysreg-4b.l  |  0
 .../aarch64/{ => sysreg}/illegal-sysreg-4b.s  |  0
 .../aarch64/{ => sysreg}/illegal-sysreg-5.d   |  0
 .../aarch64/{ => sysreg}/illegal-sysreg-5.l   |  0
 .../aarch64/{ => sysreg}/illegal-sysreg-7.d   |  0
 .../aarch64/{ => sysreg}/illegal-sysreg-7.l   |  0
 .../aarch64/{ => sysreg}/illegal-sysreg-7.s   |  0
 .../aarch64/{ => sysreg}/illegal-sysreg-8.d   |  0
 .../aarch64/{ => sysreg}/illegal-sysreg-8.l   |  0
 .../aarch64/{ => sysreg}/illegal-sysreg-8.s   |  0
 .../aarch64/{ => sysreg}/illegal-sysreg-8b.d  |  0
 .../aarch64/{ => sysreg}/illegal-sysreg-8b.l  |  0
 .../aarch64/{ => sysreg}/illegal-sysreg-8b.s  |  0
 .../aarch64/{ => sysreg}/illegal-sysreg128.d  |  0
 .../aarch64/{ => sysreg}/illegal-sysreg128.l  |  0
 .../aarch64/{ => sysreg}/illegal-sysreg128.s  |  0
 .../{ => sysreg}/invalid-sysreg-assert.d      |  0
 .../{ => sysreg}/invalid-sysreg-assert.l      |  0
 .../{ => sysreg}/invalid-sysreg-assert.s      |  0
 .../aarch64/{ => sysreg}/sme-sysreg-illegal.d |  0
 .../aarch64/{ => sysreg}/sme-sysreg-illegal.l |  0
 .../aarch64/{ => sysreg}/sme-sysreg-illegal.s |  0
 .../gas/aarch64/{ => sysreg}/sme-sysreg.d     |  0
 .../gas/aarch64/{ => sysreg}/sme-sysreg.s     |  0
 .../aarch64/{ => sysreg}/sve-sysreg-invalid.d |  0
 .../aarch64/{ => sysreg}/sve-sysreg-invalid.l |  0
 .../gas/aarch64/{ => sysreg}/sve-sysreg.d     |  0
 .../gas/aarch64/{ => sysreg}/sve-sysreg.s     |  0
 .../gas/aarch64/{ => sysreg}/sysreg-1.d       |  0
 .../gas/aarch64/{ => sysreg}/sysreg-1.s       |  0
 .../gas/aarch64/{ => sysreg}/sysreg-2.d       |  0
 .../gas/aarch64/{ => sysreg}/sysreg-2.s       |  0
 .../gas/aarch64/{ => sysreg}/sysreg-3.d       |  0
 .../gas/aarch64/{ => sysreg}/sysreg-3.s       |  0
 .../gas/aarch64/{ => sysreg}/sysreg-4.d       |  0
 .../gas/aarch64/{ => sysreg}/sysreg-4.s       |  0
 .../gas/aarch64/{ => sysreg}/sysreg-5.s       |  0
 .../gas/aarch64/{ => sysreg}/sysreg-6.d       |  0
 .../gas/aarch64/{ => sysreg}/sysreg-6.s       |  0
 .../gas/aarch64/{ => sysreg}/sysreg-7.d       |  0
 .../gas/aarch64/{ => sysreg}/sysreg-7.s       |  0
 .../gas/aarch64/{ => sysreg}/sysreg-8.d       |  0
 .../gas/aarch64/{ => sysreg}/sysreg-8.s       |  0
 .../aarch64/{ => sysreg}/sysreg-diagnostic.d  |  0
 .../aarch64/{ => sysreg}/sysreg-diagnostic.l  |  0
 .../aarch64/{ => sysreg}/sysreg-diagnostic.s  |  0
 .../gas/aarch64/{ => sysreg}/sysreg.d         |  0
 .../gas/aarch64/{ => sysreg}/sysreg.s         |  0
 .../gas/aarch64/{ => sysreg}/sysreg128.d      |  0
 .../gas/aarch64/{ => sysreg}/sysreg128.s      |  0
 .../aarch64/{ => sysreg}/v8-r-bad-sysregs.d   |  0
 .../aarch64/{ => sysreg}/v8-r-bad-sysregs.l   |  0
 .../aarch64/{ => sysreg}/v8-r-bad-sysregs.s   |  0
 .../{ => sysreg}/v8-r-sysregs-need-arch.d     |  0
 .../{ => sysreg}/v8-r-sysregs-need-arch.l     |  0
 .../gas/aarch64/{ => sysreg}/v8-r-sysregs.d   |  0
 .../gas/aarch64/{ => sysreg}/v8-r-sysregs.s   |  0
 79 files changed, 23 insertions(+)
 create mode 100644 gas/testsuite/gas/aarch64/sysreg/aarch64-sysreg.exp
 rename gas/testsuite/gas/aarch64/{ => sysreg}/armv8_8-a-sysregs-invalid.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/armv8_8-a-sysregs-invalid.l (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/armv8_8-a-sysregs-invalid.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/armv8_8-a-sysregs.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/armv8_8-a-sysregs.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/armv8_9-a-sysregs-bad.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/armv8_9-a-sysregs-bad.l (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/armv8_9-a-sysregs.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/armv8_9-a-sysregs.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/gcs-sysregs-bad.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/gcs-sysregs-bad.l (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/gcs-sysregs.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/gcs-sysregs.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg-2.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg-2.l (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg-2.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg-3.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg-3.l (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg-4.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg-4.l (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg-4b.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg-4b.l (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg-4b.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg-5.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg-5.l (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg-7.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg-7.l (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg-7.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg-8.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg-8.l (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg-8.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg-8b.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg-8b.l (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg-8b.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg128.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg128.l (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg128.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/invalid-sysreg-assert.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/invalid-sysreg-assert.l (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/invalid-sysreg-assert.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sme-sysreg-illegal.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sme-sysreg-illegal.l (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sme-sysreg-illegal.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sme-sysreg.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sme-sysreg.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sve-sysreg-invalid.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sve-sysreg-invalid.l (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sve-sysreg.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sve-sysreg.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sysreg-1.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sysreg-1.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sysreg-2.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sysreg-2.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sysreg-3.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sysreg-3.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sysreg-4.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sysreg-4.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sysreg-5.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sysreg-6.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sysreg-6.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sysreg-7.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sysreg-7.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sysreg-8.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sysreg-8.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sysreg-diagnostic.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sysreg-diagnostic.l (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sysreg-diagnostic.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sysreg.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sysreg.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sysreg128.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sysreg128.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/v8-r-bad-sysregs.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/v8-r-bad-sysregs.l (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/v8-r-bad-sysregs.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/v8-r-sysregs-need-arch.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/v8-r-sysregs-need-arch.l (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/v8-r-sysregs.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/v8-r-sysregs.s (100%)
  

Comments

Matthieu Longo Feb. 21, 2024, 10:37 a.m. UTC | #1
Hi,

Rebase of the previous patch on master due to conflicts.

Regards,
Matthieu

On 2024-02-19 11:54, Matthieu Longo wrote:
> Hi,
> 
> This patch moves the existing sysreg tests for AArch64 into a subdirectory
> (sysreg). The number of test files related to system registers grew
> relatively big with time and makes the browsing of those files difficult.
> Moreover, the difference of naming for the failure, working, and
> feature-specific scenarios causes the tests not to appear next to one
> another in the exploration tree when it is ordered alphabetically.
> 
> Regression tested on the aarch64-none-elf, and and no regressions was found.
> 
> Ok for binutils-master? I don't have commit access so I need someone to
> commit on my behalf.
> 
> Regards,
> Matthieu.
From 4b37582129f7a57954b74066b86e1425ff0b8390 Mon Sep 17 00:00:00 2001
From: Matthieu Longo <matthieu.longo@arm.com>
Date: Thu, 15 Feb 2024 14:39:43 +0000
Subject: aarch64: testsuite: move sysreg tests into sysreg sub-directory

This patch moves the existing sysreg tests for AArch64 into a subdirectory
(sysreg). The number of test files related to system registers grew
relatively big with time and makes the browsing of those files difficult.
Moreover, the difference of naming for the failure, working, and
feature-specific scenarios causes the tests not to appear next to one
another in the exploration tree when it is ordered alphabetically.
---
 .../gas/aarch64/sysreg/aarch64-sysreg.exp     | 23 +++++++++++++++++++
 .../{ => sysreg}/armv8_8-a-sysregs-invalid.d  |  0
 .../{ => sysreg}/armv8_8-a-sysregs-invalid.l  |  0
 .../{ => sysreg}/armv8_8-a-sysregs-invalid.s  |  0
 .../aarch64/{ => sysreg}/armv8_8-a-sysregs.d  |  0
 .../aarch64/{ => sysreg}/armv8_8-a-sysregs.s  |  0
 .../{ => sysreg}/armv8_9-a-sysregs-bad.d      |  0
 .../{ => sysreg}/armv8_9-a-sysregs-bad.l      |  0
 .../aarch64/{ => sysreg}/armv8_9-a-sysregs.d  |  0
 .../aarch64/{ => sysreg}/armv8_9-a-sysregs.s  |  0
 .../aarch64/{ => sysreg}/gcs-sysregs-bad.d    |  0
 .../aarch64/{ => sysreg}/gcs-sysregs-bad.l    |  0
 .../gas/aarch64/{ => sysreg}/gcs-sysregs.d    |  0
 .../gas/aarch64/{ => sysreg}/gcs-sysregs.s    |  0
 .../aarch64/{ => sysreg}/illegal-sysreg-2.d   |  0
 .../aarch64/{ => sysreg}/illegal-sysreg-2.l   |  0
 .../aarch64/{ => sysreg}/illegal-sysreg-2.s   |  0
 .../aarch64/{ => sysreg}/illegal-sysreg-3.d   |  0
 .../aarch64/{ => sysreg}/illegal-sysreg-3.l   |  0
 .../aarch64/{ => sysreg}/illegal-sysreg-4.d   |  0
 .../aarch64/{ => sysreg}/illegal-sysreg-4.l   |  0
 .../aarch64/{ => sysreg}/illegal-sysreg-4b.d  |  0
 .../aarch64/{ => sysreg}/illegal-sysreg-4b.l  |  0
 .../aarch64/{ => sysreg}/illegal-sysreg-4b.s  |  0
 .../aarch64/{ => sysreg}/illegal-sysreg-5.d   |  0
 .../aarch64/{ => sysreg}/illegal-sysreg-5.l   |  0
 .../aarch64/{ => sysreg}/illegal-sysreg-7.d   |  0
 .../aarch64/{ => sysreg}/illegal-sysreg-7.l   |  0
 .../aarch64/{ => sysreg}/illegal-sysreg-7.s   |  0
 .../aarch64/{ => sysreg}/illegal-sysreg-8.d   |  0
 .../aarch64/{ => sysreg}/illegal-sysreg-8.l   |  0
 .../aarch64/{ => sysreg}/illegal-sysreg-8.s   |  0
 .../aarch64/{ => sysreg}/illegal-sysreg-8b.d  |  0
 .../aarch64/{ => sysreg}/illegal-sysreg-8b.l  |  0
 .../aarch64/{ => sysreg}/illegal-sysreg-8b.s  |  0
 .../aarch64/{ => sysreg}/illegal-sysreg128.d  |  0
 .../aarch64/{ => sysreg}/illegal-sysreg128.l  |  0
 .../aarch64/{ => sysreg}/illegal-sysreg128.s  |  0
 .../{ => sysreg}/invalid-sysreg-assert.d      |  0
 .../{ => sysreg}/invalid-sysreg-assert.l      |  0
 .../{ => sysreg}/invalid-sysreg-assert.s      |  0
 .../aarch64/{ => sysreg}/sme-sysreg-illegal.d |  0
 .../aarch64/{ => sysreg}/sme-sysreg-illegal.l |  0
 .../aarch64/{ => sysreg}/sme-sysreg-illegal.s |  0
 .../gas/aarch64/{ => sysreg}/sme-sysreg.d     |  0
 .../gas/aarch64/{ => sysreg}/sme-sysreg.s     |  0
 .../aarch64/{ => sysreg}/sve-sysreg-invalid.d |  0
 .../aarch64/{ => sysreg}/sve-sysreg-invalid.l |  0
 .../gas/aarch64/{ => sysreg}/sve-sysreg.d     |  0
 .../gas/aarch64/{ => sysreg}/sve-sysreg.s     |  0
 .../gas/aarch64/{ => sysreg}/sysreg-1.d       |  0
 .../gas/aarch64/{ => sysreg}/sysreg-1.s       |  0
 .../gas/aarch64/{ => sysreg}/sysreg-2.d       |  0
 .../gas/aarch64/{ => sysreg}/sysreg-2.s       |  0
 .../gas/aarch64/{ => sysreg}/sysreg-3.d       |  0
 .../gas/aarch64/{ => sysreg}/sysreg-3.s       |  0
 .../gas/aarch64/{ => sysreg}/sysreg-4.d       |  0
 .../gas/aarch64/{ => sysreg}/sysreg-4.s       |  0
 .../gas/aarch64/{ => sysreg}/sysreg-5.s       |  0
 .../gas/aarch64/{ => sysreg}/sysreg-6.d       |  0
 .../gas/aarch64/{ => sysreg}/sysreg-6.s       |  0
 .../gas/aarch64/{ => sysreg}/sysreg-7.d       |  0
 .../gas/aarch64/{ => sysreg}/sysreg-7.s       |  0
 .../gas/aarch64/{ => sysreg}/sysreg-8.d       |  0
 .../gas/aarch64/{ => sysreg}/sysreg-8.s       |  0
 .../aarch64/{ => sysreg}/sysreg-diagnostic.d  |  0
 .../aarch64/{ => sysreg}/sysreg-diagnostic.l  |  0
 .../aarch64/{ => sysreg}/sysreg-diagnostic.s  |  0
 .../gas/aarch64/{ => sysreg}/sysreg.d         |  0
 .../gas/aarch64/{ => sysreg}/sysreg.s         |  0
 .../gas/aarch64/{ => sysreg}/sysreg128.d      |  0
 .../gas/aarch64/{ => sysreg}/sysreg128.s      |  0
 .../aarch64/{ => sysreg}/v8-r-bad-sysregs.d   |  0
 .../aarch64/{ => sysreg}/v8-r-bad-sysregs.l   |  0
 .../aarch64/{ => sysreg}/v8-r-bad-sysregs.s   |  0
 .../{ => sysreg}/v8-r-sysregs-need-arch.d     |  0
 .../{ => sysreg}/v8-r-sysregs-need-arch.l     |  0
 .../gas/aarch64/{ => sysreg}/v8-r-sysregs.d   |  0
 .../gas/aarch64/{ => sysreg}/v8-r-sysregs.s   |  0
 79 files changed, 23 insertions(+)
 create mode 100644 gas/testsuite/gas/aarch64/sysreg/aarch64-sysreg.exp
 rename gas/testsuite/gas/aarch64/{ => sysreg}/armv8_8-a-sysregs-invalid.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/armv8_8-a-sysregs-invalid.l (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/armv8_8-a-sysregs-invalid.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/armv8_8-a-sysregs.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/armv8_8-a-sysregs.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/armv8_9-a-sysregs-bad.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/armv8_9-a-sysregs-bad.l (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/armv8_9-a-sysregs.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/armv8_9-a-sysregs.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/gcs-sysregs-bad.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/gcs-sysregs-bad.l (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/gcs-sysregs.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/gcs-sysregs.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg-2.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg-2.l (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg-2.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg-3.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg-3.l (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg-4.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg-4.l (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg-4b.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg-4b.l (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg-4b.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg-5.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg-5.l (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg-7.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg-7.l (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg-7.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg-8.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg-8.l (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg-8.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg-8b.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg-8b.l (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg-8b.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg128.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg128.l (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/illegal-sysreg128.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/invalid-sysreg-assert.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/invalid-sysreg-assert.l (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/invalid-sysreg-assert.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sme-sysreg-illegal.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sme-sysreg-illegal.l (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sme-sysreg-illegal.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sme-sysreg.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sme-sysreg.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sve-sysreg-invalid.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sve-sysreg-invalid.l (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sve-sysreg.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sve-sysreg.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sysreg-1.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sysreg-1.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sysreg-2.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sysreg-2.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sysreg-3.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sysreg-3.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sysreg-4.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sysreg-4.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sysreg-5.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sysreg-6.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sysreg-6.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sysreg-7.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sysreg-7.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sysreg-8.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sysreg-8.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sysreg-diagnostic.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sysreg-diagnostic.l (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sysreg-diagnostic.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sysreg.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sysreg.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sysreg128.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/sysreg128.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/v8-r-bad-sysregs.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/v8-r-bad-sysregs.l (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/v8-r-bad-sysregs.s (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/v8-r-sysregs-need-arch.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/v8-r-sysregs-need-arch.l (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/v8-r-sysregs.d (100%)
 rename gas/testsuite/gas/aarch64/{ => sysreg}/v8-r-sysregs.s (100%)

diff --git a/gas/testsuite/gas/aarch64/sysreg/aarch64-sysreg.exp b/gas/testsuite/gas/aarch64/sysreg/aarch64-sysreg.exp
new file mode 100644
index 00000000000..a60dddaf1a8
--- /dev/null
+++ b/gas/testsuite/gas/aarch64/sysreg/aarch64-sysreg.exp
@@ -0,0 +1,23 @@
+# Copyright (C) 2024 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
+
+#
+# Some AArch64 tests for system registers
+#
+
+if {[istarget aarch64*-*-*]} {
+    run_dump_tests [lsort [glob -nocomplain $srcdir/$subdir/*.d]]
+}
diff --git a/gas/testsuite/gas/aarch64/armv8_8-a-sysregs-invalid.d b/gas/testsuite/gas/aarch64/sysreg/armv8_8-a-sysregs-invalid.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/armv8_8-a-sysregs-invalid.d
rename to gas/testsuite/gas/aarch64/sysreg/armv8_8-a-sysregs-invalid.d
diff --git a/gas/testsuite/gas/aarch64/armv8_8-a-sysregs-invalid.l b/gas/testsuite/gas/aarch64/sysreg/armv8_8-a-sysregs-invalid.l
similarity index 100%
rename from gas/testsuite/gas/aarch64/armv8_8-a-sysregs-invalid.l
rename to gas/testsuite/gas/aarch64/sysreg/armv8_8-a-sysregs-invalid.l
diff --git a/gas/testsuite/gas/aarch64/armv8_8-a-sysregs-invalid.s b/gas/testsuite/gas/aarch64/sysreg/armv8_8-a-sysregs-invalid.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/armv8_8-a-sysregs-invalid.s
rename to gas/testsuite/gas/aarch64/sysreg/armv8_8-a-sysregs-invalid.s
diff --git a/gas/testsuite/gas/aarch64/armv8_8-a-sysregs.d b/gas/testsuite/gas/aarch64/sysreg/armv8_8-a-sysregs.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/armv8_8-a-sysregs.d
rename to gas/testsuite/gas/aarch64/sysreg/armv8_8-a-sysregs.d
diff --git a/gas/testsuite/gas/aarch64/armv8_8-a-sysregs.s b/gas/testsuite/gas/aarch64/sysreg/armv8_8-a-sysregs.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/armv8_8-a-sysregs.s
rename to gas/testsuite/gas/aarch64/sysreg/armv8_8-a-sysregs.s
diff --git a/gas/testsuite/gas/aarch64/armv8_9-a-sysregs-bad.d b/gas/testsuite/gas/aarch64/sysreg/armv8_9-a-sysregs-bad.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/armv8_9-a-sysregs-bad.d
rename to gas/testsuite/gas/aarch64/sysreg/armv8_9-a-sysregs-bad.d
diff --git a/gas/testsuite/gas/aarch64/armv8_9-a-sysregs-bad.l b/gas/testsuite/gas/aarch64/sysreg/armv8_9-a-sysregs-bad.l
similarity index 100%
rename from gas/testsuite/gas/aarch64/armv8_9-a-sysregs-bad.l
rename to gas/testsuite/gas/aarch64/sysreg/armv8_9-a-sysregs-bad.l
diff --git a/gas/testsuite/gas/aarch64/armv8_9-a-sysregs.d b/gas/testsuite/gas/aarch64/sysreg/armv8_9-a-sysregs.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/armv8_9-a-sysregs.d
rename to gas/testsuite/gas/aarch64/sysreg/armv8_9-a-sysregs.d
diff --git a/gas/testsuite/gas/aarch64/armv8_9-a-sysregs.s b/gas/testsuite/gas/aarch64/sysreg/armv8_9-a-sysregs.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/armv8_9-a-sysregs.s
rename to gas/testsuite/gas/aarch64/sysreg/armv8_9-a-sysregs.s
diff --git a/gas/testsuite/gas/aarch64/gcs-sysregs-bad.d b/gas/testsuite/gas/aarch64/sysreg/gcs-sysregs-bad.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/gcs-sysregs-bad.d
rename to gas/testsuite/gas/aarch64/sysreg/gcs-sysregs-bad.d
diff --git a/gas/testsuite/gas/aarch64/gcs-sysregs-bad.l b/gas/testsuite/gas/aarch64/sysreg/gcs-sysregs-bad.l
similarity index 100%
rename from gas/testsuite/gas/aarch64/gcs-sysregs-bad.l
rename to gas/testsuite/gas/aarch64/sysreg/gcs-sysregs-bad.l
diff --git a/gas/testsuite/gas/aarch64/gcs-sysregs.d b/gas/testsuite/gas/aarch64/sysreg/gcs-sysregs.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/gcs-sysregs.d
rename to gas/testsuite/gas/aarch64/sysreg/gcs-sysregs.d
diff --git a/gas/testsuite/gas/aarch64/gcs-sysregs.s b/gas/testsuite/gas/aarch64/sysreg/gcs-sysregs.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/gcs-sysregs.s
rename to gas/testsuite/gas/aarch64/sysreg/gcs-sysregs.s
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg-2.d b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-2.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg-2.d
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-2.d
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg-2.l b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-2.l
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg-2.l
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-2.l
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg-2.s b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-2.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg-2.s
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-2.s
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg-3.d b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-3.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg-3.d
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-3.d
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg-3.l b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-3.l
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg-3.l
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-3.l
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg-4.d b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-4.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg-4.d
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-4.d
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg-4.l b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-4.l
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg-4.l
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-4.l
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg-4b.d b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-4b.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg-4b.d
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-4b.d
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg-4b.l b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-4b.l
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg-4b.l
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-4b.l
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg-4b.s b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-4b.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg-4b.s
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-4b.s
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg-5.d b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-5.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg-5.d
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-5.d
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg-5.l b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-5.l
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg-5.l
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-5.l
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg-7.d b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-7.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg-7.d
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-7.d
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg-7.l b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-7.l
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg-7.l
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-7.l
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg-7.s b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-7.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg-7.s
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-7.s
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg-8.d b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-8.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg-8.d
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-8.d
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg-8.l b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-8.l
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg-8.l
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-8.l
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg-8.s b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-8.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg-8.s
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-8.s
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg-8b.d b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-8b.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg-8b.d
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-8b.d
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg-8b.l b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-8b.l
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg-8b.l
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-8b.l
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg-8b.s b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-8b.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg-8b.s
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-8b.s
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg128.d b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg128.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg128.d
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg128.d
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg128.l b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg128.l
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg128.l
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg128.l
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg128.s b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg128.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg128.s
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg128.s
diff --git a/gas/testsuite/gas/aarch64/invalid-sysreg-assert.d b/gas/testsuite/gas/aarch64/sysreg/invalid-sysreg-assert.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/invalid-sysreg-assert.d
rename to gas/testsuite/gas/aarch64/sysreg/invalid-sysreg-assert.d
diff --git a/gas/testsuite/gas/aarch64/invalid-sysreg-assert.l b/gas/testsuite/gas/aarch64/sysreg/invalid-sysreg-assert.l
similarity index 100%
rename from gas/testsuite/gas/aarch64/invalid-sysreg-assert.l
rename to gas/testsuite/gas/aarch64/sysreg/invalid-sysreg-assert.l
diff --git a/gas/testsuite/gas/aarch64/invalid-sysreg-assert.s b/gas/testsuite/gas/aarch64/sysreg/invalid-sysreg-assert.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/invalid-sysreg-assert.s
rename to gas/testsuite/gas/aarch64/sysreg/invalid-sysreg-assert.s
diff --git a/gas/testsuite/gas/aarch64/sme-sysreg-illegal.d b/gas/testsuite/gas/aarch64/sysreg/sme-sysreg-illegal.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/sme-sysreg-illegal.d
rename to gas/testsuite/gas/aarch64/sysreg/sme-sysreg-illegal.d
diff --git a/gas/testsuite/gas/aarch64/sme-sysreg-illegal.l b/gas/testsuite/gas/aarch64/sysreg/sme-sysreg-illegal.l
similarity index 100%
rename from gas/testsuite/gas/aarch64/sme-sysreg-illegal.l
rename to gas/testsuite/gas/aarch64/sysreg/sme-sysreg-illegal.l
diff --git a/gas/testsuite/gas/aarch64/sme-sysreg-illegal.s b/gas/testsuite/gas/aarch64/sysreg/sme-sysreg-illegal.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/sme-sysreg-illegal.s
rename to gas/testsuite/gas/aarch64/sysreg/sme-sysreg-illegal.s
diff --git a/gas/testsuite/gas/aarch64/sme-sysreg.d b/gas/testsuite/gas/aarch64/sysreg/sme-sysreg.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/sme-sysreg.d
rename to gas/testsuite/gas/aarch64/sysreg/sme-sysreg.d
diff --git a/gas/testsuite/gas/aarch64/sme-sysreg.s b/gas/testsuite/gas/aarch64/sysreg/sme-sysreg.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/sme-sysreg.s
rename to gas/testsuite/gas/aarch64/sysreg/sme-sysreg.s
diff --git a/gas/testsuite/gas/aarch64/sve-sysreg-invalid.d b/gas/testsuite/gas/aarch64/sysreg/sve-sysreg-invalid.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/sve-sysreg-invalid.d
rename to gas/testsuite/gas/aarch64/sysreg/sve-sysreg-invalid.d
diff --git a/gas/testsuite/gas/aarch64/sve-sysreg-invalid.l b/gas/testsuite/gas/aarch64/sysreg/sve-sysreg-invalid.l
similarity index 100%
rename from gas/testsuite/gas/aarch64/sve-sysreg-invalid.l
rename to gas/testsuite/gas/aarch64/sysreg/sve-sysreg-invalid.l
diff --git a/gas/testsuite/gas/aarch64/sve-sysreg.d b/gas/testsuite/gas/aarch64/sysreg/sve-sysreg.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/sve-sysreg.d
rename to gas/testsuite/gas/aarch64/sysreg/sve-sysreg.d
diff --git a/gas/testsuite/gas/aarch64/sve-sysreg.s b/gas/testsuite/gas/aarch64/sysreg/sve-sysreg.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/sve-sysreg.s
rename to gas/testsuite/gas/aarch64/sysreg/sve-sysreg.s
diff --git a/gas/testsuite/gas/aarch64/sysreg-1.d b/gas/testsuite/gas/aarch64/sysreg/sysreg-1.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/sysreg-1.d
rename to gas/testsuite/gas/aarch64/sysreg/sysreg-1.d
diff --git a/gas/testsuite/gas/aarch64/sysreg-1.s b/gas/testsuite/gas/aarch64/sysreg/sysreg-1.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/sysreg-1.s
rename to gas/testsuite/gas/aarch64/sysreg/sysreg-1.s
diff --git a/gas/testsuite/gas/aarch64/sysreg-2.d b/gas/testsuite/gas/aarch64/sysreg/sysreg-2.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/sysreg-2.d
rename to gas/testsuite/gas/aarch64/sysreg/sysreg-2.d
diff --git a/gas/testsuite/gas/aarch64/sysreg-2.s b/gas/testsuite/gas/aarch64/sysreg/sysreg-2.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/sysreg-2.s
rename to gas/testsuite/gas/aarch64/sysreg/sysreg-2.s
diff --git a/gas/testsuite/gas/aarch64/sysreg-3.d b/gas/testsuite/gas/aarch64/sysreg/sysreg-3.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/sysreg-3.d
rename to gas/testsuite/gas/aarch64/sysreg/sysreg-3.d
diff --git a/gas/testsuite/gas/aarch64/sysreg-3.s b/gas/testsuite/gas/aarch64/sysreg/sysreg-3.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/sysreg-3.s
rename to gas/testsuite/gas/aarch64/sysreg/sysreg-3.s
diff --git a/gas/testsuite/gas/aarch64/sysreg-4.d b/gas/testsuite/gas/aarch64/sysreg/sysreg-4.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/sysreg-4.d
rename to gas/testsuite/gas/aarch64/sysreg/sysreg-4.d
diff --git a/gas/testsuite/gas/aarch64/sysreg-4.s b/gas/testsuite/gas/aarch64/sysreg/sysreg-4.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/sysreg-4.s
rename to gas/testsuite/gas/aarch64/sysreg/sysreg-4.s
diff --git a/gas/testsuite/gas/aarch64/sysreg-5.s b/gas/testsuite/gas/aarch64/sysreg/sysreg-5.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/sysreg-5.s
rename to gas/testsuite/gas/aarch64/sysreg/sysreg-5.s
diff --git a/gas/testsuite/gas/aarch64/sysreg-6.d b/gas/testsuite/gas/aarch64/sysreg/sysreg-6.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/sysreg-6.d
rename to gas/testsuite/gas/aarch64/sysreg/sysreg-6.d
diff --git a/gas/testsuite/gas/aarch64/sysreg-6.s b/gas/testsuite/gas/aarch64/sysreg/sysreg-6.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/sysreg-6.s
rename to gas/testsuite/gas/aarch64/sysreg/sysreg-6.s
diff --git a/gas/testsuite/gas/aarch64/sysreg-7.d b/gas/testsuite/gas/aarch64/sysreg/sysreg-7.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/sysreg-7.d
rename to gas/testsuite/gas/aarch64/sysreg/sysreg-7.d
diff --git a/gas/testsuite/gas/aarch64/sysreg-7.s b/gas/testsuite/gas/aarch64/sysreg/sysreg-7.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/sysreg-7.s
rename to gas/testsuite/gas/aarch64/sysreg/sysreg-7.s
diff --git a/gas/testsuite/gas/aarch64/sysreg-8.d b/gas/testsuite/gas/aarch64/sysreg/sysreg-8.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/sysreg-8.d
rename to gas/testsuite/gas/aarch64/sysreg/sysreg-8.d
diff --git a/gas/testsuite/gas/aarch64/sysreg-8.s b/gas/testsuite/gas/aarch64/sysreg/sysreg-8.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/sysreg-8.s
rename to gas/testsuite/gas/aarch64/sysreg/sysreg-8.s
diff --git a/gas/testsuite/gas/aarch64/sysreg-diagnostic.d b/gas/testsuite/gas/aarch64/sysreg/sysreg-diagnostic.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/sysreg-diagnostic.d
rename to gas/testsuite/gas/aarch64/sysreg/sysreg-diagnostic.d
diff --git a/gas/testsuite/gas/aarch64/sysreg-diagnostic.l b/gas/testsuite/gas/aarch64/sysreg/sysreg-diagnostic.l
similarity index 100%
rename from gas/testsuite/gas/aarch64/sysreg-diagnostic.l
rename to gas/testsuite/gas/aarch64/sysreg/sysreg-diagnostic.l
diff --git a/gas/testsuite/gas/aarch64/sysreg-diagnostic.s b/gas/testsuite/gas/aarch64/sysreg/sysreg-diagnostic.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/sysreg-diagnostic.s
rename to gas/testsuite/gas/aarch64/sysreg/sysreg-diagnostic.s
diff --git a/gas/testsuite/gas/aarch64/sysreg.d b/gas/testsuite/gas/aarch64/sysreg/sysreg.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/sysreg.d
rename to gas/testsuite/gas/aarch64/sysreg/sysreg.d
diff --git a/gas/testsuite/gas/aarch64/sysreg.s b/gas/testsuite/gas/aarch64/sysreg/sysreg.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/sysreg.s
rename to gas/testsuite/gas/aarch64/sysreg/sysreg.s
diff --git a/gas/testsuite/gas/aarch64/sysreg128.d b/gas/testsuite/gas/aarch64/sysreg/sysreg128.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/sysreg128.d
rename to gas/testsuite/gas/aarch64/sysreg/sysreg128.d
diff --git a/gas/testsuite/gas/aarch64/sysreg128.s b/gas/testsuite/gas/aarch64/sysreg/sysreg128.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/sysreg128.s
rename to gas/testsuite/gas/aarch64/sysreg/sysreg128.s
diff --git a/gas/testsuite/gas/aarch64/v8-r-bad-sysregs.d b/gas/testsuite/gas/aarch64/sysreg/v8-r-bad-sysregs.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/v8-r-bad-sysregs.d
rename to gas/testsuite/gas/aarch64/sysreg/v8-r-bad-sysregs.d
diff --git a/gas/testsuite/gas/aarch64/v8-r-bad-sysregs.l b/gas/testsuite/gas/aarch64/sysreg/v8-r-bad-sysregs.l
similarity index 100%
rename from gas/testsuite/gas/aarch64/v8-r-bad-sysregs.l
rename to gas/testsuite/gas/aarch64/sysreg/v8-r-bad-sysregs.l
diff --git a/gas/testsuite/gas/aarch64/v8-r-bad-sysregs.s b/gas/testsuite/gas/aarch64/sysreg/v8-r-bad-sysregs.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/v8-r-bad-sysregs.s
rename to gas/testsuite/gas/aarch64/sysreg/v8-r-bad-sysregs.s
diff --git a/gas/testsuite/gas/aarch64/v8-r-sysregs-need-arch.d b/gas/testsuite/gas/aarch64/sysreg/v8-r-sysregs-need-arch.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/v8-r-sysregs-need-arch.d
rename to gas/testsuite/gas/aarch64/sysreg/v8-r-sysregs-need-arch.d
diff --git a/gas/testsuite/gas/aarch64/v8-r-sysregs-need-arch.l b/gas/testsuite/gas/aarch64/sysreg/v8-r-sysregs-need-arch.l
similarity index 100%
rename from gas/testsuite/gas/aarch64/v8-r-sysregs-need-arch.l
rename to gas/testsuite/gas/aarch64/sysreg/v8-r-sysregs-need-arch.l
diff --git a/gas/testsuite/gas/aarch64/v8-r-sysregs.d b/gas/testsuite/gas/aarch64/sysreg/v8-r-sysregs.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/v8-r-sysregs.d
rename to gas/testsuite/gas/aarch64/sysreg/v8-r-sysregs.d
diff --git a/gas/testsuite/gas/aarch64/v8-r-sysregs.s b/gas/testsuite/gas/aarch64/sysreg/v8-r-sysregs.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/v8-r-sysregs.s
rename to gas/testsuite/gas/aarch64/sysreg/v8-r-sysregs.s
--
2.34.1
  
Richard Earnshaw (lists) Feb. 21, 2024, 1:08 p.m. UTC | #2
On 21/02/2024 10:37, Matthieu Longo wrote:
> Hi,
> 
> Rebase of the previous patch on master due to conflicts.
> 
> Regards,
> Matthieu
> 
> On 2024-02-19 11:54, Matthieu Longo wrote:
>> Hi,
>>
>> This patch moves the existing sysreg tests for AArch64 into a subdirectory
>> (sysreg). The number of test files related to system registers grew
>> relatively big with time and makes the browsing of those files difficult.
>> Moreover, the difference of naming for the failure, working, and
>> feature-specific scenarios causes the tests not to appear next to one
>> another in the exploration tree when it is ordered alphabetically.
>>
>> Regression tested on the aarch64-none-elf, and and no regressions was found.
>>
>> Ok for binutils-master? I don't have commit access so I need someone to
>> commit on my behalf.
>>
>> Regards,
>> Matthieu.

Pushed, thanks.
R.
  

Patch

diff --git a/gas/testsuite/gas/aarch64/sysreg/aarch64-sysreg.exp b/gas/testsuite/gas/aarch64/sysreg/aarch64-sysreg.exp
new file mode 100644
index 00000000000..a60dddaf1a8
--- /dev/null
+++ b/gas/testsuite/gas/aarch64/sysreg/aarch64-sysreg.exp
@@ -0,0 +1,23 @@ 
+# Copyright (C) 2024 Free Software Foundation, Inc.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
+
+#
+# Some AArch64 tests for system registers
+#
+
+if {[istarget aarch64*-*-*]} {
+    run_dump_tests [lsort [glob -nocomplain $srcdir/$subdir/*.d]]
+}
diff --git a/gas/testsuite/gas/aarch64/armv8_8-a-sysregs-invalid.d b/gas/testsuite/gas/aarch64/sysreg/armv8_8-a-sysregs-invalid.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/armv8_8-a-sysregs-invalid.d
rename to gas/testsuite/gas/aarch64/sysreg/armv8_8-a-sysregs-invalid.d
diff --git a/gas/testsuite/gas/aarch64/armv8_8-a-sysregs-invalid.l b/gas/testsuite/gas/aarch64/sysreg/armv8_8-a-sysregs-invalid.l
similarity index 100%
rename from gas/testsuite/gas/aarch64/armv8_8-a-sysregs-invalid.l
rename to gas/testsuite/gas/aarch64/sysreg/armv8_8-a-sysregs-invalid.l
diff --git a/gas/testsuite/gas/aarch64/armv8_8-a-sysregs-invalid.s b/gas/testsuite/gas/aarch64/sysreg/armv8_8-a-sysregs-invalid.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/armv8_8-a-sysregs-invalid.s
rename to gas/testsuite/gas/aarch64/sysreg/armv8_8-a-sysregs-invalid.s
diff --git a/gas/testsuite/gas/aarch64/armv8_8-a-sysregs.d b/gas/testsuite/gas/aarch64/sysreg/armv8_8-a-sysregs.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/armv8_8-a-sysregs.d
rename to gas/testsuite/gas/aarch64/sysreg/armv8_8-a-sysregs.d
diff --git a/gas/testsuite/gas/aarch64/armv8_8-a-sysregs.s b/gas/testsuite/gas/aarch64/sysreg/armv8_8-a-sysregs.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/armv8_8-a-sysregs.s
rename to gas/testsuite/gas/aarch64/sysreg/armv8_8-a-sysregs.s
diff --git a/gas/testsuite/gas/aarch64/armv8_9-a-sysregs-bad.d b/gas/testsuite/gas/aarch64/sysreg/armv8_9-a-sysregs-bad.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/armv8_9-a-sysregs-bad.d
rename to gas/testsuite/gas/aarch64/sysreg/armv8_9-a-sysregs-bad.d
diff --git a/gas/testsuite/gas/aarch64/armv8_9-a-sysregs-bad.l b/gas/testsuite/gas/aarch64/sysreg/armv8_9-a-sysregs-bad.l
similarity index 100%
rename from gas/testsuite/gas/aarch64/armv8_9-a-sysregs-bad.l
rename to gas/testsuite/gas/aarch64/sysreg/armv8_9-a-sysregs-bad.l
diff --git a/gas/testsuite/gas/aarch64/armv8_9-a-sysregs.d b/gas/testsuite/gas/aarch64/sysreg/armv8_9-a-sysregs.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/armv8_9-a-sysregs.d
rename to gas/testsuite/gas/aarch64/sysreg/armv8_9-a-sysregs.d
diff --git a/gas/testsuite/gas/aarch64/armv8_9-a-sysregs.s b/gas/testsuite/gas/aarch64/sysreg/armv8_9-a-sysregs.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/armv8_9-a-sysregs.s
rename to gas/testsuite/gas/aarch64/sysreg/armv8_9-a-sysregs.s
diff --git a/gas/testsuite/gas/aarch64/gcs-sysregs-bad.d b/gas/testsuite/gas/aarch64/sysreg/gcs-sysregs-bad.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/gcs-sysregs-bad.d
rename to gas/testsuite/gas/aarch64/sysreg/gcs-sysregs-bad.d
diff --git a/gas/testsuite/gas/aarch64/gcs-sysregs-bad.l b/gas/testsuite/gas/aarch64/sysreg/gcs-sysregs-bad.l
similarity index 100%
rename from gas/testsuite/gas/aarch64/gcs-sysregs-bad.l
rename to gas/testsuite/gas/aarch64/sysreg/gcs-sysregs-bad.l
diff --git a/gas/testsuite/gas/aarch64/gcs-sysregs.d b/gas/testsuite/gas/aarch64/sysreg/gcs-sysregs.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/gcs-sysregs.d
rename to gas/testsuite/gas/aarch64/sysreg/gcs-sysregs.d
diff --git a/gas/testsuite/gas/aarch64/gcs-sysregs.s b/gas/testsuite/gas/aarch64/sysreg/gcs-sysregs.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/gcs-sysregs.s
rename to gas/testsuite/gas/aarch64/sysreg/gcs-sysregs.s
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg-2.d b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-2.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg-2.d
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-2.d
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg-2.l b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-2.l
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg-2.l
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-2.l
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg-2.s b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-2.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg-2.s
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-2.s
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg-3.d b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-3.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg-3.d
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-3.d
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg-3.l b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-3.l
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg-3.l
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-3.l
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg-4.d b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-4.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg-4.d
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-4.d
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg-4.l b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-4.l
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg-4.l
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-4.l
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg-4b.d b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-4b.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg-4b.d
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-4b.d
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg-4b.l b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-4b.l
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg-4b.l
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-4b.l
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg-4b.s b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-4b.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg-4b.s
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-4b.s
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg-5.d b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-5.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg-5.d
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-5.d
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg-5.l b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-5.l
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg-5.l
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-5.l
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg-7.d b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-7.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg-7.d
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-7.d
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg-7.l b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-7.l
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg-7.l
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-7.l
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg-7.s b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-7.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg-7.s
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-7.s
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg-8.d b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-8.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg-8.d
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-8.d
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg-8.l b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-8.l
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg-8.l
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-8.l
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg-8.s b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-8.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg-8.s
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-8.s
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg-8b.d b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-8b.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg-8b.d
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-8b.d
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg-8b.l b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-8b.l
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg-8b.l
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-8b.l
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg-8b.s b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-8b.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg-8b.s
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg-8b.s
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg128.d b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg128.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg128.d
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg128.d
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg128.l b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg128.l
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg128.l
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg128.l
diff --git a/gas/testsuite/gas/aarch64/illegal-sysreg128.s b/gas/testsuite/gas/aarch64/sysreg/illegal-sysreg128.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/illegal-sysreg128.s
rename to gas/testsuite/gas/aarch64/sysreg/illegal-sysreg128.s
diff --git a/gas/testsuite/gas/aarch64/invalid-sysreg-assert.d b/gas/testsuite/gas/aarch64/sysreg/invalid-sysreg-assert.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/invalid-sysreg-assert.d
rename to gas/testsuite/gas/aarch64/sysreg/invalid-sysreg-assert.d
diff --git a/gas/testsuite/gas/aarch64/invalid-sysreg-assert.l b/gas/testsuite/gas/aarch64/sysreg/invalid-sysreg-assert.l
similarity index 100%
rename from gas/testsuite/gas/aarch64/invalid-sysreg-assert.l
rename to gas/testsuite/gas/aarch64/sysreg/invalid-sysreg-assert.l
diff --git a/gas/testsuite/gas/aarch64/invalid-sysreg-assert.s b/gas/testsuite/gas/aarch64/sysreg/invalid-sysreg-assert.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/invalid-sysreg-assert.s
rename to gas/testsuite/gas/aarch64/sysreg/invalid-sysreg-assert.s
diff --git a/gas/testsuite/gas/aarch64/sme-sysreg-illegal.d b/gas/testsuite/gas/aarch64/sysreg/sme-sysreg-illegal.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/sme-sysreg-illegal.d
rename to gas/testsuite/gas/aarch64/sysreg/sme-sysreg-illegal.d
diff --git a/gas/testsuite/gas/aarch64/sme-sysreg-illegal.l b/gas/testsuite/gas/aarch64/sysreg/sme-sysreg-illegal.l
similarity index 100%
rename from gas/testsuite/gas/aarch64/sme-sysreg-illegal.l
rename to gas/testsuite/gas/aarch64/sysreg/sme-sysreg-illegal.l
diff --git a/gas/testsuite/gas/aarch64/sme-sysreg-illegal.s b/gas/testsuite/gas/aarch64/sysreg/sme-sysreg-illegal.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/sme-sysreg-illegal.s
rename to gas/testsuite/gas/aarch64/sysreg/sme-sysreg-illegal.s
diff --git a/gas/testsuite/gas/aarch64/sme-sysreg.d b/gas/testsuite/gas/aarch64/sysreg/sme-sysreg.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/sme-sysreg.d
rename to gas/testsuite/gas/aarch64/sysreg/sme-sysreg.d
diff --git a/gas/testsuite/gas/aarch64/sme-sysreg.s b/gas/testsuite/gas/aarch64/sysreg/sme-sysreg.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/sme-sysreg.s
rename to gas/testsuite/gas/aarch64/sysreg/sme-sysreg.s
diff --git a/gas/testsuite/gas/aarch64/sve-sysreg-invalid.d b/gas/testsuite/gas/aarch64/sysreg/sve-sysreg-invalid.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/sve-sysreg-invalid.d
rename to gas/testsuite/gas/aarch64/sysreg/sve-sysreg-invalid.d
diff --git a/gas/testsuite/gas/aarch64/sve-sysreg-invalid.l b/gas/testsuite/gas/aarch64/sysreg/sve-sysreg-invalid.l
similarity index 100%
rename from gas/testsuite/gas/aarch64/sve-sysreg-invalid.l
rename to gas/testsuite/gas/aarch64/sysreg/sve-sysreg-invalid.l
diff --git a/gas/testsuite/gas/aarch64/sve-sysreg.d b/gas/testsuite/gas/aarch64/sysreg/sve-sysreg.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/sve-sysreg.d
rename to gas/testsuite/gas/aarch64/sysreg/sve-sysreg.d
diff --git a/gas/testsuite/gas/aarch64/sve-sysreg.s b/gas/testsuite/gas/aarch64/sysreg/sve-sysreg.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/sve-sysreg.s
rename to gas/testsuite/gas/aarch64/sysreg/sve-sysreg.s
diff --git a/gas/testsuite/gas/aarch64/sysreg-1.d b/gas/testsuite/gas/aarch64/sysreg/sysreg-1.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/sysreg-1.d
rename to gas/testsuite/gas/aarch64/sysreg/sysreg-1.d
diff --git a/gas/testsuite/gas/aarch64/sysreg-1.s b/gas/testsuite/gas/aarch64/sysreg/sysreg-1.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/sysreg-1.s
rename to gas/testsuite/gas/aarch64/sysreg/sysreg-1.s
diff --git a/gas/testsuite/gas/aarch64/sysreg-2.d b/gas/testsuite/gas/aarch64/sysreg/sysreg-2.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/sysreg-2.d
rename to gas/testsuite/gas/aarch64/sysreg/sysreg-2.d
diff --git a/gas/testsuite/gas/aarch64/sysreg-2.s b/gas/testsuite/gas/aarch64/sysreg/sysreg-2.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/sysreg-2.s
rename to gas/testsuite/gas/aarch64/sysreg/sysreg-2.s
diff --git a/gas/testsuite/gas/aarch64/sysreg-3.d b/gas/testsuite/gas/aarch64/sysreg/sysreg-3.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/sysreg-3.d
rename to gas/testsuite/gas/aarch64/sysreg/sysreg-3.d
diff --git a/gas/testsuite/gas/aarch64/sysreg-3.s b/gas/testsuite/gas/aarch64/sysreg/sysreg-3.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/sysreg-3.s
rename to gas/testsuite/gas/aarch64/sysreg/sysreg-3.s
diff --git a/gas/testsuite/gas/aarch64/sysreg-4.d b/gas/testsuite/gas/aarch64/sysreg/sysreg-4.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/sysreg-4.d
rename to gas/testsuite/gas/aarch64/sysreg/sysreg-4.d
diff --git a/gas/testsuite/gas/aarch64/sysreg-4.s b/gas/testsuite/gas/aarch64/sysreg/sysreg-4.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/sysreg-4.s
rename to gas/testsuite/gas/aarch64/sysreg/sysreg-4.s
diff --git a/gas/testsuite/gas/aarch64/sysreg-5.s b/gas/testsuite/gas/aarch64/sysreg/sysreg-5.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/sysreg-5.s
rename to gas/testsuite/gas/aarch64/sysreg/sysreg-5.s
diff --git a/gas/testsuite/gas/aarch64/sysreg-6.d b/gas/testsuite/gas/aarch64/sysreg/sysreg-6.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/sysreg-6.d
rename to gas/testsuite/gas/aarch64/sysreg/sysreg-6.d
diff --git a/gas/testsuite/gas/aarch64/sysreg-6.s b/gas/testsuite/gas/aarch64/sysreg/sysreg-6.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/sysreg-6.s
rename to gas/testsuite/gas/aarch64/sysreg/sysreg-6.s
diff --git a/gas/testsuite/gas/aarch64/sysreg-7.d b/gas/testsuite/gas/aarch64/sysreg/sysreg-7.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/sysreg-7.d
rename to gas/testsuite/gas/aarch64/sysreg/sysreg-7.d
diff --git a/gas/testsuite/gas/aarch64/sysreg-7.s b/gas/testsuite/gas/aarch64/sysreg/sysreg-7.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/sysreg-7.s
rename to gas/testsuite/gas/aarch64/sysreg/sysreg-7.s
diff --git a/gas/testsuite/gas/aarch64/sysreg-8.d b/gas/testsuite/gas/aarch64/sysreg/sysreg-8.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/sysreg-8.d
rename to gas/testsuite/gas/aarch64/sysreg/sysreg-8.d
diff --git a/gas/testsuite/gas/aarch64/sysreg-8.s b/gas/testsuite/gas/aarch64/sysreg/sysreg-8.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/sysreg-8.s
rename to gas/testsuite/gas/aarch64/sysreg/sysreg-8.s
diff --git a/gas/testsuite/gas/aarch64/sysreg-diagnostic.d b/gas/testsuite/gas/aarch64/sysreg/sysreg-diagnostic.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/sysreg-diagnostic.d
rename to gas/testsuite/gas/aarch64/sysreg/sysreg-diagnostic.d
diff --git a/gas/testsuite/gas/aarch64/sysreg-diagnostic.l b/gas/testsuite/gas/aarch64/sysreg/sysreg-diagnostic.l
similarity index 100%
rename from gas/testsuite/gas/aarch64/sysreg-diagnostic.l
rename to gas/testsuite/gas/aarch64/sysreg/sysreg-diagnostic.l
diff --git a/gas/testsuite/gas/aarch64/sysreg-diagnostic.s b/gas/testsuite/gas/aarch64/sysreg/sysreg-diagnostic.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/sysreg-diagnostic.s
rename to gas/testsuite/gas/aarch64/sysreg/sysreg-diagnostic.s
diff --git a/gas/testsuite/gas/aarch64/sysreg.d b/gas/testsuite/gas/aarch64/sysreg/sysreg.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/sysreg.d
rename to gas/testsuite/gas/aarch64/sysreg/sysreg.d
diff --git a/gas/testsuite/gas/aarch64/sysreg.s b/gas/testsuite/gas/aarch64/sysreg/sysreg.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/sysreg.s
rename to gas/testsuite/gas/aarch64/sysreg/sysreg.s
diff --git a/gas/testsuite/gas/aarch64/sysreg128.d b/gas/testsuite/gas/aarch64/sysreg/sysreg128.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/sysreg128.d
rename to gas/testsuite/gas/aarch64/sysreg/sysreg128.d
diff --git a/gas/testsuite/gas/aarch64/sysreg128.s b/gas/testsuite/gas/aarch64/sysreg/sysreg128.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/sysreg128.s
rename to gas/testsuite/gas/aarch64/sysreg/sysreg128.s
diff --git a/gas/testsuite/gas/aarch64/v8-r-bad-sysregs.d b/gas/testsuite/gas/aarch64/sysreg/v8-r-bad-sysregs.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/v8-r-bad-sysregs.d
rename to gas/testsuite/gas/aarch64/sysreg/v8-r-bad-sysregs.d
diff --git a/gas/testsuite/gas/aarch64/v8-r-bad-sysregs.l b/gas/testsuite/gas/aarch64/sysreg/v8-r-bad-sysregs.l
similarity index 100%
rename from gas/testsuite/gas/aarch64/v8-r-bad-sysregs.l
rename to gas/testsuite/gas/aarch64/sysreg/v8-r-bad-sysregs.l
diff --git a/gas/testsuite/gas/aarch64/v8-r-bad-sysregs.s b/gas/testsuite/gas/aarch64/sysreg/v8-r-bad-sysregs.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/v8-r-bad-sysregs.s
rename to gas/testsuite/gas/aarch64/sysreg/v8-r-bad-sysregs.s
diff --git a/gas/testsuite/gas/aarch64/v8-r-sysregs-need-arch.d b/gas/testsuite/gas/aarch64/sysreg/v8-r-sysregs-need-arch.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/v8-r-sysregs-need-arch.d
rename to gas/testsuite/gas/aarch64/sysreg/v8-r-sysregs-need-arch.d
diff --git a/gas/testsuite/gas/aarch64/v8-r-sysregs-need-arch.l b/gas/testsuite/gas/aarch64/sysreg/v8-r-sysregs-need-arch.l
similarity index 100%
rename from gas/testsuite/gas/aarch64/v8-r-sysregs-need-arch.l
rename to gas/testsuite/gas/aarch64/sysreg/v8-r-sysregs-need-arch.l
diff --git a/gas/testsuite/gas/aarch64/v8-r-sysregs.d b/gas/testsuite/gas/aarch64/sysreg/v8-r-sysregs.d
similarity index 100%
rename from gas/testsuite/gas/aarch64/v8-r-sysregs.d
rename to gas/testsuite/gas/aarch64/sysreg/v8-r-sysregs.d
diff --git a/gas/testsuite/gas/aarch64/v8-r-sysregs.s b/gas/testsuite/gas/aarch64/sysreg/v8-r-sysregs.s
similarity index 100%
rename from gas/testsuite/gas/aarch64/v8-r-sysregs.s
rename to gas/testsuite/gas/aarch64/sysreg/v8-r-sysregs.s