From e062163aa4356c1f5b242fc242f4740f5d17b95c Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sun, 26 Dec 2021 12:50:46 +0900 Subject: [PATCH] [simd] Remove some intrinsics dependencies Not sure why I used intrinsics at the time. Probably wasn't comfortable getting gcc to do what I wanted. --- include/QF/simd/vec4f.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/include/QF/simd/vec4f.h b/include/QF/simd/vec4f.h index 4cf370101..6bb0ae4ec 100644 --- a/include/QF/simd/vec4f.h +++ b/include/QF/simd/vec4f.h @@ -110,11 +110,7 @@ vabsf (vec4f_t v) { const uint32_t nan = ~0u >> 1; const vec4i_t abs = { nan, nan, nan, nan }; -#ifndef __SSE__ return (vec4f_t) ((vec4i_t) v & abs); -#else - return _mm_and_ps (v, (__m128) abs); -#endif } #ifndef IMPLEMENT_VEC4F_Funcs @@ -319,11 +315,7 @@ vec4f_t qconjf (vec4f_t q) { const vec4i_t neg = { 1u << 31, 1u << 31, 1u << 31, 0 }; -#ifndef __SSE__ return (vec4f_t) ((vec4i_t) q ^ neg); -#else - return _mm_xor_ps (q, (__m128) neg); -#endif } #ifndef IMPLEMENT_VEC4F_Funcs