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

◆ Create() [12/17]

static Vector64< short > System.Runtime.Intrinsics.Vector64< T >.Create ( short value)
inlinestatic

Definition at line 115 of file Vector64.cs.

116 {
118 {
119 }
120 return SoftwareFallback(value);
121 unsafe static Vector64<short> SoftwareFallback(short value)
122 {
123 short* source = stackalloc short[4] { value, value, value, value };
124 return Unsafe.AsRef<Vector64<short>>(source);
125 }
126 }

References System.Runtime.Intrinsics.Arm.AdvSimd.IsSupported, System.source, and System.value.