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

◆ CreateScalar() [6/10]

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

Definition at line 396 of file Vector64.cs.

397 {
399 {
400 }
401 return SoftwareFallback(value);
402 static Vector64<sbyte> SoftwareFallback(sbyte value)
403 {
404 Vector64<sbyte> source = Vector64<sbyte>.Zero;
405 Unsafe.WriteUnaligned(ref Unsafe.As<Vector64<sbyte>, byte>(ref source), value);
406 return source;
407 }
408 }

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