Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-gnome
Path: blob/main/astro/boinc-setiathome/files/patch-client_vector_x86__ops.h
16147 views
1
--- client/vector/x86_ops.h.orig 2018-01-14 23:02:12 UTC
2
+++ client/vector/x86_ops.h
3
@@ -137,8 +137,10 @@
4
// SSE2 specific functions/macros here.
5
#if defined(_MSC_VER) || defined(__clang__)
6
typedef __m128d x86_m128d;
7
+typedef __m128i x86_m128i;
8
#else
9
typedef double x86_m128d __attribute__ ((mode(V2DF))) __attribute__((aligned(16)));
10
+typedef int x86_m128i __attribute__ ((mode(V4SI))) __attribute__((aligned(16)));
11
#endif
12
#endif
13
14
@@ -146,10 +148,8 @@ typedef double x86_m128d __attribute__ ((mode(V2DF)))
15
// SSE specific functions/macros here.
16
#if defined(_MSC_VER) || defined(__clang__)
17
typedef __m128 x86_m128;
18
-typedef __m128i x86_m128i;
19
#else
20
typedef float x86_m128 __attribute__ ((mode(V4SF))) __attribute__((aligned(16)));
21
-typedef int x86_m128i __attribute__ ((mode(V4SI))) __attribute__((aligned(16)));
22
#endif
23
24
static inline void prefetcht0(const void *v) {
25
26