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

◆ CreateScalar() [1/10]

static Vector64< byte > System.Runtime.Intrinsics.Vector64< T >.CreateScalar ( byte value)
inlinestatic

Definition at line 329 of file Vector64.cs.

330 {
332 {
333 }
334 return SoftwareFallback(value);
335 static Vector64<byte> SoftwareFallback(byte value)
336 {
337 Vector64<byte> source = Vector64<byte>.Zero;
338 Unsafe.WriteUnaligned(ref Unsafe.As<Vector64<byte>, byte>(ref source), value);
339 return source;
340 }
341 }

References System.Runtime.Intrinsics.Arm.AdvSimd.IsSupported, System.source, System.value, and System.Runtime.Intrinsics.Vector64< T >.Zero.