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

Switch default to new x86_64 backend. #2718

Merged
merged 1 commit into from
Apr 5, 2021

Commits on Apr 2, 2021

  1. Switch default to new x86_64 backend.

    This PR switches the default backend on x86, for both the
    `cranelift-codegen` crate and for Wasmtime, to the new
    (`MachInst`-style, `VCode`-based) backend that has been under
    development and testing for some time now.
    
    The old backend is still available by default in builds with the
    `old-x86-backend` feature, or by requesting `BackendVariant::Legacy`
    from the appropriate APIs.
    
    As part of that switch, it adds some more runtime-configurable plumbing
    to the testing infrastructure so that tests can be run using the
    appropriate backend. `clif-util test` is now capable of parsing a
    backend selector option from filetests and instantiating the correct
    backend.
    
    CI has been updated so that the old x86 backend continues to run its
    tests, just as we used to run the new x64 backend separately.
    
    At some point, we will remove the old x86 backend entirely, once we are
    satisfied that the new backend has not caused any unforeseen issues and
    we do not need to revert.
    cfallin committed Apr 2, 2021
    Configuration menu
    Copy the full SHA
    cb48ea4 View commit details
    Browse the repository at this point in the history