]> git.proxmox.com Git - qemu.git/commit
target-mips: fix decoding of microMIPS POOL32Axf instructions
authorLeon Alrae <leon.alrae@imgtec.com>
Tue, 6 Aug 2013 10:59:25 +0000 (11:59 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Tue, 6 Aug 2013 11:09:14 +0000 (13:09 +0200)
commita1fc6246b3964e74ddb3a7e0b8bba03af1c6ac38
treed37b9c5edf885dfad04a4a878412cf52eeb8d17b
parent79761c6681f0d1cc1c027116fcb4382d41ed3ece
target-mips: fix decoding of microMIPS POOL32Axf instructions

Fix incorrect assumption that DSP and non-DSP versions of the following
instructions have the same encoding:
MULT, MULTU, MADD, MADDU, MSUB, MSUBU, MFHI, MFLO, MTHI, MTLO.
Correct the existing (non-DSP) instructions and add DSP equivalents.

Reference:
MIPS Architecture for Programmers Volume II-B: The microMIPS32
Instruction Set
MIPS Architecture for Programmers Volume IV-e: The MIPS DSP Module for
the microMIPS32 Architecture

Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-mips/translate.c