Files
Odin/core
Brendan Punsky 01bdf7522c rexcode/arm64: MRS/MSR printed the system register as a number
`mrs x0, cntvct_el0` came back out of the disassembler as
`mrs x0, #24322`. The 230 sysreg constants were already there and the
encoding was byte-exact against llvm-mc -- the printer simply had no
SYS_REG handling, so the packed 15-bit field printed as an immediate.
Nothing an assembler would take back.

Adds a value -> name table (sorted, binary searched) and prints that
operand by name for MRS, and for the MSR form that takes one. MSR's
other form holds a PSTATE field selector in the same slot, which is a
different namespace; the two are told apart by whether the second
operand is a register or an immediate.

Six encodings carry two names, so a round-trip can come back spelled as
the sibling; the first by source order wins.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018UmHLRF11EoWwNWCJ7JGaA
2026-08-27 08:59:47 -04:00
..
2026-04-28 19:27:24 +02:00
2026-07-31 21:47:02 -04:00
2026-04-28 19:27:24 +02:00
2026-08-25 23:03:11 -07:00
2026-08-02 03:15:30 +02:00
2026-08-25 23:55:55 -07:00
2026-08-22 21:50:07 +02:00
2026-08-24 22:46:30 -07:00
2026-08-25 21:49:11 +02:00
2026-04-28 19:27:24 +02:00
2026-03-14 16:21:38 +00:00
2026-02-09 20:08:22 +01:00
2026-07-30 12:03:08 +02:00