Vector built-in functions

Individual elements of vectors can be accessed and manipulated by using the vector built-in functions. You must enable the vector support to use these built-in functions. This section provides description of the supported vector built-in functions.

This section uses pseudo code description to represent the built-in function syntax, as shown below:

d = builtin_name(a, b, c)
In the description, For example, the syntax for the built-in function vector double = vec_xld2(long, double*); is represented by d = vec_xld2(a, b).

Allowed data types for the return value and arguments of the built-in functions are provided in the table after the description of the built-in functions.