petrbalvin
c3540f0549
fix(asm): read the riscv64 raw-data immediates at full width
...
WORD and BYTE read their immediate through the truncating helper, so the
int32 wrap turned WORD $0xffffffff into -1 and rejected it, while WORD
$0x100000000 and BYTE $0x100000001 arrived pre-truncated and slipped
past the range check as small values. Both statements now read the
immediate the source wrote and bound it at the toolchain's own limits:
[0, 0xffffffff] for WORD, [0, 0xff] for BYTE, with the bounds pinned in
a test.
Assisted-by: GLM 5.3 Flash
2026-10-07 00:47:27 +02:00
..
2026-10-02 00:40:43 +02:00
2026-10-06 23:59:47 +02:00
2026-10-06 23:59:47 +02:00
2026-10-06 23:59:47 +02:00
2026-10-06 23:59:47 +02:00
2026-10-06 23:59:47 +02:00
2026-10-06 23:59:47 +02:00
2026-10-06 23:59:47 +02:00
2026-10-06 23:59:47 +02:00
2026-10-06 23:59:47 +02:00
2026-10-06 23:59:47 +02:00
2026-10-06 23:59:47 +02:00
2026-10-02 20:39:26 +02:00
2026-09-26 11:08:43 +02:00
2026-10-02 20:39:26 +02:00
2026-09-26 11:08:43 +02:00
2026-09-26 11:08:43 +02:00
2026-10-02 20:39:26 +02:00
2026-10-02 20:39:26 +02:00
2026-09-26 11:08:43 +02:00
2026-10-02 00:40:43 +02:00
2026-09-19 23:49:13 +02:00
2026-09-26 11:08:43 +02:00
2026-09-19 23:49:13 +02:00
2026-09-26 11:08:43 +02:00
2026-09-20 19:15:05 +02:00
2026-09-26 11:08:43 +02:00
2026-09-20 21:17:20 +02:00
2026-09-26 11:08:43 +02:00
2026-09-20 21:17:20 +02:00
2026-09-26 11:08:43 +02:00
2026-09-20 21:17:20 +02:00
2026-10-06 23:59:47 +02:00
2026-10-02 00:40:43 +02:00
2026-10-06 23:59:47 +02:00
2026-09-21 02:04:44 +02:00
2026-10-06 23:59:47 +02:00
2026-10-07 00:37:41 +02:00
2026-10-07 00:07:58 +02:00
2026-10-02 20:39:33 +02:00
2026-08-20 15:35:39 +02:00
2026-08-29 16:04:32 +02:00
2026-10-02 17:20:31 +02:00
2026-09-19 23:49:13 +02:00
2026-10-02 17:20:31 +02:00
2026-10-02 00:40:43 +02:00
2026-09-19 23:49:13 +02:00
2026-09-14 21:21:58 +02:00
2026-09-14 18:22:18 +02:00
2026-09-26 11:08:43 +02:00
2026-10-06 23:59:47 +02:00
2026-09-26 11:08:43 +02:00
2026-10-02 17:20:31 +02:00
2026-09-26 11:08:43 +02:00
2026-10-06 23:59:47 +02:00
2026-10-06 23:59:47 +02:00
2026-10-06 23:59:27 +02:00
2026-10-02 00:40:43 +02:00
2026-10-06 23:59:27 +02:00
2026-09-26 11:08:43 +02:00
2026-10-06 23:59:27 +02:00
2026-09-26 11:08:43 +02:00
2026-09-21 22:19:53 +02:00
2026-10-02 00:40:43 +02:00
2026-10-07 00:47:27 +02:00
2026-10-07 00:47:27 +02:00
2026-10-07 00:47:27 +02:00
2026-09-21 00:44:47 +02:00
2026-09-26 11:08:43 +02:00
2026-09-26 11:08:43 +02:00
2026-09-26 11:08:43 +02:00
2026-10-06 23:59:47 +02:00
2026-10-06 23:59:47 +02:00