Skip to content

Commit

Permalink
fix enabling FMA macro for MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
recp committed Apr 19, 2021
1 parent 12dc054 commit 2de1133
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/cglm/simd/x86.h
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ glmm_store3(float v[3], __m128 vx) {
}

/* enable FMA macro for MSVC? */
#if !defined(__FMA__) && defined(__AVX2__)
#if defined(_MSC_VER) && !defined(__FMA__) && defined(__AVX2__)
# define __FMA__ 1
#endif

Expand Down

0 comments on commit 2de1133

Please sign in to comment.