diff options
author | Alexandre Oliva <oliva@adacore.com> | 2024-04-28 04:30:30 -0300 |
---|---|---|
committer | Alexandre Oliva <oliva@gnu.org> | 2024-04-28 04:33:25 -0300 |
commit | bc07fa6af54cc67f7fc85cc144f9686fad07f205 (patch) | |
tree | 173794c34e90f2da4b9cab0999b92e6004fa205b /libcpp | |
parent | 6e95dca31c6b4688e0f0a25c9c3aa8a0bedc9056 (diff) | |
download | gcc-bc07fa6af54cc67f7fc85cc144f9686fad07f205.zip gcc-bc07fa6af54cc67f7fc85cc144f9686fad07f205.tar.gz gcc-bc07fa6af54cc67f7fc85cc144f9686fad07f205.tar.bz2 |
[testsuite] require sqrt_insn effective target where needed
Some tests fail on ppc and ppc64 when testing a compiler [with options
for] for a CPU [emulator] that doesn't support the sqrt insn.
The gcc.dg/cdce3.c is one in which the expected shrink-wrap
optimization only takes place when the target CPU supports a sqrt
insn.
The gcc.target/powerpc/pr46728-1[0-4].c tests use -mpowerpc-gpopt and
call sqrt(), which involves the sqrt insn that the target CPU under
test may not support.
Require a sqrt_insn effective target for all the affected tests.
for gcc/testsuite/ChangeLog
* gcc.dg/cdce3.c: Require sqrt_insn effective target.
* gcc.target/powerpc/pr46728-10.c: Likewise. Drop darwin
explicit skipping.
* gcc.target/powerpc/pr46728-11.c: Likewise. Likewise.
* gcc.target/powerpc/pr46728-13.c: Likewise. Likewise.
* gcc.target/powerpc/pr46728-14.c: Likewise. Likewise.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions