aboutsummaryrefslogtreecommitdiff
path: root/os-win32.c
diff options
context:
space:
mode:
authorStefan Pejic <stefan.pejic@syrmia.com>2022-05-04 13:03:57 +0200
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>2022-06-11 11:35:22 +0200
commita1b092537ac52b9a19e14ea163cb653149efcbb8 (patch)
tree0cf9ab81827a0e3054473c715199584957e115a5 /os-win32.c
parent1d29f899e7f2ae9bd1bc3eb0c59e72fe932f53a6 (diff)
target/mips: Fix emulation of nanoMIPS MTHLIP instruction
The field ac in nanoMIPS instruction MTHLIP rs, ac is specified in nanoMIPS documentation as opcode[15..14] (2 bits). However, in the current QEMU code, the corresponding argument passed to the helper gen_helper_mthlip() has the value of opcode[15..11] (5 bits). Right shift the value of this argument by three bits to fix this. Signed-off-by: Stefan Pejic <stefan.pejic@syrmia.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20220504110403.613168-2-stefan.pejic@syrmia.com> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'os-win32.c')
0 files changed, 0 insertions, 0 deletions