|
From: | Hervé Poussineau |
Subject: | [Qemu-devel] r4k doesn't support movz |
Date: | Fri, 18 May 2012 21:52:06 +0200 |
User-agent: | Thunderbird 2.0.0.23 (Windows/20090812) |
Hi, Zhi-zhou Zhang a écrit :
I found that when qemu-system-mips64el executed 'movz' with -M mips, it would raise a reserved instruction exception.The mips spec describes movz as below: Mnemonic Instructio Defined in MIPS ISA MOVZ Move Conditional on Zero MIPS32I think ISA-64 should support MIPS32 instructions for compatible. am I right?
movz instruction is available on MIPS4 and MIPS32 instruction sets (+ Loongson2E/2F CPUs) However, by default, 'mips' machine on qemu-system-mips64el uses a R4000 CPU, which is only MIPS3 compatible. You need to use another cpu which is MIPS4 or MIPS32 compatible with the -cpu option.
Regards, Hervé
[Prev in Thread] | Current Thread | [Next in Thread] |