mirror of
https://github.com/recp/cglm.git
synced 2026-02-17 03:39:05 +00:00
simd128: fix tests for vec4_norm_one and vec4_norm_inf
This commit is contained in:
@@ -102,7 +102,7 @@ _mm_set_ps(float __z, float __y, float __x, float __w)
|
|||||||
static inline
|
static inline
|
||||||
glmm_128
|
glmm_128
|
||||||
glmm_abs(glmm_128 x) {
|
glmm_abs(glmm_128 x) {
|
||||||
return wasm_v128_andnot(wasm_f32x4_splat(-0.0f), x);
|
return wasm_v128_andnot(x, wasm_f32x4_splat(-0.0f));
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline
|
static inline
|
||||||
|
|||||||
Reference in New Issue
Block a user