mirror of
https://github.com/recp/cglm.git
synced 2026-02-17 03:39:05 +00:00
simd, sse2: make alignment optional for load operations
This commit is contained in:
@@ -198,7 +198,7 @@ glm_quat_normalize_to(versor q, versor dest) {
|
||||
__m128 xdot, x0;
|
||||
float dot;
|
||||
|
||||
x0 = _mm_load_ps(q);
|
||||
x0 = glmm_load(q);
|
||||
xdot = glm_simd_dot(x0, x0);
|
||||
dot = _mm_cvtss_f32(xdot);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user