Skip to content

Commit

Permalink
fix glmm_fmsub() on arm-neon
Browse files Browse the repository at this point in the history
  • Loading branch information
recp committed Dec 10, 2023
1 parent 7ccf199 commit 8a1d1cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/cglm/simd/arm.h
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ glmm_fmsub(float32x4_t a, float32x4_t b, float32x4_t c) {
#if CGLM_ARM64
return vfmsq_f32(c, a, b);
#else
return vmlsq_f32(c, a, b);
return vmlsq_f32(vnegq_f32(c), a, b);
#endif
}

Expand Down

0 comments on commit 8a1d1cf

Please sign in to comment.