On Thu, Aug 01, 2013 at 11:02:27AM +0100, Leon Alrae wrote:
> These are not DSP instructions, thus there is no "ac" field.
> 
> For more details please refer to instruction encoding of
> MULT, MULTU, MADD, MADDU, MSUB, MSUBU, MFHI, MFLO, MTHI, MTLO in
> MIPS Architecture for Programmers Volume II-B: The microMIPS32 Instruction Set

These instructions have both a non DSP version without the "ac" field,
and a DSP version with the "ac" field. The encoding of the "ac" field is
done in bits 14 and 15, so the current QEMU code is correct.

Please refer to the  MIPS32® Architecture Manual Volume IV-e: The
MIPS® DSP Application-Specific Extension to the microMIPS32®
Architecture (document MD00764).
 

-- 
Aurelien Jarno                          GPG: 1024D/F1BCDB73
aurel...@aurel32.net                 http://www.aurel32.net

Reply via email to