unicorn/qemu/target/mips
Miodrag Dinic 8daabd339e
target/mips: fix msa copy_[s|u]_df rd = 0 corner case
This patch fixes the msa copy_[s|u]_df instruction emulation when
the destination register rd is zero. Without this patch the zero
register would get clobbered, which should never happen because it
is supposed to be hardwired to 0.

Fix this corner case by explicitly checking rd = 0 and effectively
making these instructions emulation no-op in that case.

Backports commit cab4888136a92250fdd401402622824994f7ce0b from qemu
2018-03-03 22:08:12 -05:00
..
cpu-qom.h
cpu.c
cpu.h target-mips: Provide function to test if a CPU supports an ISA 2018-03-02 08:20:19 -05:00
dsp_helper.c
helper.c target-mips: fix compiler warnings (clang 5) 2018-03-02 14:09:55 -05:00
helper.h
lmi_helper.c
Makefile.objs
mips-defs.h
msa_helper.c
op_helper.c
TODO
translate_init.c
translate.c target/mips: fix msa copy_[s|u]_df rd = 0 corner case 2018-03-03 22:08:12 -05:00
unicorn.c
unicorn.h