How do I make my program binary executable on the
POWER, POWER2, and POWERPC architecures?
AIX will emulate those instructions not available in POWERPC processors, but
you can avoid this emulation and consequent performance degradtation by
using only the common to all.
If you are using IBM's xlc (cc) compiler, the default is to use the common
instruction set. If you want to be explicit, use the -qarch=com option.
The option -mcpu=common makes GCC use the common instruction set. Please
note that (unlike xlc) this is *not* the default with GCC on AIX.