The table below lists intrinsic functions for mathematical operations.
| Intrinsic Prototype | Power Architecture Instruction |
|---|---|
| int __mulhw(int, int); | mulhw |
| uint __mulhwu(uint, uint); | mulhwu |
| double __fmadd(double, double, double); | fmadd |
| double __fmsub(double, double, double); | fmsub |
| double __fnmadd(double, double, double); | fnmadd |
| double __fnmsub(double, double, double); | fnmsub |
| float __fmadds(float, float, float); | fmadds |
| float __fmsubs(float, float, float); | fmsubs |
| float __fnmadds(float, float, float); | fnmadds |
| float __fnmsubs(float, float, float); | fnmsubs |
| double __mffs(void); | mffs |
| float __fabsf(float); | fabsf |
| float __fnabsf(float); | fnabsf |