Files
wasmtime/crates
Gabor Greif 387afc805e debug: Normalise value prior to right shifts (#2276)
* normalise value prior to right shifts

by first left-aligning (shift left by 32 bits)
then shifting back (respecting signedness)

* Update crates/debug/src/transform/expression.rs

Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com>

* Update crates/debug/src/transform/expression.rs

* Update crates/debug/src/transform/expression.rs

* update translation of DW_OP_shr in test

* add translation test for DW_OP_shra

* explain normalisation

* optimise the expression by performing only one right shift

We assume that the expression evaluator permits collapsing
two shifts as long as they go in the same direction.

Review feedback.

Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com>
2020-10-07 12:42:20 -05:00
..
2020-08-17 16:03:35 -07:00
2020-09-23 13:54:02 -05:00
2020-10-07 06:30:14 -05:00
2020-09-23 13:54:02 -05:00
2020-09-23 13:54:02 -05:00
2020-09-26 00:49:28 -05:00
2020-10-07 06:30:14 -05:00
2020-09-29 13:20:14 -05:00
2020-09-29 13:20:14 -05:00
2020-09-23 13:54:02 -05:00