mirror of
https://github.com/recp/cglm.git
synced 2025-10-04 01:00:46 +00:00
win, msvc: enable FMA macro for MSVC
This commit is contained in:
@@ -197,6 +197,11 @@ glmm_store3(float v[3], __m128 vx) {
|
||||
_mm_store_ss(&v[2], glmm_shuff1(vx, 2, 2, 2, 2));
|
||||
}
|
||||
|
||||
/* enable FMA macro for MSVC? */
|
||||
#if !defined(__FMA__) && defined(__AVX2__)
|
||||
# define __FMA__ 1
|
||||
#endif
|
||||
|
||||
static inline
|
||||
__m128
|
||||
glmm_fmadd(__m128 a, __m128 b, __m128 c) {
|
||||
|
Reference in New Issue
Block a user