1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 22:08:10 +00:00

AK: Remove i686 support

This commit is contained in:
Liav A 2022-10-04 03:32:20 +03:00 committed by Andreas Kling
parent 91db482ad3
commit feeb25bcee
5 changed files with 26 additions and 38 deletions

View file

@ -6,9 +6,7 @@
#pragma once
#ifndef __SSE__
# include <AK/Math.h>
#endif
#include <AK/Math.h>
#include <AK/SIMD.h>
#include <AK/SIMDExtras.h>
#include <math.h>
@ -70,7 +68,7 @@ ALWAYS_INLINE static f32x4 exp(f32x4 v)
ALWAYS_INLINE static f32x4 sqrt(f32x4 v)
{
#ifdef __SSE__
#if ARCH(x86_64)
return __builtin_ia32_sqrtps(v);
#else
return f32x4 {
@ -84,7 +82,7 @@ ALWAYS_INLINE static f32x4 sqrt(f32x4 v)
ALWAYS_INLINE static f32x4 rsqrt(f32x4 v)
{
#ifdef __SSE__
#if ARCH(x86_64)
return __builtin_ia32_rsqrtps(v);
#else
return f32x4 {