Skip to content

loongarch: Refactor portable SIMD helper naming and intrinsic paths#2094

Open
heiher wants to merge 1 commit intorust-lang:mainfrom
heiher:refine
Open

loongarch: Refactor portable SIMD helper naming and intrinsic paths#2094
heiher wants to merge 1 commit intorust-lang:mainfrom
heiher:refine

Conversation

@heiher
Copy link
Copy Markdown
Contributor

@heiher heiher commented Apr 28, 2026

Rename SimdL to SimdExt, impl_simdl! to impl_simd_ext!, and the helper functions in loongarch64/simd.rs from simdl_* to simd_*.

Also qualify intrinsic and helper calls explicitly with aliases:

  • is:: for crate::intrinsics::simd
  • cs:: for crate::core_arch::simd
  • ls:: for local LoongArch SIMD helpers

See also: #2093 (comment)

r? @folkertdev

Rename `SimdL` to `SimdExt`, `impl_simdl!` to `impl_simd_ext!`,
and the helper functions in `loongarch64/simd.rs` from `simdl_*`
to `simd_*`.

Also qualify intrinsic and helper calls explicitly with aliases:
- `is::` for `crate::intrinsics::simd`
- `cs::` for `crate::core_arch::simd`
- `ls::` for local LoongArch SIMD helpers
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.

2 participants