Procedure call syntax:
| #include <simdmath.h> |
| vector float fmaf4(vector float x, vector float y, vector float z); |
| Link with -lsimdmath |
Inline call syntax:
| #include <simdmath.h> |
| #include <fmaf4.h> |
| vector float _fmaf4(vector float x, vector float y, vector float z); |
| Parameters | |
| x,y,z | input vectors |
The fmaf4 function computes (x * y) + z.
The function fmaf4 returns a float vector in which each element is defined as (x*y)+z rounded as one ternary operation for each of the corresponding elements of x, y, and z.
SPU and PPU
SIMD Math library specification for the Cell Broadband Engine⢠Architecture.
Basis
ISO9899 (C99) fma functions.