From eea34f203816e71f2fe261b9b8593a01eb01ec81 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Fri, 30 Nov 2018 11:48:51 +0100 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 6 ++++++ gcc/testsuite/gfortran.dg/simd-builtins-1.f90 | 2 +- gcc/testsuite/gfortran.dg/simd-builtins-6.f90 | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 1855153..17de61d 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 e5ee380..6d79ef8 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 5ff9921..2ffa807 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) -- 2.7.4