Browse Source
`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.pull/4324/head
Chris Fallin
2 years ago
committed by
GitHub
3 changed files with 15 additions and 6 deletions
Loading…
Reference in new issue