target/riscv: Move gen_arith_imm() decoding into trans_* functions
commit7a50d3e2ae7f13b24fe55990ea0b8ddcbbb43130
authorBastian Koppelmann <kbastian@mail.uni-paderborn.de>
Wed, 13 Feb 2019 15:54:03 +0000 (13 07:54 -0800)
committerBastian Koppelmann <kbastian@mail.uni-paderborn.de>
Wed, 13 Mar 2019 09:40:50 +0000 (13 10:40 +0100)
tree3eea2bf31cf2f45d5d2ae2141dca290793c60e8b
parentbce8a342a1f0919479d18ec812b100136daa746b
target/riscv: Move gen_arith_imm() decoding into trans_* functions

gen_arith_imm() does a lot of decoding manually, which was hard to read
in case of the shift instructions and is not necessary anymore with
decodetree.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Signed-off-by: Peer Adelt <peer.adelt@hni.uni-paderborn.de>
target/riscv/insn32.decode
target/riscv/insn_trans/trans_rvi.inc.c
target/riscv/translate.c