OSDN Git Service

* gcc.target/i386/sse-17.c: Include sse2-check.h.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / vect / costmodel / i386 / i386-costmodel-vect.exp
index 4ffdf99..dbf3b03 100644 (file)
@@ -39,7 +39,11 @@ global dg-do-what-default
 set save-dg-do-what-default ${dg-do-what-default}
 
 lappend DEFAULT_VECTCFLAGS "-msse2"
-set dg-do-what-default run
+if [check_sse2_hw_available] {
+    set dg-do-what-default run
+} else {
+    set dg-do-what-default compile
+}
 
 # Initialize `dg'.
 dg-init