The test fails with r15-1619-g3b9b8d6cfdf593. body: .*\tadd (x[0-9]+), x0, #?1 \tmov (p[0-7])\.b, p15\.b \tmov z0\.d, \2/m, \1 .*\tret against: addvl sp, sp, #-1 str p15, [sp] mov p3.b, p15.b add x0, x0, 1 mov z0.d, p3/m, x0 ldr p15, [sp] addvl sp, sp, #1 ret FAIL: gcc.target/aarch64/sve/acle/general/cpy_1.c -march=armv8.2-a+sve -moverride=tune=none check-function-bodies dup_x0_m As per the discussion at https://gcc.gnu.org/pipermail/gcc/2023-November/242930.html and https://gcc.gnu.org/pipermail/gcc/2023-November/242931.html , this is an acceptable result and the testcase can be changed.
The master branch has been updated by Surya Kumari Jangala <jskumari@gcc.gnu.org>: https://gcc.gnu.org/g:8b1492012e5a11e9400e30ee4ae9195c08a2a81e commit r15-2034-g8b1492012e5a11e9400e30ee4ae9195c08a2a81e Author: Surya Kumari Jangala <jskumari@linux.ibm.com> Date: Thu Jul 11 11:02:17 2024 -0500 aarch64: Fix the expected output of the test cpy_1.c [PR115892] The fix at r15-1619-g3b9b8d6cfdf593 results in a rearrangement of instructions generated for cpy_1.c. This patch fixes the expected output. 2024-07-12 Surya Kumari Jangala <jskumari@linux.ibm.com> gcc/testsuite: PR testsuite/115892 * gcc.target/aarch64/sve/acle/general/cpy_1.c: Update expected output.
Fixed in r15-2034-g8b1492012e5a11