I'm looking through the code, and there was a suspicion "best" CPU detection was at fault (https://github.com/xtensor-stack/xsimd/blob/a48ab430d4b84ecd5449180ee1c6d2eed67c4191/include/xsimd/config/xsimd_cpuid.hpp#L189), but I don't see anything wrong there. Note that even if AVXVNNI detection misfires, it should be overruled by the AVX512_VNNI detection that follows. What I do notice is that gemmology (https://github.com/mozilla/gemmology/blob/40dda91e99088ff80e21d71e57415aa491a0954c/gemmology.h#L208) ONLY has code for the AVXVNNI version, not the AVX512_VNNI one. So indeed misfiring detection (rather than "best") could still be the cause. I'm still looking, but for example this looks like a bug: https://github.com/xtensor-stack/xsimd/blob/a48ab430d4b84ecd5449180ee1c6d2eed67c4191/include/xsimd/config/xsimd_cpuid.hpp#L116
Bug 1871151 Comment 7 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
I'm looking through the code, and there was a suspicion "best" CPU detection was at fault (https://github.com/xtensor-stack/xsimd/blob/a48ab430d4b84ecd5449180ee1c6d2eed67c4191/include/xsimd/config/xsimd_cpuid.hpp#L189), but I don't see anything wrong there. Note that even if AVXVNNI detection misfires, it should be overruled by the AVX512_VNNI detection that follows. What I do notice is that gemmology (https://github.com/mozilla/gemmology/blob/40dda91e99088ff80e21d71e57415aa491a0954c/gemmology.h#L208) ONLY has code for the AVXVNNI version, not the AVX512_VNNI one. So indeed misfiring detection (rather than "best") could still be the cause. I'm still looking, but for example this looks like a minor bug (wouldn't cause this crash tho as we don't compile with Intel): https://github.com/xtensor-stack/xsimd/blob/a48ab430d4b84ecd5449180ee1c6d2eed67c4191/include/xsimd/config/xsimd_cpuid.hpp#L116
I'm looking through the code, and there was a suspicion "best" CPU detection was at fault (https://github.com/xtensor-stack/xsimd/blob/a48ab430d4b84ecd5449180ee1c6d2eed67c4191/include/xsimd/config/xsimd_cpuid.hpp#L189), but I don't see anything wrong there. Note that even if AVXVNNI detection misfires, it should be overruled by the AVX512_VNNI detection that follows. What I do notice is that gemmology (https://github.com/mozilla/gemmology/blob/40dda91e99088ff80e21d71e57415aa491a0954c/gemmology.h#L208) ONLY has code for the AVXVNNI version, not the AVX512_VNNI one. So indeed misfiring detection (rather than "best") could still be the cause. I'm still looking, but for example this looks like a minor bug (wouldn't cause this crash tho as we don't compile with Intel): https://github.com/xtensor-stack/xsimd/blob/a48ab430d4b84ecd5449180ee1c6d2eed67c4191/include/xsimd/config/xsimd_cpuid.hpp#L116 And this also looks suspicious, but it's probably dead code for Firefox: https://searchfox.org/mozilla-central/source/mozglue/misc/SSE.cpp#65 (comment that follows is also misleading)