From 41f57a5477125ed88076960aea158b66e8e592d0 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Mon, 29 Jan 2024 15:28:31 -0500 Subject: [PATCH] AK: Remove the SIMD version of rsqrt() too, for good measure No strong reason to remove this one, other than that it's also unused. --- AK/SIMDMath.h | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/AK/SIMDMath.h b/AK/SIMDMath.h index 28df4004e3..d69210cbcc 100644 --- a/AK/SIMDMath.h +++ b/AK/SIMDMath.h @@ -89,20 +89,6 @@ ALWAYS_INLINE static f32x4 sqrt(f32x4 v) #endif } -ALWAYS_INLINE static f32x4 rsqrt(f32x4 v) -{ -#if ARCH(X86_64) - return __builtin_ia32_rsqrtps(v); -#else - return f32x4 { - 1.f / AK::sqrt(v[0]), - 1.f / AK::sqrt(v[1]), - 1.f / AK::sqrt(v[2]), - 1.f / AK::sqrt(v[3]), - }; -#endif -} - } #pragma GCC diagnostic pop