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

◆ WithUpper< T >()

static Vector128< T > System.Runtime.Intrinsics.Vector128< T >.WithUpper< T > ( this Vector128< T > vector,
Vector64< T > value )
inlinestatic
Type Constraints
T :struct 

Definition at line 967 of file Vector128.cs.

967 : struct
968 {
970 {
971 }
972 return SoftwareFallback(vector, value);
973 static Vector128<T> SoftwareFallback(Vector128<T> vector, Vector64<T> value)
974 {
975 ThrowHelper.ThrowForUnsupportedIntrinsicsVectorBaseType<T>();
976 Vector128<T> source = vector;
977 Unsafe.Add(ref Unsafe.As<Vector128<T>, Vector64<T>>(ref source), 1) = value;
978 return source;
979 }
980 }

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