From c37da7c0e8d022f4ad85bd0adf7f80886df9c94e Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Thu, 16 Aug 2018 20:52:26 +0200 Subject: [PATCH] re PR testsuite/86745 (gcc.target/i386/avx-cvt-2.c etc. FAIL on 64-bit x86) PR testsuite/86745 * gcc.target/i386/avx-cvt-2.c: Loosen scan-assembler strings. * gcc.target/i386/avx-cvt-2.c: Ditto. From-SVN: r263598 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gcc.target/i386/avx-cvt-2.c | 12 ++++++------ gcc/testsuite/gcc.target/i386/avx2-cvt-2.c | 12 ++++++------ 3 files changed, 18 insertions(+), 12 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index cb402d46c63..7996e2cc28c 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2018-08-15 Uros Bizjak + + PR testsuite/86745 + * gcc.target/i386/avx-cvt-2.c: Loosen scan-assembler strings. + * gcc.target/i386/avx-cvt-2.c: Ditto. + 2018-08-16 David Malcolm PR c++/70693 diff --git a/gcc/testsuite/gcc.target/i386/avx-cvt-2.c b/gcc/testsuite/gcc.target/i386/avx-cvt-2.c index 1fbcf6e5025..672ce060b1a 100644 --- a/gcc/testsuite/gcc.target/i386/avx-cvt-2.c +++ b/gcc/testsuite/gcc.target/i386/avx-cvt-2.c @@ -4,9 +4,9 @@ #include "avx-cvt-1.c" /* { dg-final { scan-tree-dump-times "vectorized 1 loops in function" 6 "vect" } } */ -/* { dg-final { scan-assembler "vcvttpd2dq(y\[^\n\r\]*%xmm|\[^\n\r\]*xmm\[^\n\r\]*YMMWORD PTR)" } } */ -/* { dg-final { scan-assembler "vcvtdq2ps\[^\n\r\]*ymm" } } */ -/* { dg-final { scan-assembler "vcvtps2pd\[^\n\r\]*(%xmm\[^\n\r\]*%ymm|ymm\[^\n\r\]*xmm)" } } */ -/* { dg-final { scan-assembler "vcvttps2dq\[^\n\r\]*ymm" } } */ -/* { dg-final { scan-assembler "vcvtdq2pd\[^\n\r\]*(%xmm\[^\n\r\]*%ymm|ymm\[^\n\r\]*xmm)" } } */ -/* { dg-final { scan-assembler "vcvtpd2ps(y\[^\n\r\]*%xmm|\[^\n\r\]*xmm\[^\n\r\]*YMMWORD PTR)" } } */ +/* { dg-final { scan-assembler "vcvttpd2dq" } } */ +/* { dg-final { scan-assembler "vcvtdq2ps" } } */ +/* { dg-final { scan-assembler "vcvtps2pd" } } */ +/* { dg-final { scan-assembler "vcvttps2dq" } } */ +/* { dg-final { scan-assembler "vcvtdq2pd" } } */ +/* { dg-final { scan-assembler "vcvtpd2ps" } } */ diff --git a/gcc/testsuite/gcc.target/i386/avx2-cvt-2.c b/gcc/testsuite/gcc.target/i386/avx2-cvt-2.c index d37809da81b..633a1cd1d45 100644 --- a/gcc/testsuite/gcc.target/i386/avx2-cvt-2.c +++ b/gcc/testsuite/gcc.target/i386/avx2-cvt-2.c @@ -4,9 +4,9 @@ #include "avx2-cvt-1.c" /* { dg-final { scan-tree-dump-times "vectorized 1 loops in function" 6 "vect" } } */ -/* { dg-final { scan-assembler "vcvttpd2dq(y\[^\n\r\]*%xmm|\[^\n\r\]*xmm\[^\n\r\]*YMMWORD PTR)" } } */ -/* { dg-final { scan-assembler "vcvtdq2ps\[^\n\r\]*ymm" } } */ -/* { dg-final { scan-assembler "vcvtps2pd\[^\n\r\]*(%xmm\[^\n\r\]*%ymm|ymm\[^\n\r\]*xmm)" } } */ -/* { dg-final { scan-assembler "vcvttps2dq\[^\n\r\]*ymm" } } */ -/* { dg-final { scan-assembler "vcvtdq2pd\[^\n\r\]*(%xmm\[^\n\r\]*%ymm|ymm\[^\n\r\]*xmm)" } } */ -/* { dg-final { scan-assembler "vcvtpd2ps(y\[^\n\r\]*%xmm|\[^\n\r\]*xmm\[^\n\r\]*YMMWORD PTR)" } } */ +/* { dg-final { scan-assembler "vcvttpd2dq" } } */ +/* { dg-final { scan-assembler "vcvtdq2ps" } } */ +/* { dg-final { scan-assembler "vcvtps2pd" } } */ +/* { dg-final { scan-assembler "vcvttps2dq" } } */ +/* { dg-final { scan-assembler "vcvtdq2pd" } } */ +/* { dg-final { scan-assembler "vcvtpd2ps" } } */ -- 2.30.2