Skip to content

Commit e2346ff

Browse files
committed
fixes
1 parent 1b0458c commit e2346ff

4 files changed

Lines changed: 7 additions & 11 deletions

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@ jobs:
272272
name: Intrinsic Test
273273
runs-on: ubuntu-latest
274274
strategy:
275+
fail-fast: false
275276
matrix:
276277
target:
277278
- aarch64-unknown-linux-gnu

crates/intrinsic-test/src/common/gen_rust.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ pub fn write_build_rs(
274274
i: usize,
275275
arch_flags: &[&str],
276276
) -> std::io::Result<()> {
277-
const COMMON_FLAGS: &[&str] = &["-ffp-contract=off", "-Wno-narrowing", "-fuse-ld=lld"];
277+
const COMMON_FLAGS: &[&str] = &["-ffp-contract=off", "-Wno-narrowing"];
278278

279279
write!(
280280
w,

crates/intrinsic-test/src/x86/config.rs

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -131,14 +131,8 @@ unsafe fn _mm512_loadu_epi64_to___m512(mem_addr: *const i64) -> __m512 {
131131
"#;
132132

133133
pub const PLATFORM_RUST_CFGS: &str = r#"
134-
#![cfg_attr(target_arch = "x86", feature(avx))]
135-
#![cfg_attr(target_arch = "x86", feature(sse))]
136-
#![cfg_attr(target_arch = "x86", feature(sse2))]
137-
#![cfg_attr(target_arch = "x86", feature(stdarch_x86_avx512_bf16))]
138-
#![cfg_attr(target_arch = "x86", feature(stdarch_x86_avx512_f16))]
139-
#![cfg_attr(target_arch = "x86", feature(stdarch_x86_rtm))]
140-
#![cfg_attr(target_arch = "x86", feature(stdarch_x86_rtm))]
141-
#![cfg_attr(target_arch = "x86_64", feature(x86_amx_intrinsics))]
142-
#![cfg_attr(target_arch = "x86_64", feature(stdarch_x86_avx512_f16))]
143-
#![feature(fmt_helpers_for_derive)]
134+
#![feature(stdarch_x86_avx512_bf16)]
135+
#![feature(stdarch_x86_avx512_f16)]
136+
#![feature(stdarch_x86_rtm)]
137+
#![feature(x86_amx_intrinsics)]
144138
"#;

crates/intrinsic-test/src/x86/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ impl SupportedArchitectureTest for X86ArchitectureTest {
6262
"-mgfni",
6363
"-mvaes",
6464
"-mvpclmulqdq",
65+
"-mlzcnt",
6566
]
6667
}
6768

0 commit comments

Comments
 (0)