aboutsummaryrefslogtreecommitdiff
path: root/src/vectors-8-SSE2.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-11-30 13:11:46 +0100
committerAnton Khirnov <anton@khirnov.net>2022-11-30 13:11:46 +0100
commit31d270db5b5d8fa660fa498cdeecdd20b09e4462 (patch)
tree04e92a5c1004f658e42f450de8d51ff5acbbfa5c /src/vectors-8-SSE2.h
parent328cf5da6fd3b584508a1b634f5985bf10c86424 (diff)
SSE/AVX: always use unaligned loadsHEADmaster
Diffstat (limited to 'src/vectors-8-SSE2.h')
-rw-r--r--src/vectors-8-SSE2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vectors-8-SSE2.h b/src/vectors-8-SSE2.h
index b6dcfa6..f8a96dc 100644
--- a/src/vectors-8-SSE2.h
+++ b/src/vectors-8-SSE2.h
@@ -161,7 +161,7 @@ CCTK_BOOLEAN8 vec8_eltb(CCTK_BOOLEAN8_VEC const x, std::ptrdiff_t const d)
static inline CCTK_ATTRIBUTE_ALWAYS_INLINE
CCTK_REAL8_VEC vec8_load(CCTK_REAL8 const& p)
{
- return _mm_load_pd(&p);
+ return _mm_loadu_pd(&p);
}
static inline CCTK_ATTRIBUTE_ALWAYS_INLINE
CCTK_REAL8_VEC vec8_loadu(CCTK_REAL8 const& p)