Skip to content

Commit 6aa7153

Browse files
authored
feat: more f16 simd routines (#398)
Signed-off-by: usamoi <[email protected]>
1 parent bf3a77d commit 6aa7153

File tree

5 files changed

+1357
-440
lines changed

5 files changed

+1357
-440
lines changed

crates/simd/build.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ fn main() -> Result<(), Box<dyn Error>> {
2323
match target_arch.as_str() {
2424
"aarch64" => {
2525
let mut build = cc::Build::new();
26-
build.file("./cshim/aarch64_fp16.c");
2726
build.file("./cshim/aarch64_byte.c");
2827
build.file("./cshim/aarch64_halfbyte.c");
2928
if target_endian == "little" {
@@ -33,12 +32,6 @@ fn main() -> Result<(), Box<dyn Error>> {
3332
build.opt_level(3);
3433
build.compile("simd_cshim");
3534
}
36-
"x86_64" => {
37-
let mut build = cc::Build::new();
38-
build.file("./cshim/x86_64_fp16.c");
39-
build.opt_level(3);
40-
build.compile("simd_cshim");
41-
}
4235
_ => {}
4336
}
4437
Ok(())

crates/simd/cshim/aarch64_fp16.c

Lines changed: 0 additions & 250 deletions
This file was deleted.

0 commit comments

Comments
 (0)