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
Currently, these implementations aren't finished. Link representations for N x i1 for llvm needs to be incorporated into the compiler.
The best way to do the i1 linking is using the proc macro attribute on extern to make linking explicit to i1 representations.
Note that bool is still i8 representation from the rust's side with zero extend. That hasn't been solved for linking to llvm.
Hey @Amanieu, first I would like to thank you for your work.
Any plans on continue development to support this instrinsics ?
I tried using this instructions with inline asm, but without much success, since they "clobber" an undermined register (the clobbed kreg depends on the the first operand, since the masks are written in a even/odd pair). AFAIK to use this with inline asm the first operand needs to be fixed and can't be generated dynamically by the compiler, since if the compiler choose the register kX the register kX+1 will also be written, but you can't specify kX+1 as an output.
I would like to help if needed, but I have never contributed to stdarch, so if you can point me to some resources.
Once rust-lang/rust#140763 lands, we will be able to finally implement this. We will also be able to remove uses of many deprecated intrinsics.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Currently, these implementations aren't finished. Link representations for
N x i1for llvm needs to be incorporated into the compiler.The best way to do the i1 linking is using the proc macro attribute on extern to make linking explicit to
i1representations.Note that
boolis stilli8representation from the rust's side with zero extend. That hasn't been solved for linking to llvm.Relates to #989 and rust-lang/rust#81552