PowerPC


[Home] Home > Programming > Preprocessor > Architectures >
PowerPC

Description

The PowerPC architecture from Motorola (and IBM).

This is different to IBM's POWER architecture.

Macros

Type Macro Description
Identification __powerpc
__powerpc__
__powerpc64__
__POWERPC__
__ppc__
__ppc64__
__PPC__
__PPC64__
_ARCH_PPC
_ARCH_PPC64
Defined by GNU C
Version __ppcV__ V = Version
Identification _M_PPC Defined by Visual Studio
Version _M_PPC ?
Identification _ARCH_PPC
_ARCH_PPC64
Defined by XL C/C++
Version _ARCH_V V = Version
Version __PPCGECKO__ Gekko

Defined by CodeWarrior
Version __PPCBROADWAY__ Broadway

Defined by CodeWarrior
Version _XENON Xenon
Identification __ppc Defined by Diab

Examples

CPU _M_PPC Macro XL Macro
PowerPC 440 _ARCH_440
PowerPC 450 _ARCH_450
PowerPC 601 601 __ppc601__ _ARCH_601
PowerPC 603 603 __ppc603__ _ARCH_603
PowerPC 604 604 __ppc604__ _ARCH_604
PowerPC 620 620

Copyright © 2010-2024 Paul Ward.
License Information