Skip to content

loongarch: Use intrinsics::simd for selected LSX/LASX intrinsics#2078

Open
heiher wants to merge 2 commits intorust-lang:mainfrom
heiher:loong-generic-intrinsics
Open

loongarch: Use intrinsics::simd for selected LSX/LASX intrinsics#2078
heiher wants to merge 2 commits intorust-lang:mainfrom
heiher:loong-generic-intrinsics

Conversation

@heiher
Copy link
Copy Markdown
Contributor

@heiher heiher commented Apr 11, 2026

This change migrates a subset of LSX/LASX intrinsics to the portable intrinsics::simd interface.

Only straightforward mappings are converted in this patch. Intrinsics that require more complex transformations or currently result in suboptimal code generation are intentionally left unchanged and will be migrated incrementally in follow-up patches.

@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Apr 11, 2026

r? @sayantn

rustbot has assigned @sayantn.
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

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: @Amanieu, @folkertdev, @sayantn
  • @Amanieu, @folkertdev, @sayantn expanded to Amanieu, folkertdev, sayantn
  • Random selection from Amanieu, folkertdev, sayantn

heiher added 2 commits April 15, 2026 20:39
This change migrates a subset of LSX/LASX intrinsics to the portable
`intrinsics::simd` interface.

Only straightforward mappings are converted in this patch. Intrinsics
that require more complex transformations or currently result in
suboptimal code generation are intentionally left unchanged and will be
migrated incrementally in follow-up patches.
@heiher heiher force-pushed the loong-generic-intrinsics branch from 3715c69 to 4dd9159 Compare April 15, 2026 13:09
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Apr 15, 2026

This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants