Chris Fallin
5c2c285dd7
Cranelift/x64: fix register allocator metadata for 8-bit divides. ( #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.
2022-06-27 12:31:06 -07:00
..
2022-01-11 19:03:10 +01:00
2022-06-13 12:04:37 -07:00
2022-06-27 12:31:06 -07:00
2022-05-02 11:19:16 -07:00
2022-06-22 15:03:28 +01:00
2022-03-31 10:05:10 -07:00
2022-05-20 13:19:32 -07:00
2020-05-28 11:34:58 -07:00
2021-10-04 10:36:12 +02:00
2019-10-10 16:45:48 +02:00
2022-05-20 13:19:32 -07:00
2021-10-04 19:11:52 +02:00
2021-09-19 15:02:04 +01:00
2019-01-28 15:56:54 -08:00
2020-04-15 17:21:28 -07:00
2019-10-24 17:20:12 -07:00
2020-03-05 16:11:13 +01:00
2020-03-05 16:11:13 +01:00
2019-01-28 15:56:54 -08:00
2022-05-20 13:19:32 -07:00
2019-10-02 11:50:44 -07:00
2022-05-20 13:19:32 -07:00
2022-03-31 10:05:10 -07:00
2020-03-03 13:21:13 -06:00
2021-08-05 13:44:16 -05:00
2022-06-22 15:03:28 +01:00
2021-10-04 10:36:12 +02:00
2022-05-09 19:22:34 +02:00
2022-04-14 10:28:21 -07:00
2019-09-26 18:00:03 +02:00
2022-05-02 11:19:16 -07:00
2022-03-31 10:05:10 -07:00
2021-11-17 13:04:17 -08:00
2020-12-03 14:43:28 -08:00
2022-05-09 19:22:34 +02:00
2021-10-04 10:36:12 +02:00
2022-04-14 10:28:21 -07:00
2022-03-31 10:05:10 -07:00