vec_splats: Vector Splats

d = vec_splats(a)

Returns a vector of which the value of each element is set to a.

Table 1. Vector Splats
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 double double