commit a445a3953d9d6675223353d801f241c0ab581481 parent 910522ee764bd37af842f60f3896ad7753cfb665 Author: Vincent Forest <vincent.forest@meso-star.com> Date: Thu, 10 Jun 2021 20:56:21 +0200 Fix the activation of the SIMD instruction set Diffstat:
| M | src/combustion/htrdr_combustion.c | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/combustion/htrdr_combustion.c b/src/combustion/htrdr_combustion.c @@ -111,7 +111,8 @@ setup_simd cmd->rdgfa_simd = SSF_SIMD_NONE; - if(args->phase_func_type != HTRDR_COMBUSTION_ARGS_PHASE_FUNC_RDGFA) + if(args->phase_func_type != HTRDR_COMBUSTION_ARGS_PHASE_FUNC_RDGFA + || args->use_simd == 0) return RES_OK; /* Nothing to do */ /* Check SIMD support for the RDG-FA phase function */