OSDN Git Service

* gcc.target/i386/sse-17.c: Include sse2-check.h.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / vect / costmodel / x86_64 / x86_64-costmodel-vect.exp
index ce970ae..66587e1 100644 (file)
@@ -40,7 +40,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