Skip to content

feat: enable loongarch64 LSX SIMD feature gate#18

Open
fanta0625 wants to merge 1 commit into
Alexhuszagh:mainfrom
fanta0625:loongarch64-feature-gate
Open

feat: enable loongarch64 LSX SIMD feature gate#18
fanta0625 wants to merge 1 commit into
Alexhuszagh:mainfrom
fanta0625:loongarch64-feature-gate

Conversation

@fanta0625

Copy link
Copy Markdown

The loongarch64 LSX SIMD code already exists in
src/binary16/arch/loongarch64.rs and is properly gated behind cfg(target_arch = "loongarch64"), but building on loongarch64 with nightly Rust fails because the crate root is missing:

#![feature(stdarch_loongarch)]

Without this, core::arch::loongarch64 intrinsics raise E0658 even on nightly, since stdarch_loongarch is still an unstable feature (Rust issue #117427).

The loongarch64 LSX SIMD code already exists in
src/binary16/arch/loongarch64.rs and is properly gated behind
cfg(target_arch = "loongarch64"), but building on loongarch64
with nightly Rust fails because the crate root is missing:

  #![feature(stdarch_loongarch)]

Without this, core::arch::loongarch64 intrinsics raise E0658 even
on nightly, since stdarch_loongarch is still an unstable feature
(Rust issue #117427).
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.

1 participant