From 2d41a96b268c9973f6f8046521885745de3862bc Mon Sep 17 00:00:00 2001 From: Alex Guteniev Date: Fri, 9 Feb 2024 23:13:31 +0200 Subject: [PATCH 1/2] Return after SSE2 code Fixes #4371 --- stl/src/vector_algorithms.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stl/src/vector_algorithms.cpp b/stl/src/vector_algorithms.cpp index 66f8895758f..9f99a223d94 100644 --- a/stl/src/vector_algorithms.cpp +++ b/stl/src/vector_algorithms.cpp @@ -1918,6 +1918,8 @@ __declspec(noalias) void __stdcall __std_bitset_to_string_1( _Dest[_Ix] = _Tmpd[_Ix]; } } + + return; } #endif // !defined(_M_ARM64EC) const auto _Arr = reinterpret_cast(_Src); @@ -1956,6 +1958,8 @@ __declspec(noalias) void __stdcall __std_bitset_to_string_2( _Dest[_Ix] = _Tmpd[_Ix]; } } + + return; } #endif // !defined(_M_ARM64EC) const auto _Arr = reinterpret_cast(_Src); From 2e9a08ae767867a19a1ef76ae4d502b8aa84cf56 Mon Sep 17 00:00:00 2001 From: Alex Guteniev Date: Fri, 9 Feb 2024 23:28:01 +0200 Subject: [PATCH 2/2] format --- stl/src/vector_algorithms.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stl/src/vector_algorithms.cpp b/stl/src/vector_algorithms.cpp index 9f99a223d94..b1e8cfccce7 100644 --- a/stl/src/vector_algorithms.cpp +++ b/stl/src/vector_algorithms.cpp @@ -1958,7 +1958,7 @@ __declspec(noalias) void __stdcall __std_bitset_to_string_2( _Dest[_Ix] = _Tmpd[_Ix]; } } - + return; } #endif // !defined(_M_ARM64EC)