On Sat, 2004-07-10 at 15:08 +0200, J. Mayer wrote:
Le 9 juil. 04, à 22:07, Natalia Portillo a écrit :
I think that including support for the PowerPC swapping instructions
in QEMU
will break compatibility with host PowerPCs before G3, so that
instructions
should be used in a run-time capability detection scheme.
On Sat, 2004-07-10 at 14:47, Pierre d'Herbemont wrote:
Which PowerPC Implementations? According to The PowerPC Architecture
Book, all the implementation 601,603,604,620 should include support
for
the lwbrx and stwbrx instructions.
I think all PPC include those instructions and gcc already uses them
for
endian-swapping.
I definitely think gcc could do with __attribute__((littleendian)) :)