From 3f01ec0e71d8116b191388cb246ca240d75d46ab Mon Sep 17 00:00:00 2001 From: Sakthivel Velumani Date: Wed, 11 Dec 2024 12:32:18 -0500 Subject: [PATCH] Fix iqrecord to work on AVX512 machine --- radio/COMMON/record_player.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/radio/COMMON/record_player.h b/radio/COMMON/record_player.h index 7869fe4cf3..4e6640b561 100644 --- a/radio/COMMON/record_player.h +++ b/radio/COMMON/record_player.h @@ -62,7 +62,10 @@ typedef struct { int64_t nbBytes; int64_t tv_sec; // nb of secs since EPOCH int64_t tv_usec; // nb of µsecs since EPOCH - int64_t rfu2; // pad for 256 bits alignement required by AVX2 + // pad for 512 bits alignement required by AVX512 + int64_t rfu2; + int64_t rfu3; + int64_t rfu4; } iqrec_t; #define DEF_NB_SF 120000 // default nb of sf or ms to capture (2 minutes at 5MHz) #define DEF_SF_FILE "/tmp/iqfile" // default subframes file name