mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
gh-116116: Backport blake2 change to fix building with clang-cl on windows-i686 (GH-116117)
This commit is contained in:
parent
0adfa8482d
commit
9b9e819b51
4 changed files with 8 additions and 6 deletions
|
|
@ -27,7 +27,7 @@
|
|||
#if defined(HAVE_SSE2)
|
||||
#include <emmintrin.h>
|
||||
// MSVC only defines _mm_set_epi64x for x86_64...
|
||||
#if defined(_MSC_VER) && !defined(_M_X64)
|
||||
#if defined(_MSC_VER) && !defined(_M_X64) && !defined(__clang__)
|
||||
static inline __m128i _mm_set_epi64x( const uint64_t u1, const uint64_t u0 )
|
||||
{
|
||||
return _mm_set_epi32( u1 >> 32, u1, u0 >> 32, u0 );
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
#if defined(HAVE_SSE2)
|
||||
#include <emmintrin.h>
|
||||
// MSVC only defines _mm_set_epi64x for x86_64...
|
||||
#if defined(_MSC_VER) && !defined(_M_X64)
|
||||
#if defined(_MSC_VER) && !defined(_M_X64) && !defined(__clang__)
|
||||
static inline __m128i _mm_set_epi64x( const uint64_t u1, const uint64_t u0 )
|
||||
{
|
||||
return _mm_set_epi32( u1 >> 32, u1, u0 >> 32, u0 );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue