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 Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00
cpu.c Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00
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 Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00
helper.c target-mips: fix compiler warnings (clang 5) 2018-03-02 14:09:55 -05:00
helper.h Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00
lmi_helper.c Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00
Makefile.objs Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00
mips-defs.h Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00
msa_helper.c Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00
op_helper.c mips: Build fix 2018-03-01 22:56:23 -05:00
TODO Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00
translate.c target/mips: fix msa copy_[s|u]_df rd = 0 corner case 2018-03-03 22:08:12 -05:00
translate_init.c Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00
unicorn.c Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00
unicorn.h Move target-* CPU file into a target/ folder 2018-03-01 22:50:58 -05:00