test: clarify ARM64 assembler offset units

Signed-off-by: Thilo Schaeffer <38328877+Thxlx@users.noreply.github.com>
This commit is contained in:
Thilo Schaeffer committed 2026-11-25 17:45:05 +01:00
1 parent 4c92c88b29
commit 1fe07f45ee
1 file changed
+1
+1
View File
@@ -985,6 +985,7 @@ mod tests {
let mut asm = Arm64Assembler::new();
// Seed the destination so a W-register load must clear the high bits.
asm.movn_64(register, 0, 0);
// Assembler offsets count 32-bit instruction words.
let start = asm.current_offset();
asm.load_imm_64(register, value);
assert_eq!(