-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cranelift: implement bmask instruction #1429
Comments
I think it should be used by |
Not sure I follow: I do plan to eventually add a SIMD bitmask using PMOVMSKB like what is described in the SIMD spec issue but I don't see how that would change |
According to the docs the instruction would for every lane return an all ones integer for a true bool and an all zeros integer for a false bool. Eg
|
As I understand it, on x86 and ARM the output of vector |
Yes |
Subscribe to Label ActionThis issue or pull request has been labeled: "cranelift" Users Subscribed to "cranelift"To subscribe or unsubscribe from this label, edit the |
Closing this in favor of #3205, which encompasses the general topic of our vector-bool representation. |
There is currently neither an encoding, nor a legalization for this instruction.
The text was updated successfully, but these errors were encountered: