Looking at target architectures and compiler backend architectures, I notice use of both of these names: ppc64
and ppc64le
. What is the difference?
ppc64
is the PowerPC 64-bit architecture target for compiler. But PowerPC is a big-endian architecture.
In order to make it easier to port over code from little-endian x86 and x64 architectures, PowerPC introduced a little-endian variant called ppc64le
, with the le
suffix standing for the little-endian.