Add performance warning comment for vpcompressw

closes https://github.com/official-stockfish/Stockfish/pull/6237

No functional change
This commit is contained in:
87
2025-08-17 22:38:09 +02:00
committed by Joost VandeVondele
parent c56bd10cb5
commit 2176c9387e
+1
View File
@@ -37,6 +37,7 @@ namespace {
#if defined(USE_AVX512ICL)
inline Move* write_moves(Move* moveList, uint32_t mask, __m512i vector) {
// Avoid _mm512_mask_compressstoreu_epi16() as it's 256 uOps on Zen4
_mm512_storeu_si512(reinterpret_cast<__m512i*>(moveList),
_mm512_maskz_compress_epi16(mask, vector));
return moveList + popcount(mask);