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

◆ Create() [27/30]

static Vector128< short > System.Runtime.Intrinsics.Vector128< T >.Create ( Vector64< short > lower,
Vector64< short > upper )
inlinestatic

Definition at line 496 of file Vector128.cs.

497 {
499 {
500 }
501 return SoftwareFallback(lower, upper);
502 static Vector128<short> SoftwareFallback(Vector64<short> lower, Vector64<short> upper)
503 {
504 Vector128<short> source = Vector128<short>.Zero;
505 ref Vector64<short> reference = ref Unsafe.As<Vector128<short>, Vector64<short>>(ref source);
506 reference = lower;
507 Unsafe.Add(ref reference, 1) = upper;
508 return source;
509 }
510 }

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