changeset 4699:7bf9affe88b6

Use also GCC inline assembler for detecting SSE2 support, because apparently intrinsics get compiled to nothing in some cases where SSE2 is not supported, thus making the test give a false positive upon execution.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 06 Jul 2008 15:33:19 +0300
parents cfc8d1e0c78b
children ee2ef40bcdfb 74134c731db6
files acinclude.m4
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/acinclude.m4	Sun Jul 06 13:55:23 2008 +0200
+++ b/acinclude.m4	Sun Jul 06 15:33:19 2008 +0300
@@ -206,6 +206,7 @@
 int main()
 {
   _mm_setzero_pd();
+  asm volatile("xorpd %xmm0,%xmm0\n\t");
   return 0;
 }
     ],[