Files
wasmtime/lib/cretonne
Jakob Stoklund Olesen 711e5cd644 Handle srem INT_MIN, -1 correctly.
The x86_divmodx traps on integer overflow, but the srem instruction is
not supposed to trap with a -1 divisor.

Generate a legalization expansion for srem that special-cases the -1
divisor to simply return 0.
2017-09-29 08:53:49 -07:00
..
2017-09-29 08:53:49 -07:00
2017-09-29 08:53:49 -07:00
2017-08-31 10:44:59 -07:00
2016-10-17 14:44:43 -07:00