Skip to content

Commit

Permalink
Fix assertion in vsetallnez_w
Browse files Browse the repository at this point in the history
  • Loading branch information
jiegec committed Dec 26, 2024
1 parent 482f769 commit 4033d69
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions code/vsetallnez_w.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ void test() {
assert(__lsx_bnz_w(a) == bnz_w(a));

a = __m128i{0x1111111111111100, 0x1111111111111111};
assert(__lsx_bnz_w(a));
assert(__lsx_bnz_w(a) == bnz_w(a));

a = __m128i{0x1111111100000000, 0x1111111111111111};
assert(!__lsx_bnz_w(a));
assert(__lsx_bnz_w(a) == bnz_w(a));
}

0 comments on commit 4033d69

Please sign in to comment.