_mm*_mask_cmp_*_mask::<7>
comparisons don't respect the input mask
#133067
Labels
C-bug
Category: This is a bug.
F-stdarch_x86_avx512
`#![feature(stdarch_x86_avx512)]`
T-libs
Relevant to the library team, which will review and decide on the PR/issue.
I tried this code:
I expected to see this happen: It prints 1 (compare this similar C++ program)
Instead, this happened: It prints 65535 (Godbolt, since the playground doesn't support AVX512)
This issue applies to all
_mm*_mask_cmp_*_mask
functions, not just_mm512_mask_cmp_epi32_mask
. It seems to have been introduced in rust-lang/stdarch#1597.Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: