mirror of
https://github.com/gcc-mirror/gcc.git
synced 2024-11-21 13:40:47 +00:00
aarch64: Alter pr116258.c test to correct for big endian.
The test at pr116258.c fails on big endian targets, this is because the test checks that the index of a floating point multiply is 0, which is correct only for little endian. gcc/testsuite/ChangeLog: PR tree-optimization/116258 * gcc.target/aarch64/pr116258.c: Alter test to add big-endian support.
This commit is contained in:
parent
85bee4f77b
commit
a17a9bdcb3
@ -12,6 +12,7 @@
|
||||
return (x + h(t));
|
||||
}
|
||||
|
||||
/* { dg-final { scan-assembler-times "\\\[0\\\]" 1 } } */
|
||||
/* { dg-final { scan-assembler-times "\\\[0\\\]" 1 { target { aarch64_little_endian } } } } */
|
||||
/* { dg-final { scan-assembler-times "\\\[3\\\]" 1 { target { aarch64_big_endian } } } } */
|
||||
/* { dg-final { scan-assembler-not "dup\t" } } */
|
||||
/* { dg-final { scan-assembler-not "ins\t" } } */
|
||||
|
Loading…
Reference in New Issue
Block a user