From: Uros Bizjak Date: Sun, 14 Dec 2008 19:51:03 +0000 (+0100) Subject: i386-5.C: Include x86intrin.h. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;ds=sidebyside;h=ef7e6df5d66a5c54e8f5b1bca9ab5fa4f6101da3;p=platform%2Fupstream%2Fgcc.git i386-5.C: Include x86intrin.h. * g++.dg/other/i386-5.C: Include x86intrin.h. * g++.dg/other/i386-6.C: Ditto. From-SVN: r142752 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 0ff2a04..61a9bce 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -27,6 +27,8 @@ (dg-options): Use -mavx instead of -msse4. * g++.dg/other/i386-3.C: Include x86intrin.h. (dg-options): Use -mavx instead of -msse4. + * g++.dg/other/i386-5.C: Include x86intrin.h. + * g++.dg/other/i386-6.C: Ditto. 2008-12-12 Uros Bizjak diff --git a/gcc/testsuite/g++.dg/other/i386-5.C b/gcc/testsuite/g++.dg/other/i386-5.C index d9b5460..ffbd3f3 100644 --- a/gcc/testsuite/g++.dg/other/i386-5.C +++ b/gcc/testsuite/g++.dg/other/i386-5.C @@ -1,9 +1,6 @@ -/* Test that {,x,e,p,t,s,w,g,a,b}mmintrin.h, mm3dnow.h and mm_malloc.h are +/* Test that {,x,e,p,t,s,w,a,b,i}mmintrin.h, mm3dnow.h and mm_malloc.h are usable with -O -fkeep-inline-functions. */ /* { dg-do compile { target i?86-*-* x86_64-*-* } } */ -/* { dg-options "-O -fkeep-inline-functions -march=k8 -m3dnow -maes -mpclmul -mavx -msse5" } */ +/* { dg-options "-O -fkeep-inline-functions -march=k8 -m3dnow -mavx -msse5 -maes -mpclmul" } */ -#include -#include -#include -#include +#include diff --git a/gcc/testsuite/g++.dg/other/i386-6.C b/gcc/testsuite/g++.dg/other/i386-6.C index 15f1d52..2c3cd29 100644 --- a/gcc/testsuite/g++.dg/other/i386-6.C +++ b/gcc/testsuite/g++.dg/other/i386-6.C @@ -1,11 +1,8 @@ -/* Test that {,x,e,p,t,s,w,g,a,b}mmintrin.h, mm3dnow.h and mm_malloc.h are +/* Test that {,x,e,p,t,s,w,a,b,i}mmintrin.h, mm3dnow.h and mm_malloc.h are usable with -O -pedantic-errors. */ /* { dg-do compile { target i?86-*-* x86_64-*-* } } */ /* { dg-options "-O -pedantic-errors -march=k8 -m3dnow -mavx -msse5 -maes -mpclmul" } */ -#include -#include -#include -#include +#include int dummy;