File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
include/ccmath/internal/math/runtime/simd/func/impl Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ namespace ccm::intrin
2727 {
2828 // The cmake performs a test validating if the compiler supports SVML.
2929 // As far as I'm aware, this is the only reliable way to check.
30- #if CCMATH_HAS_SIMD_SVML
30+ #ifdef CCMATH_HAS_SIMD_SVML
3131 return { _mm_pow_ps (a.get (), b.get ()) };
3232 #else
3333 // TODO: Replace this with a refined solution. For the time being this is temporary.
@@ -39,7 +39,7 @@ namespace ccm::intrin
3939 {
4040 // The cmake performs a test validating if the compiler supports SVML.
4141 // As far as I'm aware, this is the only reliable way to check.
42- #if CCMATH_HAS_SIMD_SVML
42+ #ifdef CCMATH_HAS_SIMD_SVML
4343 return { _mm_pow_pd (a.get (), b.get ()) };
4444 #else
4545 // TODO: Replace this with a refined solution. For the time being this is temporary.
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ namespace ccm::intrin
2727 {
2828 // The cmake performs a test validating if the compiler supports SVML.
2929 // As far as I'm aware, this is the only reliable way to check.
30- #if CCMATH_HAS_SIMD_SVML
30+ #ifdef CCMATH_HAS_SIMD_SVML
3131 return { _mm_pow_ps (a.get (), b.get ()) };
3232 #else
3333 // TODO: Replace this with a refined solution. For the time being this is temporary.
@@ -39,7 +39,7 @@ namespace ccm::intrin
3939 {
4040 // The cmake performs a test validating if the compiler supports SVML.
4141 // As far as I'm aware, this is the only reliable way to check.
42- #if defined( CCMATH_HAS_SIMD_SVML)
42+ #ifdef CCMATH_HAS_SIMD_SVML
4343 return { _mm_pow_pd (a.get (), b.get ()) };
4444 #else
4545 // TODO: Replace this with a refined solution. For the time being this is temporary.
You can’t perform that action at this time.
0 commit comments