diff --git a/BeefLibs/corlib/src/Numerics/X86/SSE.bf b/BeefLibs/corlib/src/Numerics/X86/SSE.bf index 3c729924..3a91c1d5 100644 --- a/BeefLibs/corlib/src/Numerics/X86/SSE.bf +++ b/BeefLibs/corlib/src/Numerics/X86/SSE.bf @@ -4,6 +4,15 @@ namespace System.Numerics.X86 { public static bool IsSupported => Runtime.Features.SSE; + [Inline] + public static v128 add_ps(v128 a, v128 b) => (.) ((float4) a + (float4) b); + [Inline] + public static v128 sub_ps(v128 a, v128 b) => (.) ((float4) a - (float4) b); + [Inline] + public static v128 mul_ps(v128 a, v128 b) => (.) ((float4) a * (float4) b); + [Inline] + public static v128 div_ps(v128 a, v128 b) => (.) ((float4) a / (float4) b); + [Inline] public static v128 min_ps(v128 a, v128 b) => (.) float4.min((.) a, (.) b); [Inline]