• Robert Schmidt's avatar
    Load unaligned data for SIMD processing to avoid segv · 24baf08c
    Robert Schmidt authored
    We access G_N at indexes that are not necessarily 32-byte aligned,
    leading to segfaults. Use simde_mm256_loadu_si256() to load from memory
    at an unaligned memory address to avoid the segfault.
    
    Discovered using clang; it is unclear why gcc did not encounter the same
    segfault.
    24baf08c
nr_polar_encoder.c 25.8 KB