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

◆ Create() [4/30]

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

Definition at line 126 of file Vector256.cs.

127 {
128 if (Avx.IsSupported)
129 {
130 return Create(value);
131 }
132 return SoftwareFallback(value);
133 unsafe static Vector256<double> SoftwareFallback(double value)
134 {
135 double* source = stackalloc double[4] { value, value, value, value };
136 return Unsafe.AsRef<Vector256<double>>(source);
137 }
138 }
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.