vec_xl_len_r
Purpose
Loads a string of bytes into vector register, right-justified. Sets the leftmost elements (16-cnt) to 0.
This built-in function is valid only when -qarch(-mcpu) is set to utilize the POWER9™ technology and the altivec.h file is included.
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.