Lines Matching refs:s16
564 VARITHSAT_SIGNED(H, s16, int32_t, cvtswsh) in VARITHSAT_SIGNED()
587 VAVG(VAVGSH, s16, int32_t)
912 for (i = 0; i < ARRAY_SIZE(r->s16); i++) { in helper_VMHADDSHS()
913 int32_t prod = a->s16[i] * b->s16[i]; in helper_VMHADDSHS()
914 int32_t t = (int32_t)c->s16[i] + (prod >> 15); in helper_VMHADDSHS()
916 r->s16[i] = cvtswsh(t, &sat); in helper_VMHADDSHS()
930 for (i = 0; i < ARRAY_SIZE(r->s16); i++) { in helper_VMHRADDSHS()
931 int32_t prod = a->s16[i] * b->s16[i] + 0x00004000; in helper_VMHRADDSHS()
932 int32_t t = (int32_t)c->s16[i] + (prod >> 15); in helper_VMHRADDSHS()
933 r->s16[i] = cvtswsh(t, &sat); in helper_VMHRADDSHS()
946 for (i = 0; i < ARRAY_SIZE(r->s16); i++) { in helper_VMLADDUHM()
947 int32_t prod = a->s16[i] * b->s16[i]; in helper_VMLADDUHM()
948 r->s16[i] = (int16_t) (prod + c->s16[i]); in helper_VMLADDUHM()
994 for (i = 0; i < ARRAY_SIZE(r->s16); i++) { in helper_VMSUMSHM()
995 prod[i] = a->s16[i] * b->s16[i]; in helper_VMSUMSHM()
1010 for (i = 0; i < ARRAY_SIZE(r->s16); i++) { in helper_VMSUMSHS()
1011 prod[i] = (int32_t)a->s16[i] * b->s16[i]; in helper_VMSUMSHS()
1102 VMUL(SH, s16, VsrSH, VsrSW, int32_t) in VMUL()
1510 VPK(shss, s16, s8, cvtshsb, 1)
1511 VPK(shus, s16, u8, cvtshub, 1)
1512 VPK(swss, s32, s16, cvtswsh, 1)
1981 t += a->s16[2 * i] + a->s16[2 * i + 1]; in helper_vsum4shs()
2055 VUPK(hsb, s16, s8, UPKHI)
2056 VUPK(hsh, s32, s16, UPKHI)
2058 VUPK(lsb, s16, s8, UPKLO)
2059 VUPK(lsh, s32, s16, UPKLO)