Commit 00a8df6f authored by Sy's avatar Sy

generated CN processing files according to the values of Z | version for AVX2 and AVX512| BG1 & BG2

parent a1b81d94
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -24,4 +24,4 @@ mrproper: clean ...@@ -24,4 +24,4 @@ mrproper: clean
@rm -rf $(EXEC) @rm -rf $(EXEC)
zip: zip:
@tar -zcvf sauvegarde.tar.gz main.c cnProc_gen_avx2.c cnProc_gen_avx2.h Makefile @tar -zcvf sauvegarde.tar.gz main.c cnProc_gen_BG1_avx2.c cnProc_gen_BG2_avx2.c Makefile
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
#include "../../nrLDPC_bnProc.h" #include "../../nrLDPC_bnProc.h"
#define NB_Z 51 #define NB_Z 51
void nrLDPC_cnProc_BG1_generator_AVX2(uint16_t,int); void nrLDPC_cnProc_BG1_generator_AVX2(uint16_t,int);
void nrLDPC_cnProc_BG2_generator_AVX2(uint16_t,int);
int main() int main()
{ {
uint16_t Z[NB_Z]={2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,18,20,22,24,26,28,30,32,36,40,44,48,52,56,60,64,72,80,88,96,104,112,120,128,144,160,176,192,208,224,240,256,288,320,352,384}; uint16_t Z[NB_Z]={2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,18,20,22,24,26,28,30,32,36,40,44,48,52,56,60,64,72,80,88,96,104,112,120,128,144,160,176,192,208,224,240,256,288,320,352,384};
...@@ -13,6 +14,7 @@ int main() ...@@ -13,6 +14,7 @@ int main()
for(int i=0; i<NB_Z;i++){ for(int i=0; i<NB_Z;i++){
nrLDPC_cnProc_BG1_generator_AVX2(Z[i],0); nrLDPC_cnProc_BG1_generator_AVX2(Z[i],0);
nrLDPC_cnProc_BG2_generator_AVX2(Z[i],0);
} }
return(0); return(0);
......
...@@ -24,4 +24,4 @@ mrproper: clean ...@@ -24,4 +24,4 @@ mrproper: clean
@rm -rf $(EXEC) @rm -rf $(EXEC)
zip: zip:
tar -zcvf sauvegarde.tar.gz main.c cnProc_gen_avx512.c Makefile tar -zcvf sauvegarde.tar.gz main.c cnProc_gen_BG1_avx512.c cnProc_gen_BG2_avx512.c Makefile
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
#include "../../nrLDPC_bnProc.h" #include "../../nrLDPC_bnProc.h"
#define NB_Z 51 #define NB_Z 51
void nrLDPC_cnProc_BG1_generator_AVX512(uint16_t,int); void nrLDPC_cnProc_BG1_generator_AVX512(uint16_t,int);
void nrLDPC_cnProc_BG2_generator_AVX512(uint16_t,int);
int main() int main()
{ {
uint16_t Z[NB_Z]={2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,18,20,22,24,26,28,30,32,36,40,44,48,52,56,60,64,72,80,88,96,104,112,120,128,144,160,176,192,208,224,240,256,288,320,352,384}; uint16_t Z[NB_Z]={2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,18,20,22,24,26,28,30,32,36,40,44,48,52,56,60,64,72,80,88,96,104,112,120,128,144,160,176,192,208,224,240,256,288,320,352,384};
...@@ -14,6 +15,7 @@ int main() ...@@ -14,6 +15,7 @@ int main()
for(int i=0; i<NB_Z;i++){ for(int i=0; i<NB_Z;i++){
nrLDPC_cnProc_BG1_generator_AVX512(Z[i],0); nrLDPC_cnProc_BG1_generator_AVX512(Z[i],0);
nrLDPC_cnProc_BG2_generator_AVX512(Z[i],0);
} }
return(0); return(0);
......
#include <stdint.h> #include <stdint.h>
#include <immintrin.h> #include <immintrin.h>
void nrLDPC_cnProc_BG1_Z384_13_AVX2(int8_t* cnProcBuf,int8_t* cnProcBufRes) { void nrLDPC_cnProc_BG1_Z384_13_AVX2(int8_t* cnProcBuf,int8_t* cnProcBufRes) {
//Process group with 3 BNs //Process group with 3 BNs
__m256i ymm0, min, sgn,ones,maxLLR; __m256i ymm0, min, sgn,ones,maxLLR;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment