vec_mergeo
Purpose
Merges the values of odd-numbered elements of two vectors.
This built-in function is valid only when you include the altivec.h file.
Syntax
d=vec_mergeo(a,b)
Result and argument types
The following table describes the types of the returned value and the function arguments.
| d | a | b |
|---|---|---|
| The same type as argument a | vector bool int | The same type as argument a |
| vector signed int | ||
| vector unsigned int |
Result value
Assume that the elements of each vector are numbered beginning with zero. The even-numbered elements of the result are obtained, in order, from the odd-numbered elements of a. The odd-numbered elements of the result are obtained, in order, from the odd-numbered elements of b.


