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

Cherry-pick #4332 to 0.38 branch. #4336

Merged

Commits on Jun 27, 2022

  1. Cranelift/x64: fix register allocator metadata for 8-bit divides. (by…

    …tecodealliance#4332)
    
    `idiv` on x86-64 only reads `rdx`/`edx`/`dx`/`dl` for divides with width
    greater than 8 bits; for an 8-bit divide, it reads the whole 16-bit
    divisor from `ax`, as our CISC ancestors intended. This PR fixes the
    metadata to avoid a regalloc panic (due to undefined `rdx`) in this
    case. Does not affect Wasmtime or other Wasm-frontend embedders.
    cfallin committed Jun 27, 2022
    Copy the full SHA
    2f5bebd View commit details
    Browse the repository at this point in the history
  2. Update RELEASES.md.

    cfallin committed Jun 27, 2022
    Copy the full SHA
    3d527fb View commit details
    Browse the repository at this point in the history