]> git.ipfire.org Git - thirdparty/qemu.git/commit
target-mips: fix wrong microMIPS opcode encoding
author陳韋任 (Wei-Ren Chen) <chenwj@iis.sinica.edu.tw>
Wed, 14 Nov 2012 02:49:55 +0000 (10:49 +0800)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Fri, 30 Nov 2012 22:07:16 +0000 (16:07 -0600)
commit357414daa4915fb2312fff2af2d4ef28147f3eeb
treed8d20b2e5af482d1752cafc613672f222582a857
parentf6b803df744f3b8fafd69fa8e8e0588ffd75f4ac
target-mips: fix wrong microMIPS opcode encoding

While reading microMIPS decoding, I found a possible wrong opcode
encoding. According to [1] page 166, the bits 13..12 for MULTU is
0x01 rather than 0x00. Please review, thanks.

[1] MIPS Architecture for Programmers VolumeIV-e: The MIPS DSP
    Application-Specific Extension to the microMIPS32 Architecture

Signed-off-by: Chen Wei-Ren <chenwj@iis.sinica.edu.tw>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
(cherry picked from commit 6801038bc52d61f81ac8a25fbe392f1bad982887)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
target-mips/translate.c