Lines Matching full:bits
67 #define DEF_VPK_HFN(BITS, TBITS) \ argument
68 typedef uint##TBITS##_t (*vpk##BITS##_fn)(uint##BITS##_t, int *); \
69 static int vpk##BITS##_hfn(S390Vector *v1, const S390Vector *v2, \
70 const S390Vector *v3, vpk##BITS##_fn fn) \
76 uint##BITS##_t src; \
78 if (i < (128 / BITS)) { \
79 src = s390_vec_read_element##BITS(v2, i); \
81 src = s390_vec_read_element##BITS(v3, i - (128 / BITS)); \
92 #define DEF_VPK(BITS, TBITS) \ argument
93 static uint##TBITS##_t vpk##BITS##e(uint##BITS##_t src, int *saturated) \
97 void HELPER(gvec_vpk##BITS)(void *v1, const void *v2, const void *v3, \
100 vpk##BITS##_hfn(v1, v2, v3, vpk##BITS##e); \
106 #define DEF_VPKS(BITS, TBITS) \ argument
107 static uint##TBITS##_t vpks##BITS##e(uint##BITS##_t src, int *saturated) \
109 if ((int##BITS##_t)src > INT##TBITS##_MAX) { \
112 } else if ((int##BITS##_t)src < INT##TBITS##_MIN) { \
118 void HELPER(gvec_vpks##BITS)(void *v1, const void *v2, const void *v3, \
121 vpk##BITS##_hfn(v1, v2, v3, vpks##BITS##e); \
123 void HELPER(gvec_vpks_cc##BITS)(void *v1, const void *v2, const void *v3, \
126 int saturated = vpk##BITS##_hfn(v1, v2, v3, vpks##BITS##e); \
140 #define DEF_VPKLS(BITS, TBITS) \ argument
141 static uint##TBITS##_t vpkls##BITS##e(uint##BITS##_t src, int *saturated) \
149 void HELPER(gvec_vpkls##BITS)(void *v1, const void *v2, const void *v3, \
152 vpk##BITS##_hfn(v1, v2, v3, vpkls##BITS##e); \
154 void HELPER(gvec_vpkls_cc##BITS)(void *v1, const void *v2, const void *v3, \
157 int saturated = vpk##BITS##_hfn(v1, v2, v3, vpkls##BITS##e); \