Stream: git-wasmtime

Topic: wasmtime / PR #2343 Fix icmp_imm.i128


view this post on Zulip Wasmtime GitHub notifications bot (Oct 31 2020 at 18:24):

bjorn3 opened PR #2343 from fix_icmp_imm_i128 to main:

The immediate splitting code contained a bug causing both low and high
to be equal for i128. This is the root cause for
bjorn3/rustc_codegen_cranelift#1097 and likely the only bug preventing
cg_clif from bootstrapping rustc.

<!--

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 (Oct 31 2020 at 19:20):

cfallin submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 31 2020 at 19:20):

cfallin submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 31 2020 at 19:20):

cfallin created PR Review Comment:

Do we need to mask this as well? imm is an i64, and so a right-shift is an arithmetic right-shift that replicates the MSB on the left; a quick test shows that -1i64 >> 32 is still -1i64 (i.e., all ones).

view this post on Zulip Wasmtime GitHub notifications bot (Oct 31 2020 at 19:39):

bjorn3 updated PR #2343 from fix_icmp_imm_i128 to main:

The immediate splitting code contained a bug causing both low and high
to be equal for i128. This is the root cause for
bjorn3/rustc_codegen_cranelift#1097 and likely the only bug preventing
cg_clif from bootstrapping rustc.

<!--

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 (Oct 31 2020 at 19:41):

bjorn3 updated PR #2343 from fix_icmp_imm_i128 to main:

The immediate splitting code contained a bug causing both low and high
to be equal for i128. This is the root cause for
bjorn3/rustc_codegen_cranelift#1097 and likely the only bug preventing
cg_clif from bootstrapping rustc.

<!--

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 (Oct 31 2020 at 20:11):

bjorn3 updated PR #2343 from fix_icmp_imm_i128 to main:

The immediate splitting code contained a bug causing both low and high
to be equal for i128. This is the root cause for
bjorn3/rustc_codegen_cranelift#1097 and likely the only bug preventing
cg_clif from bootstrapping rustc.

<!--

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 (Oct 31 2020 at 20:12):

bjorn3 submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 31 2020 at 20:12):

bjorn3 created PR Review Comment:

Fixed

view this post on Zulip Wasmtime GitHub notifications bot (Oct 31 2020 at 20:18):

cfallin submitted PR Review.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 31 2020 at 21:09):

cfallin merged PR #2343.


Last updated: Nov 22 2024 at 16:03 UTC