[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] r4k doesn't support movz
From: |
Aurelien Jarno |
Subject: |
Re: [Qemu-devel] r4k doesn't support movz |
Date: |
Sat, 19 May 2012 11:02:40 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Fri, May 18, 2012 at 07:38:39PM +0800, Zhi-zhou Zhang wrote:
> Hi Aurelien,
>
> 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 MIPS32
>
> I think ISA-64 should support MIPS32 instructions for compatible. am I
> right?
>
MIPS64 does support MIPS32 instructions. That said, the default CPU of
the mips machine with qemu-system-mips64el is an R4000 CPU which doesn't
support this instruction.
You should try for example with a 5Kc, 5Kf or 20Kc CPU.
--
Aurelien Jarno GPG: 1024D/F1BCDB73
address@hidden http://www.aurel32.net