vec_sldw

用途

将两个并置向量左移给定的 4 字节数目。

语法

d=vec_sldw(a, b, c)

结果和参数类型

下表描述了返回值和函数参数的类型。

表 1. 结果和参数类型
d a b c
与参数 a 的类型相同 vector bool char 与参数 a 的类型相同 0–3
vector signed char
vector unsigned char
vector bool short
vector signed short
vector unsigned short
vector bool int
vector signed int
vector unsigned int
vector bool long long
vector signed long long
vector unsigned long long
vector float
向量双精度

结果值

结果是通过将 ab并置并将 c指定的 4 字节数向左移位而获得的最重要的 16 个字节。