Procedure call syntax:
| #include <simdmath.h> |
| vector signed int negatei4(vector signed int x); |
| Link with -lsimdmath |
Inline call syntax:
| #include <simdmath.h> |
| #include <negatei4.h> |
| vector signed int _negatei4(vector signed int x); |
| Parameters | |
| x | input vector |
The negatei4 function returns a vector of the corresponding elements of x in which each element has its sign inverted.
The function negatei4 returns a signed int vector in which each element is defined as the negation of the corresponding element of x.
If an element cannot be represented the corresponding result is undefined; no error is reported.
SPU and PPU
SIMD Math library specification for the Cell Broadband Engine⢠Architecture.
Basis
ISO9899 (C99) negate functions.