Stream: git-wasmtime

Topic: wasmtime / PR #1954 AArch64: fix shift ops: mask shift am...


view this post on Zulip Wasmtime GitHub notifications bot (Jul 01 2020 at 00:42):

cfallin opened PR #1954 from b1649432 to main:

The failure to mask the amount triggered a panic due to a subtraction
overflow check; see
https://bugzilla.mozilla.org/show_bug.cgi?id=1649432. Attempting to
shift by an out-of-range amount should be defined to shift by an amount
mod the operand size (i.e., masked to 5 bits for 32-bit shifts, or 6
bits for 64-bit shifts).

<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->

view this post on Zulip Wasmtime GitHub notifications bot (Jul 01 2020 at 00:42):

cfallin requested bnjbvr and julian-seward1 for a review on PR #1954.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 01 2020 at 00:42):

cfallin requested bnjbvr and julian-seward1 for a review on PR #1954.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 01 2020 at 05:19):

julian-seward1 submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 01 2020 at 10:19):

bnjbvr submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 01 2020 at 10:19):

bnjbvr submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 01 2020 at 10:19):

bnjbvr created PR Review Comment:

Can you add a CLIF test instead?

view this post on Zulip Wasmtime GitHub notifications bot (Jul 01 2020 at 15:58):

cfallin updated PR #1954 from b1649432 to main:

The failure to mask the amount triggered a panic due to a subtraction
overflow check; see
https://bugzilla.mozilla.org/show_bug.cgi?id=1649432. Attempting to
shift by an out-of-range amount should be defined to shift by an amount
mod the operand size (i.e., masked to 5 bits for 32-bit shifts, or 6
bits for 64-bit shifts).

<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->

view this post on Zulip Wasmtime GitHub notifications bot (Jul 01 2020 at 16:00):

cfallin submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 01 2020 at 16:00):

cfallin created PR Review Comment:

Done!

view this post on Zulip Wasmtime GitHub notifications bot (Jul 01 2020 at 16:33):

cfallin merged PR #1954.


Last updated: Nov 22 2024 at 16:03 UTC