This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/70356] gcc.target/i386/avx-vextractf128-256-5.c FAILs
- From: "ro at CeBiTec dot Uni-Bielefeld.DE" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 23 Mar 2016 13:53:37 +0000
- Subject: [Bug target/70356] gcc.target/i386/avx-vextractf128-256-5.c FAILs
- Auto-submitted: auto-generated
- References: <bug-70356-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70356
--- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> ---
> --- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
> Seems this test is the only one in gcc.target/i386 that has
> dg-require-effective-target above dg-do.
> Can you please try:
> --- gcc/testsuite/gcc.target/i386/avx-vextractf128-256-5.c 2016-01-28
> 22:02:17.029720615 +0100
> +++ gcc/testsuite/gcc.target/i386/avx-vextractf128-256-5.c 2016-03-22
> 19:18:25.946107764 +0100
> @@ -1,5 +1,5 @@
> -/* { dg-require-effective-target avx512f } */
> /* { dg-do assemble { target { ! ia32 } } } */
> +/* { dg-require-effective-target avx512f } */
> /* { dg-options "-O2 -mavx512f" } */
>
> #include <immintrin.h>
>
> ?
This causes both 32 and 64-bit tests to become UNSUPPORTED because
/bin/as cannot assemble avx512f insns. I don't think that's what this
test intends, though: it's one of very few assemble tests, with no
indication that assembler output is of any relevance. I think the test
should rather be turned into a compile test and the
dg-require-effective-target dropped because it's irrelevant then.
There's most likely more space for cleanup in gcc.target/i386 in this
area: several compile tests with dg-require-effective-target checks for
ISA extensions which don't seem relevant as those checks check if the
insns can be assembled, and some dg-do assemble tests with no indication
why assembly would matter...
Rainer