You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that #274 is in, what's the right way to generate a vptest instruction? (I'm mainly interested in a zero check via: _mm256_testz_si256(res, res) == 1)
I am getting strange assembly output when compiling the following code on Godbolt:
Compiling with
-C opt-level=3 -C target-cpu=native
, the output is:The following equivalent code using an x86 intrinsic gives a more reasonable result:
Strangely, changing the
SimdVec
tou8x32
improves the codegen a little bit:The text was updated successfully, but these errors were encountered: