https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87532

--- Comment #8 from Segher Boessenkool <segher at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #6)
> Note IIRC vec_extract came from the Cell BE C/C++ extension guide.  I can't
> seem to find that guide any more either :(.

Try googling for "Language_Extensions_for_CBEA_2.4.pdf"?

"The element that is specified by element is extracted from vector a
and returned in scalar d. Depending on the size of the element, only a
limited number of the least significant bits of the element index are
used. Specifically for 1-, 2-, and 4-byte elements, only four, three,
and two of the least significant bits are used, respectively."

Reply via email to