]> git.ipfire.org Git - thirdparty/gcc.git/commit
aarch64: Skip some SME register save tests on BE
authorRichard Sandiford <richard.sandiford@arm.com>
Sun, 10 Dec 2023 19:46:05 +0000 (19:46 +0000)
committerRichard Sandiford <richard.sandiford@arm.com>
Sun, 10 Dec 2023 19:46:05 +0000 (19:46 +0000)
commit23ea0bc2cf042d74c4adfe26a57cf96b1d837a91
tree6f8dcb11d8cfc2f9a35d5c8cc04083a41fed9b0c
parent02ecdaab7a50f4505fd905effb6d238d773dc813
aarch64: Skip some SME register save tests on BE

Big-endian targets need to save Z8-Z15 in the same order as
the registers would appear for D8-D15, because the layout is
mandated by the EH ABI.  BE targets therefore use ST1D instead
of the normal STR for those registers (but not for others).

That difference is already tested elsewhere and isn't important
for the SME tests.  This patch therefore restricts the affected
tests to LE.

gcc/testsuite/
* gcc.target/aarch64/sme/call_sm_switch_5.c: Restrict tests that
contain Z8-Z23 saves to little-endian.
* gcc.target/aarch64/sme/call_sm_switch_8.c: Likewise.
* gcc.target/aarch64/sme/locally_streaming_1.c: Likewise.
gcc/testsuite/gcc.target/aarch64/sme/call_sm_switch_5.c
gcc/testsuite/gcc.target/aarch64/sme/call_sm_switch_8.c
gcc/testsuite/gcc.target/aarch64/sme/locally_streaming_1.c