|
|
|
|
|
by cesarb
602 days ago
|
|
> Yeah, it's a little harder than for pure fixed-width Arm64, but it is massively massively easier than for amd64. For those who haven't read the details of the RISC-V ISA: the first two bits of every instruction tell the decoder whether it's a 16-bit or a 32-bit instruction. It's always in that same fixed place, there's no need to look at any other bit in the instruction. Decoding the length of a x86-64 instruction is much more complicated. |
|