Add AllBitsSet, refactor WideLane, improve math paths
- Add static AllBitsSet property to ISPMDLane and implement in ScalarLane and WideLane - Refactor WideLane shuffle table pointers and update usages - Improve pointer safety and mask handling in CompressStore, Gather, and MaskLoad - Enhance Sin, Cos, SinCos with fast-math and hardware fallback - Add Newton-Raphson refinement for reciprocal/sqrt when not fast-math - Optimize MathV.Vector vector loading (struct init, pointer ops) - Update project file: version 1.3.4, content packaging, AOT settings - Minor code cleanup and naming consistency fixes
This commit is contained in:
@@ -16,14 +16,6 @@ public interface ISPMDLane
|
||||
}
|
||||
}
|
||||
|
||||
// TODO:
|
||||
// - ReduceAdd
|
||||
// - ReduceMin
|
||||
// - ReduceMax
|
||||
// - LeadingZeroCount
|
||||
// - TrailingZeroCount
|
||||
// - PopCount
|
||||
|
||||
/// <summary>
|
||||
/// Represents a single-lane or multi-lane (vectorized) SPMD value and the operations supported on it.
|
||||
/// </summary>
|
||||
@@ -65,6 +57,14 @@ public unsafe interface ISPMDLane<TSelf, TNumber> : ISPMDLane, IEquatable<TSelf>
|
||||
get;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a lane value where all bits are set to 1 for each lane.
|
||||
/// </summary>
|
||||
static abstract TSelf AllBitsSet
|
||||
{
|
||||
get;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the element value for the specified lane index.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user