Skip to content

Commit

Permalink
build.gradle: #define JPH_USE_FMADD (for Visual C++)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Feb 2, 2025
1 parent e0fe0c4 commit d24780c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ model {
if (targetPlatform.architecture.name == 'x86-64' && project.hasProperty('use_fma')) {
use_fma = true
cppCompiler.define 'JPH_USE_AVX2' // implies SSE4.1, SSE4.2, AVX, F16C, BMI/TZCNT, and LZCNT
cppCompiler.define 'JPH_USE_FMADD'
}

// buildtype-specific CPP defines:
Expand Down

0 comments on commit d24780c

Please sign in to comment.