OSDN Git Service

Add BMI2 support.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / other / i386-2.C
1 /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
2 /* { dg-options "-O -pedantic-errors -march=k8 -msse4a -m3dnow -mavx -mfma4 -mxop -maes -mpclmul -mpopcnt -mabm -mlzcnt -mbmi -mbmi2 -mtbm -mlwp -mfsgsbase -mrdrnd -mf16c" } */
3
4 /* Test that {,x,e,p,t,s,w,a,b,i}mmintrin.h, mm3dnow.h, fma4intrin.h,
5    xopintrin.h, abmintrin.h, bmiintrin.h, tbmintrin.h, lwpintrin.h,
6    popcntintrin.h and mm_malloc.h.h are usable with -O -pedantic-errors.  */
7
8 #include <x86intrin.h>
9
10 int dummy;
11