Lines Matching refs:t
622 float32 t = cvt(b->element[i], &env->vec_status); \
623 r->f32[i] = float32_scalbn(t, -uim, &env->vec_status); \
631 void helper_##NAME(ppc_vsr_t *t, ppc_vsr_t *a, ppc_vsr_t *b, uint32_t desc) \
633 for (int i = 0; i < ARRAY_SIZE(t->ELEM); i++) { \
634 t->ELEM[i] = ((a->ELEM[i] == 0) || (b->ELEM[i] == 0) || \
733 float64 t = float32_to_float64(b->f32[i], &s); \
736 t = float64_scalbn(t, uim, &s); \
737 j = float64_to_int64(t, &s); \
914 int32_t t = (int32_t)c->s16[i] + (prod >> 15); in helper_VMHADDSHS() local
916 r->s16[i] = cvtswsh(t, &sat); in helper_VMHADDSHS()
932 int32_t t = (int32_t)c->s16[i] + (prod >> 15); in helper_VMHRADDSHS() local
933 r->s16[i] = cvtswsh(t, &sat); in helper_VMHRADDSHS()
1015 int64_t t = (int64_t)c->s32[i] + prod[2 * i] + prod[2 * i + 1]; in helper_VMSUMSHS() local
1017 r->u32[i] = cvtsdsw(t, &sat); in helper_VMSUMSHS()
1066 uint64_t t = (uint64_t)c->u32[i] + prod[2 * i] + prod[2 * i + 1]; in helper_VMSUMUHS() local
1068 r->u32[i] = cvtuduw(t, &sat); in helper_VMSUMUHS()
1111 void helper_XXPERMX(ppc_vsr_t *t, ppc_vsr_t *s0, ppc_vsr_t *s1, ppc_vsr_t *pcv, in VMUL()
1117 for (i = 0; i < ARRAY_SIZE(t->u8); i++) { in VMUL()
1120 if (idx < ARRAY_SIZE(t->u8)) { in VMUL()
1123 tmp.VsrB(i) = s1->VsrB(idx - ARRAY_SIZE(t->u8)); in VMUL()
1128 *t = tmp; in VMUL()
1131 void helper_VDIVSQ(ppc_avr_t *t, ppc_avr_t *a, ppc_avr_t *b) in helper_VDIVSQ() argument
1137 t->s128 = int128_divs(a->s128, b->s128); in helper_VDIVSQ()
1139 t->s128 = a->s128; /* Undefined behavior */ in helper_VDIVSQ()
1143 void helper_VDIVUQ(ppc_avr_t *t, ppc_avr_t *a, ppc_avr_t *b) in helper_VDIVUQ() argument
1146 t->s128 = int128_divu(a->s128, b->s128); in helper_VDIVUQ()
1148 t->s128 = a->s128; /* Undefined behavior */ in helper_VDIVUQ()
1152 void helper_VDIVESD(ppc_avr_t *t, ppc_avr_t *a, ppc_avr_t *b) in helper_VDIVESD() argument
1161 t->s64[i] = a->s64[i]; /* Undefined behavior */ in helper_VDIVESD()
1164 t->s64[i] = low; in helper_VDIVESD()
1169 void helper_VDIVEUD(ppc_avr_t *t, ppc_avr_t *a, ppc_avr_t *b) in helper_VDIVEUD() argument
1177 t->u64[i] = a->u64[i]; /* Undefined behavior */ in helper_VDIVEUD()
1180 t->u64[i] = low; in helper_VDIVEUD()
1185 void helper_VDIVESQ(ppc_avr_t *t, ppc_avr_t *a, ppc_avr_t *b) in helper_VDIVESQ() argument
1195 t->s128 = a->s128; /* Undefined behavior */ in helper_VDIVESQ()
1198 t->s128 = low; in helper_VDIVESQ()
1202 void helper_VDIVEUQ(ppc_avr_t *t, ppc_avr_t *a, ppc_avr_t *b) in helper_VDIVEUQ() argument
1209 t->s128 = a->s128; /* Undefined behavior */ in helper_VDIVEUQ()
1212 t->s128 = low; in helper_VDIVEUQ()
1216 void helper_VMODSQ(ppc_avr_t *t, ppc_avr_t *a, ppc_avr_t *b) in helper_VMODSQ() argument
1222 t->s128 = int128_rems(a->s128, b->s128); in helper_VMODSQ()
1224 t->s128 = int128_zero(); /* Undefined behavior */ in helper_VMODSQ()
1228 void helper_VMODUQ(ppc_avr_t *t, ppc_avr_t *a, ppc_avr_t *b) in helper_VMODUQ() argument
1231 t->s128 = int128_remu(a->s128, b->s128); in helper_VMODUQ()
1233 t->s128 = int128_zero(); /* Undefined behavior */ in helper_VMODUQ()
1274 void glue(helper_, glue(NAME, _be_exp))(ppc_vsr_t *t, ppc_vsr_t *b) \
1293 *t = tmp; \
1297 void glue(helper_, glue(NAME, _be_comp))(ppc_vsr_t *t, ppc_vsr_t *b)\
1312 *t = tmp; \
1316 void glue(helper_, glue(NAME, _le_exp))(ppc_vsr_t *t, ppc_vsr_t *b) \
1337 *t = tmp; \
1341 void glue(helper_, glue(NAME, _le_comp))(ppc_vsr_t *t, ppc_vsr_t *b)\
1358 *t = tmp; \
1558 float32 t = float32_sqrt(b->f32[i], &env->vec_status); in VRFI() local
1560 r->f32[i] = float32_div(float32_one, t, &env->vec_status); in VRFI()
1697 void glue(glue(helper_VINS, SUFFIX), LX)(CPUPPCState *env, ppc_avr_t *t, \
1700 const int maxidx = ARRAY_SIZE(t->u8) - sizeof(TYPE); \
1710 memcpy(ELEM_ADDR(t, idx, sizeof(TYPE)), &src, sizeof(TYPE)); \
1721 void helper_##NAME(CPUPPCState *env, ppc_avr_t *t, ppc_avr_t *a, ppc_avr_t *b, \ in VINSX()
1726 memset(t, 0, sizeof(*t)); \ in VINSX()
1728 memcpy(&t->u8[ARRAY_SIZE(t->u8) / 2 - SIZE], (void *)tmp + idx, SIZE); \ in VINSX()
1737 void helper_##NAME(CPUPPCState *env, ppc_avr_t *t, ppc_avr_t *a, ppc_avr_t *b, \
1742 memset(t, 0, sizeof(*t)); \
1744 memcpy(&t->u8[ARRAY_SIZE(t->u8) / 2], \
1785 uint32_t helper_##NAME(ppc_avr_t *t, ppc_avr_t *b) \
1792 t->Vsr##ELEM(idx) = b->Vsr##ELEM(idx); \
1801 t->Vsr##ELEM(idx) = 0; \
1814 ppc_vsr_t t = { }; local
1821 t.VsrB(8 - es + i) = xb->VsrB(ext_index % 16);
1824 *xt = t;
1829 ppc_vsr_t t = *xt; in helper_XXINSERTW() local
1835 t.VsrB(ins_index) = xb->VsrB(8 - es + i); in helper_XXINSERTW()
1838 *xt = t; in helper_XXINSERTW()
1841 void helper_XXEVAL(ppc_avr_t *t, ppc_avr_t *a, ppc_avr_t *b, ppc_avr_t *c, in helper_XXEVAL() argument
1879 t->s128 = disj; in helper_XXEVAL()
1883 void glue(helper_XXBLENDV, name)(ppc_avr_t *t, ppc_avr_t *a, ppc_avr_t *b, \
1886 for (int i = 0; i < ARRAY_SIZE(t->glue(u, sz)); i++) { \
1887 t->glue(u, sz)[i] = (c->glue(s, sz)[i] >> (sz - 1)) ? \
1912 int64_t t; in helper_vsumsws() local
1918 t = (int64_t)b->VsrSW(upper); in helper_vsumsws()
1920 t += a->VsrSW(i); in helper_vsumsws()
1923 result.VsrSW(upper) = cvtsdsw(t, &sat); in helper_vsumsws()
1939 int64_t t = (int64_t)b->VsrSW(upper + i * 2); in helper_vsum2sws() local
1943 t += a->VsrSW(2 * i + j); in helper_vsum2sws()
1945 result.VsrSW(upper + i * 2) = cvtsdsw(t, &sat); in helper_vsum2sws()
1960 int64_t t = (int64_t)b->s32[i]; in helper_vsum4sbs() local
1963 t += a->s8[4 * i + j]; in helper_vsum4sbs()
1965 r->s32[i] = cvtsdsw(t, &sat); in helper_vsum4sbs()
1979 int64_t t = (int64_t)b->s32[i]; in helper_vsum4shs() local
1981 t += a->s16[2 * i] + a->s16[2 * i + 1]; in helper_vsum4shs()
1982 r->s32[i] = cvtsdsw(t, &sat); in helper_vsum4shs()
1996 uint64_t t = (uint64_t)b->u32[i]; in helper_vsum4ubs() local
1999 t += a->u8[4 * i + j]; in helper_vsum4ubs()
2001 r->u32[i] = cvtuduw(t, &sat); in helper_vsum4ubs()
2304 static int bcd_add_mag(ppc_avr_t *t, ppc_avr_t *a, ppc_avr_t *b, int *invalid, in bcd_add_mag() argument
2322 bcd_put_digit(t, digit, i); in bcd_add_mag()
2329 static void bcd_sub_mag(ppc_avr_t *t, ppc_avr_t *a, ppc_avr_t *b, int *invalid, in bcd_sub_mag() argument
2345 bcd_put_digit(t, digit, i); in bcd_sub_mag()