]> www.infradead.org Git - qemu-nvme.git/commit
target/mips: Do not treat msa INSERT as NOP when wd is zero
authorNi Hui <shuizhuyuanluo@126.com>
Tue, 3 May 2022 13:07:08 +0000 (21:07 +0800)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sat, 11 Jun 2022 09:34:12 +0000 (11:34 +0200)
commitead0bf0d3349522e9e496a2d3bfe344fafc584dc
tree77caafce03c9a320c657ff3720e3b60c50d855e2
parent4b532b4f2be28525fd181e43afe13416c462b135
target/mips: Do not treat msa INSERT as NOP when wd is zero

Only for msa COPY_U/COPY_S with wd zero, we treat it as NOP.

Move this special rule into COPY_U and COPY_S trans function.

Fixes: 97fe675519 ("target/mips: Convert MSA COPY_S and INSERT opcodes to decodetree")
Signed-off-by: Ni Hui <shuizhuyuanluo@126.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220503130708.272850-4-shuizhuyuanluo@126.com>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
target/mips/tcg/msa_translate.c