vec_splats
Purpose
Returns a vector of which the value of each element is set to a.
Syntax
d=vec_splats(a)
Result and argument types
The following table describes the types of the returned value and the function arguments.
d | a |
---|---|
vector signed char | signed char |
vector unsigned char | unsigned char |
vector signed short | signed short |
vector unsigned short | unsigned short |
vector signed int | signed int |
vector unsigned int | unsigned int |
vector signed long long | signed long long |
vector unsigned long long | unsigned long long |
vector float | float |
vector double | double |