diff --git a/lib/src/phy/phch/test/CMakeLists.txt b/lib/src/phy/phch/test/CMakeLists.txt index 5e39926d1..ad3361e6f 100644 --- a/lib/src/phy/phch/test/CMakeLists.txt +++ b/lib/src/phy/phch/test/CMakeLists.txt @@ -202,8 +202,14 @@ foreach (nof_prb 6 15 25 50 75 100) foreach (nof_ports 1 2) foreach (cfi 1 2 3) foreach (snr auto 15 300) - set(pdcch_test_args "") - set(pdcch_test_args -n ${nof_prb} -p ${nof_ports} -f ${cfi} -S ${snr} -R 1 -F) + # Build PDCCH test arguments + set(pdcch_test_args -n ${nof_prb} -p ${nof_ports} -f ${cfi} -S ${snr} -R 1) + + # The current Viterbi decoder implementation for SSE and NEON does not perform good enough to pass the + # test without false detection. So, enable false alarm check in AVX2 based machines only. + if (HAVE_AVX2) + set(pdcch_test_args ${pdcch_test_args} -F) + endif () string(REGEX REPLACE "\ " "" test_name_args ${pdcch_test_args})