]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
aarch64: xfail pr109072_1.c's s16x4_2 [PR117092]
authorAndrew Pinski <quic_apinski@quicinc.com>
Thu, 13 Mar 2025 00:04:47 +0000 (17:04 -0700)
committerAndrew Pinski <quic_apinski@quicinc.com>
Thu, 13 Mar 2025 12:25:01 +0000 (05:25 -0700)
The fix for this depends on much more infrastructure which won't
be done for another few weeks. Pengxuan is working on the fix for GCC 16.
So let's xfail the testcase since it is a minor code quality regression.
we get:
```
        movi    v0.2s, 0
        ins     v0.h[0], w0
```
vs what we should get:
```
        and     x0, x0, 65535
        fmov    d0, x0
```
or
```
        fmov    h0, x0
```

Tested for aarch64-linux-gnu.

PR target/117092

gcc/testsuite/ChangeLog:

* gcc.target/aarch64/pr109072_1.c: xfail s16x4_2.

Signed-off-by: Andrew Pinski <quic_apinski@quicinc.com>
gcc/testsuite/gcc.target/aarch64/pr109072_1.c

index 0fc195a598f3b82ff188b3151e77e1272254b78c..39d80222142418a42bd03681cad2fe93b871d801 100644 (file)
@@ -77,7 +77,8 @@ s16x4_1 (int16_t x)
 }
 
 /*
-** s16x4_2:
+PR target/117092
+** s16x4_2: { xfail *-*-* }
 **     ...
 **     fmov    [dsh]0, [wx][0-9]+
 **     ret
@@ -127,7 +128,7 @@ s64x2_1 (int64_t x)
 }
 
 /*
-** s64x2_2: { xfail *-*-* }
+** s64x2_2:
 **     fmov    d0, x0
 **     ret
 */