[Top][All Lists]

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

Re: [Qemu-devel] PPC LFDU instruction emulation problem?

From: Ely Soto
Subject: Re: [Qemu-devel] PPC LFDU instruction emulation problem?
Date: Fri, 22 Sep 2006 13:01:02 -0400

Ok, it seems to be my mistake.

bdnz or bc 16,0,target  decrements ctr then branches when zero.

However, in the qemu monitor, <info registers> doesn't seem to update $ctr.

Ely Soto <address@hidden>
Sent by: address@hidden

09/22/2006 11:20 AM

Please respond to

[Qemu-devel] PPC LFDU instruction emulation problem?

I seem to hit a weird emulation issue. I'm still new so take what I say with a grain of salt.

In my tests the LFDU instruction is not updating the Condition Register ($CR) when the condition becomes ZERO.

The following assembly will loop forever.


       lfdu        0,8(r17) /* load floating point value and increment register ( f0 <- ($r17) and $r17 += 8 */

       bc        16,0,falconScrubFloop        /* branch till counter == 0, This is equivalent to bdnz or branch if not zero */

The MSR is set to allow floating point $MSR = 0x2000.

Not sure what's going on yet.

Notice: This e-mail is intended solely for use of the individual
or entity to which it is addressed and may contain information that
is proprietary, privileged and exempt from disclosure under
applicable law. If the reader is not the intended recipient or
agent responsible for delivering the message to the intended
recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly
prohibited. This communication may also contain data subject to
U.S. export laws. If so, that data subject to the International
Traffic in Arms Regulation cannot be disseminated, distributed or
copied to foreign nationals, residing in the U.S. or abroad, absent
the express prior approval of the U.S. Department of State. If
you have received this communication in error, please notify the
sender by reply e-mail and destroy the e-mail message and any
physical copies made of the communication. Thank you.
Qemu-devel mailing list

reply via email to

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