aarch64: Fix up 2 other combine opt regressions vs. GCC8 [PR100075]

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.
This commit is contained in:
Christophe Lyon 2021-04-19 13:24:31 +00:00
parent 2f422b550f
commit 714bdc31b6

View 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} } } */