From ad32b6108e0012d2dfbe69a7897f1b31b38a3519 Mon Sep 17 00:00:00 2001 From: Sy Date: Tue, 19 May 2020 11:49:10 +0200 Subject: [PATCH] use of avx2 & avx512 at CN processing level --- openair1/PHY/CODING/nrLDPC_decoder/nrLDPCdecoder_defs.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openair1/PHY/CODING/nrLDPC_decoder/nrLDPCdecoder_defs.h b/openair1/PHY/CODING/nrLDPC_decoder/nrLDPCdecoder_defs.h index e5b5784978..fcb9115ccd 100644 --- a/openair1/PHY/CODING/nrLDPC_decoder/nrLDPCdecoder_defs.h +++ b/openair1/PHY/CODING/nrLDPC_decoder/nrLDPCdecoder_defs.h @@ -197,7 +197,8 @@ static const int8_t ones512_epi8[64] __attribute__ ((aligned(64))) = {1,1,1,1,1, static const int8_t zeros512_epi8[64] __attribute__ ((aligned(64))) = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; /** Vector of 64 '127' in int8 for application with AVX512 */ static const int8_t maxLLR512_epi8[64] __attribute__ ((aligned(64))) = {127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127,127}; -/** Vector of 64 '1' in int8 for application with AVX2 */ + +/** Vector of 32 '1' in int8 for application with AVX2 */ static const int8_t ones256_epi8[32] __attribute__ ((aligned(32))) = {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}; /** Vector of 32 '0' in int8 for application with AVX2 */ static const int8_t zeros256_epi8[32] __attribute__ ((aligned(32))) = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};