]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
aarch64: Fix the expected output of the test cpy_1.c [PR115892]
authorSurya Kumari Jangala <jskumari@linux.ibm.com>
Thu, 11 Jul 2024 16:02:17 +0000 (11:02 -0500)
committerSurya Kumari Jangala <jskumari@linux.ibm.com>
Mon, 15 Jul 2024 04:26:05 +0000 (23:26 -0500)
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.

gcc/testsuite/gcc.target/aarch64/sve/acle/general/cpy_1.c

index 57b56a7e256f7abd24e20af2d3dc3b310bd19bc2..1d669913df2e8e2d4fbd89d08322be69ca7d276a 100644 (file)
@@ -11,9 +11,15 @@ extern "C" {
 /*
 ** dup_x0_m:
 **     ...
+** (
 **     add     (x[0-9]+), x0, #?1
 **     mov     (p[0-7])\.b, p15\.b
 **     mov     z0\.d, \2/m, \1
+** |
+**     mov     (p[0-7])\.b, p15\.b
+**     add     (x[0-9]+), x0, #?1
+**     mov     z0\.d, \3/m, \4
+** )
 **     ...
 **     ret
 */