jameysharp opened PR #6512 from jameysharp:arm-imm12-fix
to bytecodealliance:main
:
The previous implementation of Imm12::maybe_from_u64 did not match the constant values 0xfff or 0xfff000, even though those are expressible in the aarch64 12-bit immediate format.
Also the explicit test for 0 was unnecessary; it's a valid example of all bits outside the least-significant 12 bits being 0.
jameysharp requested cfallin for a review on PR #6512.
jameysharp requested wasmtime-compiler-reviewers for a review on PR #6512.
alexcrichton submitted PR review.
alexcrichton merged PR #6512.
Last updated: Dec 23 2024 at 12:05 UTC