X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=fhi_lib%2Flib%2Fsrc%2Fxran_bfp_cplane16.cpp;h=2056d9a1c8511e4ccd8398a936db7b7479d7c058;hb=HEAD;hp=4f668ae535989727eb113c38cba12f64e6256d4a;hpb=70d9d920dd4e575f085f1f1a9050fefd1c10e127;p=o-du%2Fphy.git diff --git a/fhi_lib/lib/src/xran_bfp_cplane16.cpp b/fhi_lib/lib/src/xran_bfp_cplane16.cpp index 4f668ae..2056d9a 100644 --- a/fhi_lib/lib/src/xran_bfp_cplane16.cpp +++ b/fhi_lib/lib/src/xran_bfp_cplane16.cpp @@ -1,6 +1,6 @@ /****************************************************************************** * -* Copyright (c) 2019 Intel. +* Copyright (c) 2020 Intel. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,6 +26,7 @@ #include "xran_compression.hpp" #include "xran_bfp_utils.hpp" +#include "xran_bfp_byte_packing_utils.hpp" #include #include #include @@ -192,7 +193,7 @@ namespace BFP_CPlane_16 inline void compress8_16RB(const BlockFloatCompander::ExpandedData& dataIn, BlockFloatCompander::CompressedData* dataOut, const __m512i totShiftBits) { - const auto exponents = computeExponent_16RB(dataIn, totShiftBits); + const __m512i exponents = computeExponent_16RB(dataIn, totShiftBits); const __m512i* dataInAddr = reinterpret_cast(dataIn.dataExpanded); #pragma unroll(16) for (int n = 0; n < 16; ++n) @@ -205,7 +206,7 @@ namespace BFP_CPlane_16 inline void compress8_4RB(const BlockFloatCompander::ExpandedData& dataIn, BlockFloatCompander::CompressedData* dataOut, const __m512i totShiftBits) { - const auto exponents = computeExponent_4RB(dataIn, totShiftBits); + const __m512i exponents = computeExponent_4RB(dataIn, totShiftBits); const __m512i* dataInAddr = reinterpret_cast(dataIn.dataExpanded); #pragma unroll(4) for (int n = 0; n < 4; ++n)