Skip to content

Commit

Permalink
Enable SIMD in cranelift
Browse files Browse the repository at this point in the history
  • Loading branch information
syrusakbary committed Jul 30, 2020
1 parent 00ae7f7 commit 55886c4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/compiler-cranelift/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ impl Cranelift {
enable_verifier: false,
opt_level: OptLevel::Speed,
enable_pic: false,
enable_simd: false,
enable_simd: true,
middlewares: vec![],
}
}
Expand Down
13 changes: 13 additions & 0 deletions tests/ignores.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,19 @@
singlepass::spec::multi_value
singlepass::spec::simd

## SIMD in Cranelift 0.65 is not fully supported
cranelift::spec::simd::simd_const
cranelift::spec::simd::simd_conversions
cranelift::spec::simd::simd_f32x4
cranelift::spec::simd::simd_f64x2
cranelift::spec::simd::simd_f64x2_arith
cranelift::spec::simd::simd_i16x8_arith2
cranelift::spec::simd::simd_i32x4_arith2
cranelift::spec::simd::simd_i8x16_arith2
cranelift::spec::simd::simd_load
cranelift::spec::simd::simd_splat


singlepass on windows # Singlepass is not yet supported on Windows

# TODO: We need to fix this. The issue happens only in Cranelift/LLVM and macOS,
Expand Down

0 comments on commit 55886c4

Please sign in to comment.