Skip to content

Commit 1ab5af1

Browse files
committed
Add wasm32 simd128 intrinsics
1 parent 51904cd commit 1ab5af1

File tree

3 files changed

+810
-2
lines changed

3 files changed

+810
-2
lines changed

coresimd/simd_llvm.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ extern "platform-intrinsic" {
5151
pub fn simd_select<M, T>(m: M, a: T, b: T) -> T;
5252

5353
pub fn simd_fmin<T>(a: T, b: T) -> T;
54-
// FIXME: https://github.com/rust-lang-nursery/stdsimd/issues/416
55-
// pub fn simd_fmax<T>(a: T, b: T) -> T;
54+
pub fn simd_fmax<T>(a: T, b: T) -> T;
5655

5756
pub fn simd_fsqrt<T>(a: T) -> T;
5857
pub fn simd_fma<T>(a: T, b: T, c: T) -> T;

coresimd/wasm32.rs renamed to coresimd/wasm32/mod.rs

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
//! WASM32 intrinsics
2+
3+
mod simd128;
4+
15
extern "C" {
26
#[link_name = "llvm.wasm.grow.memory.i32"]
37
fn llvm_grow_memory(pages: i32) -> i32;

0 commit comments

Comments
 (0)