bjorn3 commented on Issue #1166:
This is a bug with the old x86 backend.
cfallin closed Issue #1166:
Reported in https://github.com/bytecodealliance/cranelift/issues/1305 and fixed (by partially reverting a patch in https://github.com/bytecodealliance/cranelift/pull/1308), it appears that when
brz
andbrnz
are emitted with runtime-inferredREX
prefixes (and therefore don't have constant instruction size), the code can jump into the middle of nowhere.https://github.com/bytecodealliance/cranelift/pull/1308 changed
brz
andbrnz
back to using separate encodings for REX and non-REX to prevent crashes in the meantime. This issue is to find the cause and fix it.STR are in https://github.com/bytecodealliance/cranelift/issues/1305 but I was not able to reproduce it locally.
Last updated: Nov 22 2024 at 17:03 UTC