From 4d0a0a7025943916aadcbe6d2def2b9f351ce7e2 Mon Sep 17 00:00:00 2001 From: Recep Aslantas Date: Sun, 9 Feb 2025 15:30:49 +0300 Subject: [PATCH] Update wasm.h --- include/cglm/simd/wasm.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/cglm/simd/wasm.h b/include/cglm/simd/wasm.h index d9a18cd..69f8301 100644 --- a/include/cglm/simd/wasm.h +++ b/include/cglm/simd/wasm.h @@ -14,8 +14,9 @@ #define glmm_load(p) wasm_v128_load(p) #define glmm_store(p, a) wasm_v128_store(p, (a)) -#define glmm_set1(x) wasm_f32x4_splat(x) -#define glmm_128 v128_t +#define glmm_set1(x) wasm_f32x4_splat(x) +#define glmm_set1_rval(x) wasm_f32x4_splat(x) +#define glmm_128 v128_t #define glmm_shuff1(xmm, z, y, x, w) wasm_i32x4_shuffle(xmm, xmm, w, x, y, z)