sse2: fix functions which only exist for 64-bit when targeting 32-bit
@@ -1129,7 +1129,7 @@ simde_mm_cvtsd_si32 (simde__m128d a) {
SIMDE__FUNCTION_ATTRIBUTES
int32_t
simde_mm_cvtsd_si64 (simde__m128d a) {
-#if defined(SIMDE_SSE2_NATIVE)
+#if defined(SIMDE_SSE2_NATIVE) && defined(SIMDE_ARCH_AMD64)
#if defined(__PGI)
return _mm_cvtsd_si64x(a.n);
#else
@@ -1213,7 +1213,7 @@ simde_mm_cvtsi32_si128 (int32_t a) {
SIMDE__FUNCTION_ATTRIBUTES
simde__m128d
simde_mm_cvtsi64_sd (simde__m128d a, int32_t b) {
-#if defined(SIMDE_SSE2_NATIVE)
+#if defined(SIMDE_SSE2_NATIVE) && defined(SIMDE_ARCH_AMD64)
#if !defined(__PGI)
return SIMDE__M128D_C(_mm_cvtsi64_sd(a.n, b));
#else
@@ -1311,7 +1311,7 @@ simde_mm_cvttsd_si32 (simde__m128d a) {
SIMDE__FUNCTION_ATTRIBUTES
int64_t
simde_mm_cvttsd_si64 (simde__m128d a) {
-#if defined(SIMDE_SSE2_NATIVE)
+#if defined(SIMDE_SSE2_NATIVE) && defined(SIMDE_ARCH_AMD64)
#if !defined(__PGI)
return _mm_cvttsd_si64(a.n);
#else
