arrm, neon: use negate instruction instead of xor in glm_inv_tr_neon()

This commit is contained in:
Recep Aslantas
2021-05-07 01:52:12 +03:00
parent 7f9585ca72
commit 5c22ca3abb
2 changed files with 3 additions and 3 deletions

View File

@@ -97,7 +97,7 @@ glm_inv_tr_neon(mat4 mat) {
x0 = glmm_fmadd(r0, glmm_splat_w(r0),
glmm_fmadd(r1, glmm_splat_w(r1),
vmulq_f32(r2, glmm_splat_w(r2))));
x0 = glmm_xor(x0, glmm_set1(-0.f));
x0 = vnegq_f32(x0);
glmm_store(mat[0], r0);
glmm_store(mat[1], r1);