Power10 technology exploitation

IBM® Open XL C/C++ for Linux® on Power® 17.1.1 adds support for the Power10 hardware platform. Use these enhancements to exploit Power10 technology with IBM Open XL C/C++ for Linux on Power 17.1.1.

Compiler options

-mcpu=power10
Produces code that exploits the features of the Power10 processor. Programs built with this option can only run on a Power10 processor or simulator.
-mmma | -mno-mma
Specifies whether to enable the Power10 MMA feature.
Example
To enable all Power10 features with the MMA feature excluded, enter the following command:
ibm-clang x.c -mcpu=power10 -mno-mma
-mpcrel | -mno-pcrel
Specifies whether to enable the Power10 PC-relative addressing feature.
Example
To enable all Power10 features with the PC-relative addressing feature excluded, enter the following command:
ibm-clang x.c -mcpu=power10 -mno-pcrel

Compiler macros

_ARCH_PWR10
Indicates that the application is targeted to run on Power10 processors. The macro is predefined when the -mcpu=power10 option is in effect.

MASS libraries

The vector library libmassvp10.a and the SIMD library libmass_simdp10.a contain functions that are tuned for the Power10 architecture.

The generic vector library libmassv.a and the generic SIMD library libmass_simd.a that run on any supported Power processor are also provided. They provide balanced performance tuning across the range of processors while favoring Power9 and Power10. Unless your application requires this portability, use the appropriate architecture-specific vector or SIMD libraries for maximum performance.