https://bugs.kde.org/show_bug.cgi?id=409429
Étienne Dupuis <svart.ridd...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |svart.ridd...@gmail.com --- Comment #4 from Étienne Dupuis <svart.ridd...@gmail.com> --- The following function allows detection of whether valgrind has the bug or not, when compiled with clang + AVX2 enabled: [[clang::optnone]] static bool checkValgrindBug409429Fixed() { if (RUNNING_ON_VALGRIND) { alignas(32) uint8_t m[32]; __m256i r = *reinterpret_cast<const __m256i *>(m); *reinterpret_cast<__m256i *>(m) = _mm256_cmpeq_epi8(r, r); if ((m[0] != 0xFF) || VALGRIND_COUNT_ERRORS) return false; } return true; } -- You are receiving this mail because: You are watching all bug changes.