diff --git a/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/Vector128.cs b/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/Vector128.cs index 9995bc1d447ea8..b161fc782558f2 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/Vector128.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/Vector128.cs @@ -1108,6 +1108,7 @@ public static Vector128 Create(T[] values) /// A new with its elements set to the first elements from . /// is null. /// The length of , starting from , is less than . + [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Vector128 Create(T[] values, int index) where T : struct { @@ -1131,6 +1132,7 @@ public static Vector128 Create(T[] values, int index) /// The readonly span from which the vector is created. /// A new with its elements set to the first elements from . /// The length of is less than . + [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Vector128 Create(ReadOnlySpan values) where T : struct { diff --git a/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/Vector256.cs b/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/Vector256.cs index 27796494f0adef..68a8653ac62e23 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/Vector256.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/Vector256.cs @@ -1122,6 +1122,7 @@ public static Vector256 Create(T[] values) /// A new with its elements set to the first elements from . /// is null. /// The length of , starting from , is less than . + [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Vector256 Create(T[] values, int index) where T : struct { @@ -1145,6 +1146,7 @@ public static Vector256 Create(T[] values, int index) /// The readonly span from which the vector is created. /// A new with its elements set to the first elements from . /// The length of is less than . + [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Vector256 Create(ReadOnlySpan values) where T : struct { diff --git a/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/Vector64.cs b/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/Vector64.cs index b84bae7ab015f1..018d2d70f848e0 100644 --- a/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/Vector64.cs +++ b/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/Vector64.cs @@ -857,6 +857,7 @@ public static Vector64 Create(T[] values) /// A new with its elements set to the first elements from . /// is null. /// The length of , starting from , is less than . + [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Vector64 Create(T[] values, int index) where T : struct { @@ -880,6 +881,7 @@ public static Vector64 Create(T[] values, int index) /// The readonly span from which the vector is created. /// A new with its elements set to the first elements from . /// The length of is less than . + [MethodImpl(MethodImplOptions.AggressiveInlining)] public static Vector64 Create(ReadOnlySpan values) where T : struct {