OSDN Git Service

target/riscv: Fix manually parsed 16 bit insn
authorBastian Koppelmann <kbastian@mail.uni-paderborn.de>
Fri, 15 Mar 2019 13:51:40 +0000 (14:51 +0100)
committerPalmer Dabbelt <palmer@sifive.com>
Mon, 18 Mar 2019 05:21:32 +0000 (22:21 -0700)
commitf330433b3633647b047cfa418c2ca4d18fda69c7
tree4aa5f900919e51056b992cc648638500b1c06e26
parentd4e65539e570d5872003710b5a1064489911d33d
target/riscv: Fix manually parsed 16 bit insn

during the refactor to decodetree we removed the manual decoding that is
necessary for c.jal/c.addiw and removed the translation of c.flw/c.ld
and c.fsw/c.sd. This reintroduces the manual parsing and the
omited implementation.

Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Tested-by: Palmer Dabbelt <palmer@sifive.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Tested-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
target/riscv/insn_trans/trans_rvc.inc.c