You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/target/mips/tcg
Philippe Mathieu-Daudé e895095c78 target/mips: Only update MVPControl.EVP bit if executed by master VPE
According to the 'MIPS MT Application-Specific Extension' manual:

  If the VPE executing the instruction is not a Master VPE,
  with the MVP bit of the VPEConf0 register set, the EVP bit
  is unchanged by the instruction.

Modify the DVPE/EVPE opcodes to only update the MVPControl.EVP bit
if executed on a master VPE.

Cc: qemu-stable@nongnu.org
Reported-by: Hansni Bu
Buglink: https://bugs.launchpad.net/qemu/+bug/1926277
Fixes: f249412c74 ("mips: Add MT halting and waking of VPEs")
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Message-ID: <20210427133343.159718-1-f4bug@amsat.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
2 weeks ago
..
system target/mips: Only update MVPControl.EVP bit if executed by master VPE 2 weeks ago
dsp_helper.c
exception.c include: Remove 'exec/exec-all.h' 3 months ago
fpu_helper.c include: Remove 'exec/exec-all.h' 3 months ago
godson2.decode target/mips: Convert Loongson [D]MULT[U].G opcodes to decodetree 9 months ago
lcsr.decode target/mips: Implement Loongson CSR instructions 2 years ago
lcsr_translate.c tcg: Rename cpu_env to tcg_env 2 years ago
ldst_helper.c include: Remove 'exec/exec-all.h' 3 months ago
lmmi_helper.c
loong-ext.decode target/mips: Convert Loongson [D]MULT[U].G opcodes to decodetree 9 months ago
loong_translate.c target/mips: Remove unreachable 32-bit code on 64-bit Loongson Ext 9 months ago
meson.build include: Rename sysemu/ -> system/ 8 months ago
micromips_translate.c.inc target/mips: Have gen_[d]lsa() callers add 1 to shift amount argument 4 weeks ago
mips16e_translate.c.inc target/mips: Fix MIPS16e translation 4 months ago
msa.decode target/mips: Fix MSA BZ/BNZ opcodes displacement 2 years ago
msa_helper.c include: Remove 'exec/exec-all.h' 3 months ago
msa_helper.h.inc
msa_translate.c target/mips: Have gen_[d]lsa() callers add 1 to shift amount argument 4 weeks ago
mxu_translate.c target/mips: Replace MO_TE by mo_endian() 10 months ago
nanomips_translate.c.inc target/mips: Have gen_[d]lsa() callers add 1 to shift amount argument 4 weeks ago
octeon.decode target/mips: Convert Octeon LX instructions to decodetree 4 weeks ago
octeon_translate.c target/mips: Convert Octeon LX instructions to decodetree 4 weeks ago
op_helper.c target/mips: Add support for emulation of CRC32 instructions 4 weeks ago
rel6.decode target/mips: Add support for emulation of CRC32 instructions 4 weeks ago
rel6_translate.c target/mips: Have gen_[d]lsa() callers add 1 to shift amount argument 4 weeks ago
system_helper.h.inc include: Rename sysemu/ -> system/ 8 months ago
tcg-internal.h target/mips: Simplify and fix update_pagemask 4 months ago
trace-events
trace.h
translate.c target/mips: Convert Octeon LX instructions to decodetree 4 weeks ago
translate.h target/mips: Extract generic gen_lx() helper 4 weeks ago
translate_addr_const.c target/mips: Have gen_[d]lsa() callers add 1 to shift amount argument 4 weeks ago
tx79.decode target/mips: Fix TX79 LQ/SQ opcodes 2 years ago
tx79_translate.c target/mips: Replace MO_TE by mo_endian() 10 months ago
txx9_translate.c
vr54xx.decode
vr54xx_helper.c
vr54xx_helper.h.inc
vr54xx_translate.c tcg: Rename cpu_env to tcg_env 2 years ago