[PATCH v1 4/4] aarch64: testsuite: share test utils macros and use them

Richard Earnshaw (lists) Richard.Earnshaw@arm.com
Fri May 10 10:42:30 GMT 2024


On 27/02/2024 10:59, Matthieu Longo wrote:
> 
> This patch rewrites assembly tests to use utils macros declared in
> sysreg-test-utils.inc. Some tests were adapted to use the new macro
> rw_sys_reg.
> ---
>   .../aarch64/sysreg/armv8_9-a-sysregs-bad.d    |   2 +-
>   .../aarch64/sysreg/armv8_9-a-sysregs-bad.l    |  90 ++++-
>   .../gas/aarch64/sysreg/armv8_9-a-sysregs.d    |   3 +-
>   .../gas/aarch64/sysreg/armv8_9-a-sysregs.s    | 139 +++----
>   .../gas/aarch64/sysreg/illegal-sysreg-3.d     |   2 +-
>   .../gas/aarch64/sysreg/illegal-sysreg-4.d     |   2 +-
>   gas/testsuite/gas/aarch64/sysreg/sysreg-1.d   |   2 +
>   gas/testsuite/gas/aarch64/sysreg/sysreg-1.s   | 223 ++++++------
>   gas/testsuite/gas/aarch64/sysreg/sysreg-2.d   |   3 +-
>   gas/testsuite/gas/aarch64/sysreg/sysreg-2.s   |  47 ++-
>   gas/testsuite/gas/aarch64/sysreg/sysreg-3.d   |   3 +-
>   gas/testsuite/gas/aarch64/sysreg/sysreg-3.s   |  25 +-
>   gas/testsuite/gas/aarch64/sysreg/sysreg-6.d   |   2 +
>   gas/testsuite/gas/aarch64/sysreg/sysreg-6.s   |   7 +-
>   gas/testsuite/gas/aarch64/sysreg/sysreg-7.d   |   2 +
>   gas/testsuite/gas/aarch64/sysreg/sysreg-7.s   |  32 +-
>   gas/testsuite/gas/aarch64/sysreg/sysreg-8.d   |   2 +
>   gas/testsuite/gas/aarch64/sysreg/sysreg-8.s   | 339 +++++++++---------
>   .../gas/aarch64/sysreg/sysreg-test-utils.inc  |  32 ++
>   gas/testsuite/gas/aarch64/sysreg/sysreg.d     |   6 +-
>   gas/testsuite/gas/aarch64/sysreg/sysreg.s     |  63 ++--
>   gas/testsuite/gas/aarch64/sysreg/sysreg128.d  |  42 +--
>   gas/testsuite/gas/aarch64/sysreg/sysreg128.s  |  27 +-
>   23 files changed, 576 insertions(+), 519 deletions(-)
>   create mode 100644 gas/testsuite/gas/aarch64/sysreg/sysreg-test-utils.inc
> 

OK.

R.


More information about the Binutils mailing list