Is your feature request related to a problem? Please describe.
qemu/target/riscv/insn32.decode contains RISC-V translation routines which can be generated from UDB. Currently the file is manually maintained.
Describe the solution you'd like
Inside the backends/qemu-generator, write a generator for insn32.decode and optionally for insn16.decode.