This also comes with a performance bump due to inlining of reg_read/reg_write (as they're only called once now) and the unlikely() on CHECK_REG_TYPE.
code under riscv32/ is from riscv32-softmmu/target/riscv/*.inc.c code under riscv64/ is from riscv64-softmmu/target/riscv/*.inc.c WARNING: these code are autogen from scripts/decodetree.py, DO NOT modify them.