qemu/target/mips
Miodrag Dinic cab4888136 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.

Signed-off-by: Miodrag Dinic <miodrag.dinic@imgtec.com>
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Acked-by: Aurelien Jarno <aurelien@aurel32.net>
Signed-off-by: Yongbok Kim <yongbok.kim@imgtec.com>
2017-07-11 15:06:34 +01:00
..
cpu-qom.h
cpu.c qom/cpu: move tlb_flush to cpu_common_reset 2017-01-13 14:24:31 +00:00
cpu.h target-mips: Provide function to test if a CPU supports an ISA 2017-02-21 22:24:58 +00:00
dsp_helper.c
gdbstub.c
helper.c target-mips: fix compiler warnings (clang 5) 2017-03-20 11:06:32 +00:00
helper.h target-mips: Use clz opcode 2017-01-10 08:06:11 -08:00
kvm_mips.h
kvm.c vcpu_dirty: share the same field in CPUState for all accelerators 2017-07-04 14:30:03 +02:00
lmi_helper.c
machine.c migration: extend VMStateInfo 2017-01-24 17:54:47 +00:00
Makefile.objs
mips-defs.h
mips-semi.c
msa_helper.c
op_helper.c target/mips: hold BQL for timer interrupts 2017-03-09 10:41:48 +00:00
TODO
trace-events target-mips: replace few LOG_DISAS() with trace points 2017-03-20 11:06:32 +00:00
translate_init.c
translate.c target/mips: fix msa copy_[s|u]_df rd = 0 corner case 2017-07-11 15:06:34 +01:00