pr77761.c: Require int128 effective target.

* gcc.target/i386/pr77761.c: Require int128 effective target.
	(avx512f_test): Delete.
	(do_main): Rename to avx512f_test.

From-SVN: r243367
This commit is contained in:
Uros Bizjak 2016-12-07 16:56:30 +01:00
parent 435f434288
commit 4dfad1fb0d
3 changed files with 11 additions and 11 deletions

View File

@ -111,7 +111,7 @@
2016-12-06 Vladimir Makarov <vmakarov@redhat.com>
target/77761
PR target/77761
* lra-lives.c (process_bb_lives): Update biggest mode for
implicitly used hard reg.

View File

@ -1,3 +1,9 @@
2016-12-07 Uros Bizjak <ubizjak@gmail.com>
* gcc.target/i386/pr77761.c: Require int128 effective target.
(avx512f_test): Delete.
(do_main): Rename to avx512f_test.
2016-12-07 Bin Cheng <bin.cheng@arm.com>
PR tree-optimization/78691
@ -27,7 +33,7 @@
2016-12-06 Vladimir Makarov <vmakarov@redhat.com>
target/77761
PR target/77761
* testsuite/gcc.target/i386/pr77761.c: New.
2016-12-06 Jerry DeLisle <jvdelisle@gcc.gnu.org>

View File

@ -1,5 +1,6 @@
/* { dg-do run } */
/* { dg-options "-O2 -fno-guess-branch-probability -fschedule-insns -fno-tree-ter -mavx512f --param=max-pending-list-length=512" } */
/* { dg-require-effective-target int128 } */
/* { dg-require-effective-target avx512f } */
#include "avx512f-check.h"
@ -29,8 +30,8 @@ foo(u8 x1, u16 x2, u32 x3, u64 x4, v64u8 x5, v64u16 x6, v64u32 x7, v64u64 x8, v6
(v64u128) x8 + x9;
}
int
do_main ()
static void
avx512f_test (void)
{
v64u128 x = foo(1, 0, 0, 0, (v64u8){}, (v64u16){}, (v64u32){}, (v64u64){}, (v64u128){});
@ -45,11 +46,4 @@ do_main ()
__builtin_abort();
if (x[3] != 1)
__builtin_abort();
return 0;
}
static void
avx512f_test (void)
{
do_main ();
}