Enable SSE 4.2 unconditionally (#3833)
* Enable SSE 4.2 unconditionally Fuzzing over the weekend found that `i64x2` comparison operators require `pcmpgtq` which is an SSE 4.2 instruction. Along the lines of #3816 this commit unconditionally enables and requires SSE 4.2 for compilation and fuzzing. It will no longer be possible to create a compiler for x86_64 with simd enabled if SSE 4.2 is disabled. * Update comment
This commit is contained in:
@@ -554,6 +554,10 @@ impl Config {
|
||||
/// this does not enable the [relaxed simd proposal] as that is not
|
||||
/// implemented in Wasmtime at this time.
|
||||
///
|
||||
/// On x86_64 platforms note that enabling this feature requires SSE 4.2 and
|
||||
/// below to be available on the target platform. Compilation will fail if
|
||||
/// the compile target does not include SSE 4.2.
|
||||
///
|
||||
/// This is `true` by default.
|
||||
///
|
||||
/// [proposal]: https://github.com/webassembly/simd
|
||||
|
||||
Reference in New Issue
Block a user