From 6be57dd216a6f9247251a9792900d646d5d207b6 Mon Sep 17 00:00:00 2001 From: Xavier Arteaga Date: Wed, 9 Jun 2021 09:45:14 +0200 Subject: [PATCH] Disable PDCCH false detection for non AVX2 machines --- lib/src/phy/phch/test/CMakeLists.txt | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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})