To compile an application that calls the functions in the scalar, SIMD, or vector MASS libraries, specify mass, mass_simdp7, and/or one of massvp4, massvp5, massvp6, massvp7 (32-bit), or mass_simdp7_64, and/or one of massvp4_64, massvp5_64, massvp6_64, massvp7_64 (64 bit) on the -l linker option respectively.
xlc -qarch=pwr7 progc.c -o progc -lmass -lmassvp7
xlc -qarch=pwr7 progc.c -o progc -lmass_simdp7
xlc -qarch=pwr7 progc.c -o progc -lmass -lmassvp7_64 -q64
xlc -qarch=pwr7 progc.c -o progc -lmass_simdp7_64 -q64
The MASS functions must run in the default rounding mode and floating-point exception trapping settings.