Rollup merge of #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
This commit is contained in:
许杰友 Jieyou Xu (Joe) 2024-10-26 22:01:12 +08:00 committed by GitHub
commit 7981acaf7e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ pub(crate) fn target() -> Target {
options: TargetOptions { options: TargetOptions {
code_model: Some(CodeModel::Medium), code_model: Some(CodeModel::Medium),
cpu: "generic".into(), cpu: "generic".into(),
features: "+f,+d".into(), features: "+f,+d,+lsx".into(),
llvm_abiname: "lp64d".into(), llvm_abiname: "lp64d".into(),
max_atomic_width: Some(64), max_atomic_width: Some(64),
supported_sanitizers: SanitizerSet::ADDRESS supported_sanitizers: SanitizerSet::ADDRESS

View File

@ -15,7 +15,7 @@ pub(crate) fn target() -> Target {
options: TargetOptions { options: TargetOptions {
code_model: Some(CodeModel::Medium), code_model: Some(CodeModel::Medium),
cpu: "generic".into(), cpu: "generic".into(),
features: "+f,+d".into(), features: "+f,+d,+lsx".into(),
llvm_abiname: "lp64d".into(), llvm_abiname: "lp64d".into(),
max_atomic_width: Some(64), max_atomic_width: Some(64),
crt_static_default: false, crt_static_default: false,