From: Uros Bizjak Date: Wed, 7 Dec 2016 15:56:30 +0000 (+0100) Subject: pr77761.c: Require int128 effective target. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4dfad1fb0d38174a3c51a4762ab690a11f966212;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5556c78eb06..966af5c56c0 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -111,7 +111,7 @@ 2016-12-06 Vladimir Makarov - target/77761 + PR target/77761 * lra-lives.c (process_bb_lives): Update biggest mode for implicitly used hard reg. diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index eeeae2ec16d..1d6195896dc 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2016-12-07 Uros Bizjak + + * gcc.target/i386/pr77761.c: Require int128 effective target. + (avx512f_test): Delete. + (do_main): Rename to avx512f_test. + 2016-12-07 Bin Cheng PR tree-optimization/78691 @@ -27,7 +33,7 @@ 2016-12-06 Vladimir Makarov - target/77761 + PR target/77761 * testsuite/gcc.target/i386/pr77761.c: New. 2016-12-06 Jerry DeLisle diff --git a/gcc/testsuite/gcc.target/i386/pr77761.c b/gcc/testsuite/gcc.target/i386/pr77761.c index a39b3afb469..213a93f677a 100644 --- a/gcc/testsuite/gcc.target/i386/pr77761.c +++ b/gcc/testsuite/gcc.target/i386/pr77761.c @@ -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 (); }