Enable LSX feature for LoongArch Linux targets by heiher · Pull Request #132140 · rust-lang/rust (original) (raw)

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 andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation11 Commits1 Checks6 Files changed

Conversation

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

[ Show hidden characters]({{ revealButtonHref }})

heiher

Enable 128-bit vector (LSX) feature for loongarch64-unknown-linux-{gnu, musl} targets.

try-job: dist-loongarch64-linux
try-job: dist-loongarch64-musl

@heiher

@rustbot

r? @estebank

rustbot has assigned @estebank.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot rustbot added S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

T-compiler

Relevant to the compiler team, which will review and decide on the PR/issue.

labels

Oct 25, 2024

@rustbot

@Urgau

Some questions:

@heiher

Some questions:

* What is the availability of the `lsx` target feature in LLVM?

The lsx target feature is fully available in LLVM, and Clang has it enabled by default.

 * Is it available with all of our LLVM supported versions?

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.

* Does this target feature impacts ABI?

No, it does not impact the ABI. (Argument passing for SIMD types does not rely on the lsx registers.)

* Do we want to "announce" the change in the relnotes?

Yes.

@Urgau

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.

r? @Urgau
@rustbot label +relnotes

@rustbot rustbot added the relnotes

Marks issues that should be documented in the release notes of the next release.

label

Oct 26, 2024

Urgau

@Urgau

Let's do a try build of the LoongArch builder, in case some of the assembly/codegen changes.
r=me when CI/try is green

@bors try
@bors delegate+

@bors

✌️ @heiher, you can now approve this pull request!

If @Urgau told you to "r=me" after making some further change, please make that change, then do @bors r=@Urgau

@bors

bors added a commit to rust-lang-ci/rust that referenced this pull request

Oct 26, 2024

@bors

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

@bors

☀️ Try build successful - checks-actions
Build commit: 37fc544 (37fc544de7d0e5ea686cc38150fcc95755c880f3)

@Urgau

@bors

📌 Commit baa3b6d has been approved by Urgau

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

and removed S-waiting-on-review

Status: Awaiting review from the assignee but also interested parties.

labels

Oct 26, 2024

bors added a commit to rust-lang-ci/rust that referenced this pull request

Oct 26, 2024

@bors

Rollup of 5 pull requests

Successful merges:

r? @ghost @rustbot modify labels: rollup

rust-timer added a commit to rust-lang-ci/rust that referenced this pull request

Oct 26, 2024

@rust-timer

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

tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request

Jan 22, 2025

@tmeijn

This MR contains the following updates:

Package Update Change
rust minor 1.83.0 -> 1.84.0

MR created with the help of el-capitano/tools/renovate-bot.

Proposed changes to behavior should be submitted there as MRs.


Release Notes

rust-lang/rust (rust)

v1.84.0

Compare Source

==========================

Language

Compiler

Libraries

Stabilized APIs

These APIs are now stable in const contexts

Cargo

Rustdoc

Compatibility Notes


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.



This MR has been generated by Renovate Bot.

wip-sync pushed a commit to NetBSD/pkgsrc-wip that referenced this pull request

Feb 2, 2025

@he32

Pkgsrc changes:

Upstream changes:

Version 1.84.1 (2025-01-30)

Version 1.84.0 (2025-01-09)

Language

Compiler

Libraries

Stabilized APIs

These APIs are now stable in const contexts

Cargo

Rustdoc

Compatibility Notes

Labels

relnotes

Marks issues that should be documented in the release notes of the next release.

S-waiting-on-bors

Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

T-compiler

Relevant to the compiler team, which will review and decide on the PR/issue.