Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

Difference between ppc64 and ppc64le

📅 2020-Aug-18 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ powerpc ⬩ 📚 Archive

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.