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
This commit is contained in:
Uros Bizjak 2008-12-14 20:51:03 +01:00 committed by Uros Bizjak
parent 18dd272dfd
commit ef7e6df5d6
3 changed files with 7 additions and 11 deletions

View File

@ -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 <ubizjak@gmail.com>

View File

@ -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 <wmmintrin.h>
#include <bmmintrin.h>
#include <immintrin.h>
#include <mm3dnow.h>
#include <x86intrin.h>

View File

@ -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 <wmmintrin.h>
#include <bmmintrin.h>
#include <immintrin.h>
#include <mm3dnow.h>
#include <x86intrin.h>
int dummy;