aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/omap_tap.c
diff options
context:
space:
mode:
authorDragan Mladjenovic <dragan.mladjenovic@syrmia.com>2022-05-04 13:04:00 +0200
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>2022-06-11 11:35:48 +0200
commit14668cfaaf4d6f818d9e6b58dd44b75842654e2a (patch)
treee5bec46f33323072f5aa23628d3839e66105bf3d /hw/misc/omap_tap.c
parent5de4359b4f303faf5eecc7c37668a6bef77cb656 (diff)
downloadqemu-14668cfaaf4d6f818d9e6b58dd44b75842654e2a.zip
qemu-14668cfaaf4d6f818d9e6b58dd44b75842654e2a.tar.gz
qemu-14668cfaaf4d6f818d9e6b58dd44b75842654e2a.tar.bz2
target/mips: Fix emulation of nanoMIPS BNEC[32] instruction
If both rs and rt are the same register, the nanoMIPS instruction BNEC[32] rs, rt, address is equivalent to NOP (branch is not taken and there is no delay slot). This commit provides such behavior. Without this commit, this scenario results in an incorrect behavior. Signed-off-by: Dragan Mladjenovic <dragan.mladjenovic@syrmia.com> Signed-off-by: Stefan Pejic <stefan.pejic@syrmia.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20220504110403.613168-5-stefan.pejic@syrmia.com> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'hw/misc/omap_tap.c')
0 files changed, 0 insertions, 0 deletions