From 86ae603850bec3af997bcd0095104b194f01c1ae Mon Sep 17 00:00:00 2001 From: arthurdead Date: Mon, 29 Aug 2022 14:51:55 -0300 Subject: [PATCH] add bmi gcc flag --- joltphysics/joltphysics_settings.vpc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/joltphysics/joltphysics_settings.vpc b/joltphysics/joltphysics_settings.vpc index eaab369..bafb93b 100644 --- a/joltphysics/joltphysics_settings.vpc +++ b/joltphysics/joltphysics_settings.vpc @@ -15,7 +15,7 @@ $Configuration // CPU feature macros, we may want to tune these before release. $PreprocessorDefinitions "$BASE;JPH_USE_SSE4_1;JPH_USE_SSE4_2;JPH_USE_LZCNT;JPH_USE_TZCNT;JPH_USE_F16C;JPH_USE_FMADD" - $GCC_ExtraCompilerFlags "$BASE -msse4.1 -msse4.2 -mlzcnt -mf16c -mfma" + $GCC_ExtraCompilerFlags "$BASE -msse4.1 -msse4.2 -mlzcnt -mbmi -mf16c -mfma" // We DO want to comment this line out for release, AVX 1 & 2 adoption isn't reliable enough yet // $EnableEnhancedInstructionSet "Advanced Vector Extensions 2 (/arch:AVX2)" [$DEVELOPMENT_ONLY]