Hello! Compile tests do not need to check assembler for sse support.
2011-09-21 Uros Bizjak <ubiz...@gmail.com> * g++.dg/other/i386-3.C: Remove duplicated dg-options. * g++.dg/other/i386-4.C: Remove dg-requre-effective-target directive. * g++.dg/other/i386-8.C: Ditto. * g++.dg/other/pr34435.C: Ditto. * g++.dg/other/pr39496.C: Ditto. * g++.dg/other/mmintrin.C: Ditto. Tested on x86_64-pc-linux-gnu, committed to mainline SVN. Uros.
Index: g++.dg/other/i386-3.C =================================================================== --- g++.dg/other/i386-3.C (revision 179052) +++ g++.dg/other/i386-3.C (working copy) @@ -1,5 +1,4 @@ /* { dg-do compile { target i?86-*-* x86_64-*-* } } */ -/* { dg-options "-O -fkeep-inline-functions -march=k8 -msse4a -m3dnow -mavx -mfma4 -mxop -maes -mpclmul -mpopcnt -mabm -mlzcnt -mbmi -mtbm -mlwp -mfsgsbase -mrdrnd -mf16c -mfma" } */ /* { dg-options "-O -fkeep-inline-functions -march=k8 -msse4a -m3dnow -mavx -mavx2 -mfma4 -mxop -maes -mpclmul -mpopcnt -mabm -mlzcnt -mbmi -mbmi2 -mtbm -mlwp -mfsgsbase -mrdrnd -mf16c -mfma" } */ /* Test that {,x,e,p,t,s,w,a,b,i}mmintrin.h, mm3dnow.h, fma4intrin.h, Index: g++.dg/other/i386-4.C =================================================================== --- g++.dg/other/i386-4.C (revision 179052) +++ g++.dg/other/i386-4.C (working copy) @@ -1,6 +1,5 @@ /* { dg-do compile { target i?86-*-* x86_64-*-* } } */ /* { dg-options "-O1 -msse2" } */ -/* { dg-require-effective-target sse2 } */ #include <xmmintrin.h> Index: g++.dg/other/i386-8.C =================================================================== --- g++.dg/other/i386-8.C (revision 179052) +++ g++.dg/other/i386-8.C (working copy) @@ -2,7 +2,6 @@ // { dg-do compile { target i?86-*-* x86_64-*-* } } // { dg-options "-O2 -msse2" } // { dg-options "-O2 -msse2 -fpic" { target fpic } } -// { dg-require-effective-target sse2 } #include <xmmintrin.h> Index: g++.dg/other/pr39496.C =================================================================== --- g++.dg/other/pr39496.C (revision 179052) +++ g++.dg/other/pr39496.C (working copy) @@ -1,7 +1,7 @@ // PR target/39496 // { dg-do compile { target { { i?86-*-linux* x86_64-*-linux* } && ia32 } } } // { dg-options "-O0 -fverbose-asm -fno-omit-frame-pointer -mtune=i686 -msse2 -mfpmath=sse" } -// { dg-require-effective-target sse2 } + // Verify that {foo,bar}{,2}param are all passed on the stack, using // normal calling conventions, when not optimizing. // { dg-final { scan-assembler "\[^0-9-\]8\\(%ebp\\),\[^\n\]*fooparam," } } Index: g++.dg/other/pr34435.C =================================================================== --- g++.dg/other/pr34435.C (revision 179052) +++ g++.dg/other/pr34435.C (working copy) @@ -1,6 +1,5 @@ /* { dg-do compile { target i?86-*-* x86_64-*-* } } */ /* { dg-options "-msse2 -Wno-abi" } */ -/* { dg-require-effective-target sse2 } */ #include <emmintrin.h> Index: g++.dg/other/mmintrin.C =================================================================== --- g++.dg/other/mmintrin.C (revision 179052) +++ g++.dg/other/mmintrin.C (working copy) @@ -1,5 +1,4 @@ // { dg-do compile { target i?86-*-* x86_64-*-* } } // { dg-options "-msse" } -// { dg-require-effective-target sse } #include <xmmintrin.h>