]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
clang has _mm_cvtss_f32 but not __builtin_ia32_vec_ext_v4sf
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 8 Apr 2011 17:49:18 +0000 (17:49 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 8 Apr 2011 17:49:18 +0000 (17:49 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11039 d7cf8633-e32d-0410-b094-e92efae38249

dpsoftrast.c

index 609f444e70bc0a26816d09581e2c6d8bc6231da9..222b71c6666e7e928fee8643588629d74990e7e7 100644 (file)
@@ -73,7 +73,7 @@ typedef qboolean bool;
 #ifdef SSE_POSSIBLE
 #include <emmintrin.h>
 
-#if defined(__GNUC__) && (__GNUC < 4 || __GNUC_MINOR__ < 6)
+#if defined(__GNUC__) && (__GNUC < 4 || __GNUC_MINOR__ < 6) && !defined(__clang__)
        #define _mm_cvtss_f32(val) (__builtin_ia32_vec_ext_v4sf ((__v4sf)(val), 0))
 #endif