Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Create() [12/30]

static Vector256< sbyte > System.Runtime.Intrinsics.Vector256< T >.Create ( sbyte value)
inlinestatic

Definition at line 191 of file Vector256.cs.

192 {
193 if (Avx.IsSupported)
194 {
195 return Create(value);
196 }
197 return SoftwareFallback(value);
198 unsafe static Vector256<sbyte> SoftwareFallback(sbyte value)
199 {
200 sbyte* source = stackalloc sbyte[32]
201 {
205 value, value
206 };
207 return Unsafe.AsRef<Vector256<sbyte>>(source);
208 }
209 }
static Vector256< byte > Create(byte value)
Definition Vector256.cs:105
static new bool IsSupported
Definition Avx.cs:15

References System.Runtime.Intrinsics.Vector256< T >.Create(), System.Runtime.Intrinsics.X86.Avx.IsSupported, System.source, and System.value.