瀏覽代碼

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.
Nico Weber 1 年之前
父節點
當前提交
41f57a5477
共有 1 個文件被更改,包括 0 次插入14 次删除
  1. 0 14
      AK/SIMDMath.h

+ 0 - 14
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