3 ms·
It depends on what you mean; the PowerPC 970 (G5) did not support little endian mode at all. Earlier PowerPC devices (dating back to the PowerPC 601 IIRC) do in
by arcticbull 10y ago
It depends on what you mean; the PowerPC 970 (G5) did not support little endian mode at all. Earlier PowerPC devices (dating back to the PowerPC 601 IIRC) do in fact support runtime switching of endianness, although they were all 32-bit. PowerPC 64 LE is only supported on POWER8 (and apparently, per other commenters, requires hardware support although as a Mac developer I stopped paying attention after the 970 for some reason :)
I think it's probably fair to say all the Apple devices that shipped were big endian as the OS and firmware were, and while in theory the 32-bit machines could operate in little-endian mode I don't know of any distributions that actually did so, and 970 didn't support it.
- mrpippy 10y agoVirtual PC on the Mac did use the pseudo-little-endian instructions/mode when emulating x86, this made a lot of work for Microsoft when the 970 came out without pseudo-little-endian.
- tropo 10y agoMatrox (yes, the graphics card company) sold a PCI board with several PowerPC "G4" chips that ran little-endian Linux. They posted a smallish kernel patch for this. MC/OS and Windows NT 4.0 also ran little-endian on PowerPC. The hardware support was simple: swap all 8 byte lanes for every memory access. It only mattered when MMIO or DMA was involved, so a software-only alternative was to have the OS do that -- but disk access via DMA would make the software solution impractical.