aarch64: Fix up 2 other combine opt regressions vs. GCC8 [PR100075]
authorChristophe Lyon <christophe.lyon@linaro.org>
Mon, 19 Apr 2021 13:24:31 +0000 (13:24 +0000)
committerChristophe Lyon <christophe.lyon@linaro.org>
Mon, 19 Apr 2021 13:27:18 +0000 (13:27 +0000)
The testcase is endianness dependent and works only on little-endian.

2021-04-19  Christophe Lyon  <christophe.lyon@linaro.org>

PR target/100075
gcc/testsuite/
* gcc.target/aarch64/pr100075.c: Add aarch64_little_endian
effective target.

gcc/testsuite/gcc.target/aarch64/pr100075.c

index 6bdaa2f..1ece5fd 100644 (file)
@@ -1,5 +1,6 @@
 /* PR target/100075 */
 /* { dg-do compile } */
+/* { dg-require-effective-target aarch64_little_endian } */
 /* { dg-options "-O2" } */
 /* { dg-final { scan-assembler-not {\tsbfx\tx[0-9]+, x[0-9]+, 16, 16} } } */
 /* { dg-final { scan-assembler {\tneg\tw[0-9]+, w[0-9]+, asr 16} } } */