From 1d804781de080f5103a0bf4109b72af3e32ca50f Mon Sep 17 00:00:00 2001 From: Luigi Castelli Date: Mon, 26 Aug 2019 15:37:44 +0200 Subject: [PATCH] swapped argument order in glmm_store3() (#102) close https://github.com/recp/cglm/issues/101 --- include/cglm/simd/x86.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/cglm/simd/x86.h b/include/cglm/simd/x86.h index 2e0b7b5..418cde0 100644 --- a/include/cglm/simd/x86.h +++ b/include/cglm/simd/x86.h @@ -133,7 +133,7 @@ glmm_load3(float v[3]) { static inline void -glmm_store3(__m128 vx, float v[3]) { +glmm_store3(float v[3], __m128 vx) { _mm_storel_pi((__m64 *)&v[0], vx); _mm_store_ss(&v[2], glmm_shuff1(vx, 2, 2, 2, 2)); }