-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Enable LSX feature for LoongArch Linux targets #132140
Conversation
These commits modify compiler targets. |
Some questions:
|
The
Yes, it is available in all supported versions of LLVM. It was first supported in LLVM 16, which is the version that introduced support for LoongArch.
No, it does not impact the ABI. (Argument passing for SIMD types does not rely on the
Yes. |
Thanks for those answers. Looks go to me, in particular since Clang does indeed enable it by default, I see no reason not to do the same. |
Enable LSX feature for LoongArch Linux targets Enable 128-bit vector (LSX) feature for `loongarch64-unknown-linux-{gnu, musl}` targets. try-job: dist-loongarch64-linux try-job: dist-loongarch64-musl
☀️ Try build successful - checks-actions |
@bors r+ rollup |
Rollup of 5 pull requests Successful merges: - rust-lang#132124 (coverage: Consolidate creation of covmap/covfun records) - rust-lang#132140 (Enable LSX feature for LoongArch Linux targets) - rust-lang#132169 (Deny calls to non-`#[const_trait]` methods in MIR constck) - rust-lang#132174 (x86 target features: make pclmulqdq imply sse2) - rust-lang#132180 (Print unsafety of attribute in AST pretty print) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#132140 - heiher:loong-lsx, r=Urgau Enable LSX feature for LoongArch Linux targets Enable 128-bit vector (LSX) feature for `loongarch64-unknown-linux-{gnu, musl}` targets. try-job: dist-loongarch64-linux try-job: dist-loongarch64-musl
Enable 128-bit vector (LSX) feature for
loongarch64-unknown-linux-{gnu, musl}
targets.try-job: dist-loongarch64-linux
try-job: dist-loongarch64-musl