mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-22 10:35:21 +00:00
bf27cb673c
Pushing a potential fix for https://github.com/RfidResearchGroup/proxmark3/issues/3250 Use the masked variant with an explicit zero source. _mm512_maskz_andnot_epi32(0xFFFF, a, b) is semantically identical to _mm512_andnot_si512(a, b) but goes through a different code path that takes a proper src argument instead of calling _mm512_undefined_epi32(). No uninitialized read, no warning, single instruction. It compiles to the exact same single vpandnd instruction as _mm512_andnot_si512. The all-ones mask is resolved at compile time and folded away — the encoder just emits the unmasked form. Zero cycle difference, zero code-size difference.