[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] mfocrf missing on e500v2

From: Richard Henderson
Subject: Re: [Qemu-devel] mfocrf missing on e500v2
Date: Fri, 06 Mar 2015 11:37:31 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0

On 03/06/2015 08:04 AM, Alexander Graf wrote:
> Hi Richard,
> I've finally managed to check out why my e500v2 automated tests fail to
> run. Apparently they break because autotest wants to execute target code
> and runs into an illegal instruction while doing that:
> Program received signal SIGILL, Illegal instruction.
> 0xb57c84cc in ?? ()
> (gdb) x /i $pc
> => 0xb57c84cc:        mfocrf  r0,1
> And lo and behold, I really couldn't find any reference to mfocrf in the
> e500v2 spec.
> Is there any way to disable setcond2 for those chips?

No, not disable setcond2.

But the proper solution is to emit mfcrf (i.e. all of the cr regs, not "one" of
the cregs).  We'd want to check the processor we're running on, since
mfcrf is slower than mfocrf on modern hardware.  Can you see if there's a
bit in AT_HWCAP that covers this?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]