target/riscv: make ADD/SUB/OR/XOR/AND insn use arg lists
commitf2ab1728675772cd475a33f4df3d2f68a22c188f
authorBastian Koppelmann <kbastian@mail.uni-paderborn.de>
Wed, 13 Feb 2019 15:54:04 +0000 (13 07:54 -0800)
committerBastian Koppelmann <kbastian@mail.uni-paderborn.de>
Wed, 13 Mar 2019 09:40:50 +0000 (13 10:40 +0100)
treed8cb7a661ff862fed7197f5d4125268d3896ccb6
parent7a50d3e2ae7f13b24fe55990ea0b8ddcbbb43130
target/riscv: make ADD/SUB/OR/XOR/AND insn use arg lists

manual decoding in gen_arith() is not necessary with decodetree. For now
the function is called trans_arith as the original gen_arith still
exists. The former will be renamed to gen_arith as soon as the old
gen_arith can be removed.

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