Line 0
Link Here
|
|
|
1 |
--- src/cpusupport.h.orig 2012-12-17 23:17:07 UTC |
2 |
+++ src/cpusupport.h |
3 |
@@ -33,7 +33,9 @@ |
4 |
on a host without those instructions. Therefore we disable |
5 |
the query both if the compiler isn't supporting SSE, and on |
6 |
targets which are guaranteed to have SSE. */ |
7 |
-# if !defined(__SSE__) || defined(_M_X64) || defined(__amd64__) |
8 |
+/* XXX GCC on FreeBSD 9 does not have <cpuid.h>. On i386, __SSE__ can |
9 |
+ appear with -march=CPU-TYPE, so disable the SSE check completely. */ |
10 |
+# if !defined(__SSE__) || defined(_M_X64) || defined(__amd64__) || defined(__i386__) |
11 |
# define query_cpu_support() 0 |
12 |
# else |
13 |
|