qemu-e2k/disas
Michael Clark 33b4f859f1
RISC-V: Fix incorrect disassembly for addiw
This fixes a bug in the disassembler constraints used
to lift instructions into pseudo-instructions, whereby
addiw instructions are always lifted to sext.w instead
of just lifting addiw with a zero immediate.

An associated fix has been made to the metadata used to
machine generate the disseasembler:

https://github.com/michaeljclark/riscv-meta/
commit/4a6b2f3898430768acfe201405224d2ea31e1477

Cc: Sagar Karandikar <sagark@eecs.berkeley.edu>
Cc: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Cc: Palmer Dabbelt <palmer@sifive.com>
Cc: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael Clark <mjc@sifive.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
2018-03-28 11:12:02 -07:00
..
libvixl
alpha.c
arm-a64.cc
arm.c
cris.c
hppa.c
i386.c
lm32.c
m68k.c
Makefile.objs RISC-V Disassembler 2018-03-07 08:30:28 +13:00
microblaze.c
mips.c
moxie.c
nios2.c
ppc.c
riscv.c RISC-V: Fix incorrect disassembly for addiw 2018-03-28 11:12:02 -07:00
s390.c disas/s390: fix global-buffer-overflow 2018-01-16 14:54:50 +01:00
sh4.c
sparc.c
tci.c
xtensa.c target/xtensa: disas/xtensa: fix coverity warnings 2018-01-22 11:54:58 -08:00