qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Re: MacOSX CVS build broken


From: Daniel Egger
Subject: Re: [Qemu-devel] Re: MacOSX CVS build broken
Date: Sat, 22 Jan 2005 00:14:40 +0100

On 21.01.2005, at 23:38, Ronald wrote:

    d9d8:       4d 81 00 20     bgtlr
    d9dc:       4b ff ff cc     b       d9a8 <op_pmaddwd_mmx+0x24>

this really don't end with blr, but if I have understood correctly
what I have found about bgtlr, it should do what blr do with some
condition on r0.
May be dyngen should verify on 4bffffcc too and not only 4e800020.

4e800020 is blr while bgtlr is 4d810020 so if you want to match on
bgtlr as well, the condition to check for would be more something like:

if ((get32((uint32_t *)p) != 0x4e800020) || (get32((uint32_t *)p) != 0x4d810020))

I would have to check the G4 PEM but there are probably a few more
rarely generated variants which should be matched as well; also
probably there's an elegant bitmask which can be used for testing
this condition....

Servus,
      Daniel

Attachment: PGP.sig
Description: This is a digitally signed message part


reply via email to

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