qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] PPC LFDU instruction emulation problem?


From: Ely Soto
Subject: [Qemu-devel] PPC LFDU instruction emulation problem?
Date: Fri, 22 Sep 2006 11:20:52 -0400


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.

falconScrubFloop:
        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.

Ely Soto, Flight Software Engineer
Orbital Sciences Corp. Dulles, VA.
address@hidden
Office No. 703-406-5341
Mobile No. 703-403-7077




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.


reply via email to

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