simd, sse2: make alignment optional for load operations

This commit is contained in:
Recep Aslantas
2018-05-08 15:25:23 +03:00
parent 0f339c5c03
commit 252bf925fc
9 changed files with 118 additions and 110 deletions

View File

@@ -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);