From: Martin Liska Date: Fri, 30 Nov 2018 10:48:51 +0000 (+0100) Subject: Restrict vector extension to use 128bit vectors (PR testsuite/88265). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eea34f203816e71f2fe261b9b8593a01eb01ec81;p=gcc.git Restrict vector extension to use 128bit vectors (PR testsuite/88265). 2018-11-30 Martin Liska PR testsuite/88265 * gfortran.dg/simd-builtins-1.f90: Restrict to 128b vectors. * gfortran.dg/simd-builtins-6.f90: Likewise. From-SVN: r266660 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 1855153f4ec..17de61de796 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2018-11-30 Martin Liska + + PR testsuite/88265 + * gfortran.dg/simd-builtins-1.f90: Restrict to 128b vectors. + * gfortran.dg/simd-builtins-6.f90: Likewise. + 2018-11-29 Andi Kleen * gcc.target/i386/fentryname2.c: New test. diff --git a/gcc/testsuite/gfortran.dg/simd-builtins-1.f90 b/gcc/testsuite/gfortran.dg/simd-builtins-1.f90 index e5ee380943f..6d79ef8dc46 100644 --- a/gcc/testsuite/gfortran.dg/simd-builtins-1.f90 +++ b/gcc/testsuite/gfortran.dg/simd-builtins-1.f90 @@ -1,5 +1,5 @@ ! { dg-do compile { target { i?86-*-linux* x86_64-*-linux* } } } -! { dg-additional-options "-msse2 -nostdinc -Ofast -fpre-include=simd-builtins-1.h -fdump-tree-optimized" } +! { dg-additional-options "-msse2 -mno-avx -nostdinc -Ofast -fpre-include=simd-builtins-1.h -fdump-tree-optimized" } program test_overloaded_intrinsic real(4) :: x4(3200), y4(3200) diff --git a/gcc/testsuite/gfortran.dg/simd-builtins-6.f90 b/gcc/testsuite/gfortran.dg/simd-builtins-6.f90 index 5ff99212cf1..2ffa807e6b6 100644 --- a/gcc/testsuite/gfortran.dg/simd-builtins-6.f90 +++ b/gcc/testsuite/gfortran.dg/simd-builtins-6.f90 @@ -1,5 +1,5 @@ ! { dg-do compile { target { i?86-*-linux* x86_64-*-linux* } } } -! { dg-additional-options "-msse2 -nostdinc -Ofast -fdump-tree-optimized" } +! { dg-additional-options "-msse2 -mno-avx -nostdinc -Ofast -fdump-tree-optimized" } !GCC$ builtin (sin) attributes simd (inbranch) !GCC$ builtin (sinf) attributes simd (notinbranch)