diff --git a/cmake_targets/autotests/test_case_list.xml b/cmake_targets/autotests/test_case_list.xml
index 885158a84d..8ea193b816 100755
--- a/cmake_targets/autotests/test_case_list.xml
+++ b/cmake_targets/autotests/test_case_list.xml
@@ -79,17 +79,19 @@
ldpctest
-l3872 -s10 -n100
-l4224 -s10 -n100
- -l4576 -s10 -n100
- -l4928 -s10 -n100
- -l5280 -s10 -n100
- -l5632 -s10 -n100
- -l6336 -s10 -n100
- -l7040 -s10 -n100
- -l7744 -s10 -n100
- -l8448 -s10 -n100
+ -l4576 -s10 -n100
+ -l4928 -s10 -n100
+ -l5280 -s10 -n100
+ -l5632 -s10 -n100
+ -l6336 -s10 -n100
+ -l7040 -s10 -n100
+ -l7744 -s10 -n100
+ -l8448 -s10 -n100
+ -l561 -s10 -n1
+ -l500 -s10 -n1
test1 test2 test3 test4 test5 test6 test7 test8 test9 test10
BLER 0.000000
- segmentation fault|assertion|exiting|fatal
+ segmentation fault|assertion|exiting|fatal|differ
3
diff --git a/openair1/PHY/CODING/nrLDPC_encoder/ldpc_encode_parity_check.c b/openair1/PHY/CODING/nrLDPC_encoder/ldpc_encode_parity_check.c
index f4632c61d7..55e02eea6a 100644
--- a/openair1/PHY/CODING/nrLDPC_encoder/ldpc_encode_parity_check.c
+++ b/openair1/PHY/CODING/nrLDPC_encoder/ldpc_encode_parity_check.c
@@ -85,138 +85,119 @@
#include "ldpc_BG2_Zc80_byte.c"
#include "ldpc_BG2_Zc72_byte.c"
-
-
-static void encode_parity_check_part_optim(uint8_t *cc,uint8_t *d, short BG,short Zc,short Kb, int simd_size, int ncols)
+static void encode_parity_check_part_optim(uint8_t *cc, uint8_t *d, short BG,short Zc,short Kb, int simd_size, int ncols)
{
- unsigned char c[2*22*Zc*simd_size] __attribute__((aligned(32))); //double size matrix of c
- for (int i1=0; i1 < ncols; i1++) {
- memcpy(&c[2*i1*Zc], &cc[i1*Zc], Zc*sizeof(unsigned char));
- memcpy(&c[(2*i1+1)*Zc], &cc[i1*Zc], Zc*sizeof(unsigned char));
+ unsigned char c[2 * 22 * Zc * simd_size] __attribute__((aligned(32))); //double size matrix of c
+ for (int i1 = 0; i1 < ncols; i1++) {
+ memcpy(&c[2 * i1 * Zc], &cc[i1 * Zc], Zc * sizeof(unsigned char));
+ memcpy(&c[(2 * i1 + 1) * Zc], &cc[i1 * Zc], Zc * sizeof(unsigned char));
}
- for (int i1=1;i1tinput != NULL) stop_meas(impp->tinput);
- if ((BG==1 && Zc>=176) || (BG==2 && Zc>=64)) {
+ if ((BG==1 && Zc>=176) || (BG==2 && Zc>=72)) {
// extend matrix
if(impp->tprep != NULL) start_meas(impp->tprep);
if(impp->tprep != NULL) stop_meas(impp->tprep);
diff --git a/openair1/PHY/CODING/nrLDPC_encoder/ldpc_encoder_optim8seg.c b/openair1/PHY/CODING/nrLDPC_encoder/ldpc_encoder_optim8seg.c
index 11aaf731d5..a45aac2474 100644
--- a/openair1/PHY/CODING/nrLDPC_encoder/ldpc_encoder_optim8seg.c
+++ b/openair1/PHY/CODING/nrLDPC_encoder/ldpc_encoder_optim8seg.c
@@ -143,7 +143,7 @@ int LDPCencoder(uint8_t **test_input, uint8_t **channel_input, encoder_implempar
if(impp->tinput != NULL) stop_meas(impp->tinput);
- if ((BG==1 && Zc>=176) || (BG==2 && Zc>=64)) {
+ if ((BG==1 && Zc>=176) || (BG==2 && Zc>=72)) {
// extend matrix
if(impp->tprep != NULL) start_meas(impp->tprep);
if(impp->tprep != NULL) stop_meas(impp->tprep);
diff --git a/openair1/PHY/CODING/nrLDPC_encoder/ldpc_encoder_optim8segmulti.c b/openair1/PHY/CODING/nrLDPC_encoder/ldpc_encoder_optim8segmulti.c
index 6b48fee6fa..b91d1f5825 100644
--- a/openair1/PHY/CODING/nrLDPC_encoder/ldpc_encoder_optim8segmulti.c
+++ b/openair1/PHY/CODING/nrLDPC_encoder/ldpc_encoder_optim8segmulti.c
@@ -151,7 +151,7 @@ int LDPCencoder(uint8_t **input, uint8_t **output, encoder_implemparams_t *impp)
if(impp->tinput != NULL) stop_meas(impp->tinput);
- if ((BG==1 && Zc>=176) || (BG==2 && Zc>=64)) {
+ if ((BG==1 && Zc>=176) || (BG==2 && Zc>=72)) {
// extend matrix
if(impp->tprep != NULL) start_meas(impp->tprep);
if(impp->tprep != NULL) stop_meas(impp->tprep);