Port-powerpc archive

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

Re: bzero.S and assym.h (Re: CVS commit: syssrc/sys/lib/libkern/arch/powerpc)



>>>>> "Martin J Laubach" writes:

Martin> Just as an aside, none of the other bzero implementations I
Martin> looked at (linux, darwin, hurd) did anything other than just hard-
Martin> code "32" in there.

Martin> Not sure whether that is just sloppy coding or an indication
Martin> that we are worrying about something not really relevant.

        It is sloppy coding.  PowerPC Linux failed when running in 32-bit
mode on 64-bit PowerPC processors for exactly this reason.  I also do not
believe that embedded PowerPC Linux keeps the value as 32.

David



Home | Main Index | Thread Index | Old Index