diff options
author | David Schleef <ds@schleef.org> | 2009-02-26 11:42:54 -0800 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2009-02-26 11:42:54 -0800 |
commit | 2234088a4a2da1b2f7a779c58c868eebb45a0bee (patch) | |
tree | 33fa596db2072d4e2873cb4c5330ee9a5832141f | |
parent | 95f40f35f732135bb68e51459827298f7feda283 (diff) | |
download | liboil-2234088a4a2da1b2f7a779c58c868eebb45a0bee.tar.gz |
Add SSE detection support for OpenBSD
Fixes: #20002. Patch from Brad Smith <brad@comstyle.com>
-rw-r--r-- | liboil/liboilcpu-x86.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/liboil/liboilcpu-x86.c b/liboil/liboilcpu-x86.c index ae7261f..e7a1978 100644 --- a/liboil/liboilcpu-x86.c +++ b/liboil/liboilcpu-x86.c @@ -328,10 +328,8 @@ oil_cpu_detect_kernel_support (void) * unmasked SSE FPU exception bug. Other than that, if /proc/cpuinfo * reported SSE, then it's safe. */ -#elif defined(__sun) - /* Solaris is OK */ -#elif defined(__NetBSD__) - /* NetBSD is OK */ +#elif defined(__sun) || defined(__NetBSD__) || defined(__OpenBSD__) + /* Solaris/NetBSD/OpenBSD are OK */ #else OIL_WARNING("Operating system is not known to support SSE. " |