diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2025-03-17 23:37:25 +0000 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2025-03-25 12:57:59 +0000 |
commit | 52df53079310cad5b6aad68ae6594d375a844272 (patch) | |
tree | d250194256b41b20b38b34ae1f9754a4007e2cc0 /gcc | |
parent | e8ada4131657f7dc61f53fe49daaf96a1d1c6774 (diff) | |
download | gcc-52df53079310cad5b6aad68ae6594d375a844272.zip gcc-52df53079310cad5b6aad68ae6594d375a844272.tar.gz gcc-52df53079310cad5b6aad68ae6594d375a844272.tar.bz2 |
testsuite: aarch64: restore torture options in bf16_dup.c
Remove dg-options, so that the test is executed as expected using the
options defined by advsimd-intrinsics.exp.
(Previously we pretend we do, but in fact all torture options are
silently overriden with -O2)
We skip it at -O0, because the tested optimizations does not take
place at this level.
gcc/testsuite/
* gcc.target/aarch64/advsimd-intrinsics/bf16_dup.c: Remove
dg-options.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/bf16_dup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/bf16_dup.c b/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/bf16_dup.c index c42c7ac..da9370b 100644 --- a/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/bf16_dup.c +++ b/gcc/testsuite/gcc.target/aarch64/advsimd-intrinsics/bf16_dup.c @@ -1,6 +1,6 @@ /* { dg-do assemble { target { aarch64*-*-* } } } */ +/* { dg-skip-if "no optimizations" { *-*-* } { "-O0" } { "" } } */ /* { dg-require-effective-target arm_v8_2a_bf16_neon_ok } */ -/* { dg-options "-O2" } */ /* { dg-add-options arm_v8_2a_bf16_neon } */ /* { dg-additional-options "-save-temps" } */ |