diff options
author | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | 2016-03-30 17:08:08 +0000 |
---|---|---|
committer | Rainer Orth <ro@gcc.gnu.org> | 2016-03-30 17:08:08 +0000 |
commit | e9bff8c6f0125ee1f43ae69550b6dae32428249c (patch) | |
tree | df4c0a215df26190b282b08bc8fb0ddc484755ed | |
parent | 2620c80db02d5e32ffb5b54b80be67fcc7843d20 (diff) | |
download | gcc-e9bff8c6f0125ee1f43ae69550b6dae32428249c.zip gcc-e9bff8c6f0125ee1f43ae69550b6dae32428249c.tar.gz gcc-e9bff8c6f0125ee1f43ae69550b6dae32428249c.tar.bz2 |
Forward-port gcc.target/i386/avx-vextractf128-256-5.c from 5 branch (PR testsuite/70356)
Forward-port from 5 branch
2016-03-30 Jakub Jelinek <jakub@redhat.com>
PR testsuite/70356
* gcc.target/i386/avx-vextractf128-256-5.c: Move
dg-require-effective-target after dg-do.
2015-12-30 Kirill Yukhin <kirill.yukhin@intel.com>
* gcc.target/i386/avx-vextractf128-256-5.c: New test.
From-SVN: r234580
-rw-r--r-- | gcc/testsuite/ChangeLog | 13 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/i386/avx-vextractf128-256-5.c | 12 |
2 files changed, 25 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f4a73a7..505e7d7 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,16 @@ +2016-03-30 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> + + Forward-port from 5 branch + 2016-03-30 Jakub Jelinek <jakub@redhat.com> + + PR testsuite/70356 + * gcc.target/i386/avx-vextractf128-256-5.c: Move + dg-require-effective-target after dg-do. + + 2015-12-30 Kirill Yukhin <kirill.yukhin@intel.com> + + * gcc.target/i386/avx-vextractf128-256-5.c: New test. + 2016-03-30 Thomas Schwinge <thomas@codesourcery.com> Julian Brown <julian@codesourcery.com> Chung-Lin Tang <cltang@codesourcery.com> diff --git a/gcc/testsuite/gcc.target/i386/avx-vextractf128-256-5.c b/gcc/testsuite/gcc.target/i386/avx-vextractf128-256-5.c new file mode 100644 index 0000000..3a1db4b --- /dev/null +++ b/gcc/testsuite/gcc.target/i386/avx-vextractf128-256-5.c @@ -0,0 +1,12 @@ +/* { dg-do assemble { target { ! ia32 } } } */ +/* { dg-require-effective-target avx512f } */ +/* { dg-options "-O2 -mavx512f" } */ + +#include <immintrin.h> + +register __m512d z asm ("zmm16"); /* { dg-warning "call-clobbered register used for global register variable" } */ + +__m128d foo () +{ + return _mm256_extractf128_pd (_mm512_extractf64x4_pd(z, 0), 1); +} |