Stream: git-wasmtime

Topic: wasmtime / Issue #2496 Fix iconst.i8 0 miscompilation wit...


view this post on Zulip Wasmtime GitHub notifications bot (Dec 11 2020 at 17:40):

bjorn3 commented on Issue #2496:

The problem here as far as I understand it is that for 8bit operations there are registers for which it is not allowed to omit the rex prefix even if a plain rex prefix without any bits set is used. Normally the rex prefix would be considered as unused in this case. In any case using the 32bit variant avoids a potential partial register stall.

view this post on Zulip Wasmtime GitHub notifications bot (Dec 11 2020 at 18:45):

abrown commented on Issue #2496:

Honestly, it is probably too much work (on legacy code) to change the infer_rex stuff to understand which registers need REX prefixes for this specific instruction but I'll leave it up to @bnjbvr.


Last updated: Dec 23 2024 at 12:05 UTC