diff options
author | Matthieu Longo <matthieu.longo@arm.com> | 2024-02-08 18:13:49 +0000 |
---|---|---|
committer | Richard Earnshaw <rearnsha@arm.com> | 2024-02-15 14:21:44 +0000 |
commit | 2acf478bf10fc38e9cbce77ac5ecaf5abfb724b1 (patch) | |
tree | d8f0a8e839cc3d1b2093d66a3bc13173c32ae071 /gcc | |
parent | 5cff288c2dae4ea709df067cf398f23e214b2e80 (diff) | |
download | gcc-2acf478bf10fc38e9cbce77ac5ecaf5abfb724b1.zip gcc-2acf478bf10fc38e9cbce77ac5ecaf5abfb724b1.tar.gz gcc-2acf478bf10fc38e9cbce77ac5ecaf5abfb724b1.tar.bz2 |
arm: testuite: Missing optimization pattern for rev16 with thumb1
This patch marks a rev16 test as XFAIL for architectures having only
Thumb1 support. The generated code is functionally correct, but the
optimization is disabled when -mthumb is equivalent to Thumb1. Fixing
the root issue would requires changes that are not suitable for GCC14
stage 4. More information at
https://linaro.atlassian.net/browse/GNU-1141
gcc/testsuite/ChangeLog:
* gcc.target/arm/rev16_2.c: XFAIL when compiled with Thumb1.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gcc.target/arm/rev16_2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.target/arm/rev16_2.c b/gcc/testsuite/gcc.target/arm/rev16_2.c index c6553b3..dff66e1 100644 --- a/gcc/testsuite/gcc.target/arm/rev16_2.c +++ b/gcc/testsuite/gcc.target/arm/rev16_2.c @@ -17,4 +17,4 @@ __rev16_32 (__u32 x) | (((__u32)(x) & (__u32)0xff00ff00UL) >> 8); } -/* { dg-final { scan-assembler-times {rev16\tr[0-9]+, r[0-9]+} 2 } } */ +/* { dg-final { scan-assembler-times {rev16\tr[0-9]+, r[0-9]+} 2 { xfail arm_thumb1_ok } } } */
\ No newline at end of file |