Library Selection

The compiler selects between libraries based on several compiler switches. These are:

-mcpu=603e

Libraries suitable for the PPC603e, e300 family, and compatible processors are selected. This is the default if no more specific option is selected. The compiler generates floating-point instructions, and the libraries may use them.

-msoft-float

Libraries using software floating-point routines for PPC603e and compatible processors are selected. These libraries run on most Power Architecture processors. They do not rely on hardware floating point, AltiVec, or SPE.

-te500v1

Libraries suitable for the E500V1 family and compatible processors are selected. The compiler generates SPE instructions, and the libraries may use them.

-te500v2

Libraries suitable for the E500V2 family and compatible processors are selected. The compiler generates SPE instructions, including double-precision floating point, and the libraries may use them.

-te600

Libraries suitable for the E600 family and compatible processors are selected. The compiler generates AltiVec instructions, and the libraries may use them.