rewrite of f32 fma, and other optmization of simd kernel ops
This commit is contained in:
@@ -68,6 +68,11 @@ namespace StgSharp.HighPerformance
|
||||
return Vec.AsVector4();
|
||||
}
|
||||
|
||||
public void BroadCastFrom<T>(T value) where T: unmanaged, INumber<T>
|
||||
{
|
||||
Vec = Vector128.CreateScalarUnsafe(value).As<T, float>();
|
||||
}
|
||||
|
||||
public override readonly bool Equals([NotNullWhen(true)] object obj)
|
||||
{
|
||||
return obj is M128 other && this == other;
|
||||
|
||||
Reference in New Issue
Block a user