Skip to content

Commit 5661009

Browse files
authored
Vector128 wrong throw helper call (#101258)
Create<T>(Vector64<T>, Vector64<T>) should use ThrowHelper.ThrowForUnsupportedIntrinsicsVector128BaseType<T> instead of the Vector256 one.
1 parent ef465c1 commit 5661009

File tree

1 file changed

+1
-1
lines changed
  • src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics

1 file changed

+1
-1
lines changed

src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/Vector128.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1041,7 +1041,7 @@ public static Vector128<T> Create<T>(Vector64<T> lower, Vector64<T> upper)
10411041
}
10421042
else
10431043
{
1044-
ThrowHelper.ThrowForUnsupportedIntrinsicsVector256BaseType<T>();
1044+
ThrowHelper.ThrowForUnsupportedIntrinsicsVector128BaseType<T>();
10451045
Unsafe.SkipInit(out Vector128<T> result);
10461046

10471047
result.SetLowerUnsafe(lower);

0 commit comments

Comments
 (0)