|
Each operation creates a vector
useful for aligning non-aligned data. arg1 is an
integer value, while arg2 is a pointer. The
effective address is calculated by adding arg1 to
arg2. For vec_lvsl the first byte
of the result vector contains the four least significant bits of the
effective address; for vec_lvsr the first byte
contains 16 minus this value. Each successive byte contains the
previous byte's value plus 1. The arg2 type may also
be a pointer to a const or volatile-qualified type.
See Address
Alignment for a description of how these
instructions are used.
|
arg1 |
arg2 |
|
|
|
||||
vector unsigned char |
|
unsigned char * |
|
|
vector unsigned char |
|
signed char * |
|
|
vector unsigned char |
|
unsigned short * |
|
|
vector unsigned char |
|
short * |
|
|
vector unsigned char |
|
unsigned int * |
|
|
vector unsigned char |
|
unsigned long * |
|
|
vector unsigned char |
|
int * |
|
|
vector unsigned char |
|
long * |
|
|
vector unsigned char |
|
float * |
|
|