jenkins: 2.479.3 -> 2.492.1
[NixPkgs.git] / pkgs / by-name / xe / xeve / 0002-sse2neon-Cast-to-variable-type.patch
blobb9a9995c8e2e7422a52dd32dbcd3af16de812d2f
1 From d1a480867c0778ee46ff0213e2b1e494afcb67fc Mon Sep 17 00:00:00 2001
2 From: toonn <toonn@toonn.io>
3 Date: Mon, 1 Jul 2024 15:19:37 +0200
4 Subject: [PATCH 2/2] sse2neon: Cast to variable type
6 The `__m128d` type corresponds to `float32x4_t` or `float64x2_t`
7 depending on the platform. The cast cannot explicitly use either type.
8 ---
9 src_base/neon/sse2neon.h | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
12 diff --git a/src_base/neon/sse2neon.h b/src_base/neon/sse2neon.h
13 index 490c0a4..3290fa3 100644
14 --- a/src_base/neon/sse2neon.h
15 +++ b/src_base/neon/sse2neon.h
16 @@ -6003,7 +6003,7 @@ FORCE_INLINE void _mm_storeu_si32(void *p, __m128i a)
17 FORCE_INLINE void _mm_stream_pd(double *p, __m128d a)
19 #if __has_builtin(__builtin_nontemporal_store)
20 - __builtin_nontemporal_store(a, (float32x4_t *) p);
21 + __builtin_nontemporal_store(a, (__m128d *) p);
22 #elif defined(__aarch64__)
23 vst1q_f64(p, vreinterpretq_f64_m128d(a));
24 #else
25 --
26 2.44.1