Home | History | Annotate | Download | only in target-i386

Lines Matching full:int16_t

72     d->W(0) = (int16_t)d->W(0) >> shift;
73 d->W(1) = (int16_t)d->W(1) >> shift;
74 d->W(2) = (int16_t)d->W(2) >> shift;
75 d->W(3) = (int16_t)d->W(3) >> shift;
77 d->W(4) = (int16_t)d->W(4) >> shift;
78 d->W(5) = (int16_t)d->W(5) >> shift;
79 d->W(6) = (int16_t)d->W(6) >> shift;
80 d->W(7) = (int16_t)d->W(7) >> shift;
332 #define FADDSW(a, b) satsw((int16_t)(a) + (int16_t)(b))
338 #define FSUBSW(a, b) satsw((int16_t)(a) - (int16_t)(b))
340 #define FMINSW(a, b) ((int16_t)(a) < (int16_t)(b)) ? (a) : (b)
342 #define FMAXSW(a, b) ((int16_t)(a) > (int16_t)(b)) ? (a) : (b)
350 #define FCMPGTW(a, b) (int16_t)(a) > (int16_t)(b) ? -1 : 0
355 #define FMULHRW(a, b) ((int16_t)(a) * (int16_t)(b) + 0x8000) >> 16
357 #define FMULHW(a, b) (int16_t)(a) * (int16_t)(b) >> 16
424 d->L(i) = (int16_t)s->W(2*i) * (int16_t)d->W(2*i) +
425 (int16_t)s->W(2*i+1) * (int16_t)d->W(2*i+1);
994 r.B(0) = satsb((int16_t)d->W(0));
995 r.B(1) = satsb((int16_t)d->W(1));
996 r.B(2) = satsb((int16_t)d->W(2));
997 r.B(3) = satsb((int16_t)d->W(3));
999 r.B(4) = satsb((int16_t)d->W(4));
1000 r.B(5) = satsb((int16_t)d->W(5));
1001 r.B(6) = satsb((int16_t)d->W(6));
1002 r.B(7) = satsb((int16_t)d->W(7));
1004 r.B((4 << SHIFT) + 0) = satsb((int16_t)s->W(0));
1005 r.B((4 << SHIFT) + 1) = satsb((int16_t)s->W(1));
1006 r.B((4 << SHIFT) + 2) = satsb((int16_t)s->W(2));
1007 r.B((4 << SHIFT) + 3) = satsb((int16_t)s->W(3));
1009 r.B(12) = satsb((int16_t)s->W(4));
1010 r.B(13) = satsb((int16_t)s->W(5));
1011 r.B(14) = satsb((int16_t)s->W(6));
1012 r.B(15) = satsb((int16_t)s->W(7));
1021 r.B(0) = satub((int16_t)d->W(0));
1022 r.B(1) = satub((int16_t)d->W(1));
1023 r.B(2) = satub((int16_t)d->W(2));
1024 r.B(3) = satub((int16_t)d->W(3));
1026 r.B(4) = satub((int16_t)d->W(4));
1027 r.B(5) = satub((int16_t)d->W(5));
1028 r.B(6) = satub((int16_t)d->W(6));
1029 r.B(7) = satub((int16_t)d->W(7));
1031 r.B((4 << SHIFT) + 0) = satub((int16_t)s->W(0));
1032 r.B((4 << SHIFT) + 1) = satub((int16_t)s->W(1));
1033 r.B((4 << SHIFT) + 2) = satub((int16_t)s->W(2));
1034 r.B((4 << SHIFT) + 3) = satub((int16_t)s->W(3));
1036 r.B(12) = satub((int16_t)s->W(4));
1037 r.B(13) = satub((int16_t)s->W(5));
1038 r.B(14) = satub((int16_t)s->W(6));
1039 r.B(15) = satub((int16_t)s->W(7));
1144 d->MMX_S(0) = int32_to_float32((int16_t)s->MMX_W(0), &env->mmx_status);
1145 d->MMX_S(1) = int32_to_float32((int16_t)s->MMX_W(2), &env->mmx_status);
1279 d->W(0) = (int16_t)d->W(0) + (int16_t)d->W(1);
1280 d->W(1) = (int16_t)d->W(2) + (int16_t)d->W(3);
1281 XMM_ONLY(d->W(2) = (int16_t)d->W(4) + (int16_t)d->W(5));
1282 XMM_ONLY(d->W(3) = (int16_t)d->W(6) + (int16_t)d->W(7));
1283 d->W((2 << SHIFT) + 0) = (int16_t)s->W(0) + (int16_t)s->W(1);
1284 d->W((2 << SHIFT) + 1) = (int16_t)s->W(2) + (int16_t)s->W(3);
1285 XMM_ONLY(d->W(6) = (int16_t)s->W(4) + (int16_t)s->W(5));
1286 XMM_ONLY(d->W(7) = (int16_t)s->W(6) + (int16_t)s->W(7));
1299 d->W(0) = satsw((int16_t)d->W(0) + (int16_t)d->W(1));
1300 d->W(1) = satsw((int16_t)d->W(2) + (int16_t)d->W(3));
1301 XMM_ONLY(d->W(2) = satsw((int16_t)d->W(4) + (int16_t)d->W(5)));
1302 XMM_ONLY(d->W(3) = satsw((int16_t)d->W(6) + (int16_t)d->W(7)));
1303 d->W((2 << SHIFT) + 0) = satsw((int16_t)s->W(0) + (int16_t)s->W(1));
1304 d->W((2 << SHIFT) + 1) = satsw((int16_t)s->W(2) + (int16_t)s->W(3));
1305 XMM_ONLY(d->W(6) = satsw((int16_t)s->W(4) + (int16_t)s->W(5)));
1306 XMM_ONLY(d->W(7) = satsw((int16_t)s->W(6) + (int16_t)s->W(7)));
1333 d->W(0) = (int16_t)d->W(0) - (int16_t)d->W(1);
1334 d->W(1) = (int16_t)d->W(2) - (int16_t)d->W(3);
1335 XMM_ONLY(d->W(2) = (int16_t)d->W(4) - (int16_t)d->W(5));
1336 XMM_ONLY(d->W(3) = (int16_t)d->W(6) - (int16_t)d->W(7));
1337 d->W((2 << SHIFT) + 0) = (int16_t)s->W(0) - (int16_t)s->W(1);
1338 d->W((2 << SHIFT) + 1) = (int16_t)s->W(2) - (int16_t)s->W(3);
1339 XMM_ONLY(d->W(6) = (int16_t)s->W(4) - (int16_t)s->W(5));
1340 XMM_ONLY(d->W(7) = (int16_t)s->W(6) - (int16_t)s->W(7));
1353 d->W(0) = satsw((int16_t)d->W(0) - (int16_t)d->W(1));
1354 d->W(1) = satsw((int16_t)d->W(2) - (int16_t)d->W(3));
1355 XMM_ONLY(d->W(2) = satsw((int16_t)d->W(4) - (int16_t)d->W(5)));
1356 XMM_ONLY(d->W(3) = satsw((int16_t)d->W(6) - (int16_t)d->W(7)));
1357 d->W((2 << SHIFT) + 0) = satsw((int16_t)s->W(0) - (int16_t)s->W(1));
1358 d->W((2 << SHIFT) + 1) = satsw((int16_t)s->W(2) - (int16_t)s->W(3));
1359 XMM_ONLY(d->W(6) = satsw((int16_t)s->W(4) - (int16_t)s->W(5)));
1360 XMM_ONLY(d->W(7) = satsw((int16_t)s->W(6) - (int16_t)s->W(7)));
1364 #define FABSW(_, x) x > INT16_MAX ? -(int16_t) x : x
1370 #define FMULHRSW(d, s) ((int16_t) d * (int16_t) s + 0x4000) >> 15
1374 #define FSIGNW(d, s) s <= INT16_MAX ? s ? d : 0 : -(int16_t) d
1503 SSE_HELPER_F(helper_pmovsxwd, L, 4, (int16_t) s->W)
1504 SSE_HELPER_F(helper_pmovsxwq, Q, 2, (int16_t) s->W)
1826 return (int16_t) r->W(i);