Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x64: Lower SIMD requirement to SSE4.1 from SSE4.2 #6206

Merged
merged 1 commit into from
Apr 14, 2023

Commits on Apr 12, 2023

  1. x64: Lower SIMD requirement to SSE4.1 from SSE4.2

    Cranelift only has one instruction SIMD which depends on SSE4.2 so this
    commit adds a lowering rule for `pcmpgtq` which doesn't use SSE4.2 and
    enables lowering the baseline requirement for SIMD support from SSE4.2
    to SSE4.1.
    
    The `has_sse42` setting is no longer enabled by default for Cranelift.
    Additionally `enable_simd` no longer requires `has_sse42` on x64.
    Finally the fuzz-generator for Wasmtime codegen settings now enables
    flipping the `has_sse42` setting instead of unconditionally setting it
    to `true`.
    
    The specific lowering for `pcmpgtq` is copied from LLVM's lowering of
    this instruction.
    alexcrichton committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    cdedf43 View commit details
    Browse the repository at this point in the history