vec_xl_len_r
Purpose
Loads a string of bytes into vector register, right-justified. Sets the leftmost elements (16-cnt) to 0.
Note: This built-in function
is valid only when the -mcpu option is set to target POWER9 processors
or higher.
Prototype
vector unsigned char vec_xl_len_r (unsigned char *ptr, const int cnt);
Parameters
- ptr
- Points to a base address.
- cnt
- The number of bytes to load. The value of cnt must be in the range 1 - 16.