fix(asm): read the arm64 move-wide immediate as an unsigned pattern

Assisted-by: GLM 5.3 Flash
This commit is contained in:
2026-09-23 21:03:03 +02:00
parent 7b11c62f53
commit 74d6b90d69
3 changed files with 54 additions and 14 deletions
+5
View File
@@ -33,6 +33,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
resolved to nothing: only the forward forms counted. A negative count
now walks the same instruction statements backwards, labels excluded,
byte-identical with the toolchain.
- **The arm64 move-wide family reads its immediate as an unsigned
pattern.** `MOVK $(40000<<48)` folds to a negative int64 and was
rejected; the toolchain picks the 16-bit lane from the 64-bit bit
pattern, so the encoder now does the same, and a zero immediate is
rejected where the toolchain rejects it.
## [0.35.0] - 2026-09-22