Lines Matching defs:satsw
327 static inline int satsw(int x)
341 #define FADDSW(a, b) satsw((int16_t)(a) + (int16_t)(b))
347 #define FSUBSW(a, b) satsw((int16_t)(a) - (int16_t)(b))
1101 r.W(0) = satsw(d->L(0));
1102 r.W(1) = satsw(d->L(1));
1104 r.W(2) = satsw(d->L(2));
1105 r.W(3) = satsw(d->L(3));
1107 r.W((2 << SHIFT) + 0) = satsw(s->L(0));
1108 r.W((2 << SHIFT) + 1) = satsw(s->L(1));
1110 r.W(6) = satsw(s->L(2));
1111 r.W(7) = satsw(s->L(3));
1209 d->MMX_L(0) = satsw(float32_to_int32_round_to_zero(s->MMX_S(0), &env->mmx_status));
1210 d->MMX_L(1) = satsw(float32_to_int32_round_to_zero(s->MMX_S(1), &env->mmx_status));
1352 d->W(0) = satsw((int16_t)d->W(0) + (int16_t)d->W(1));
1353 d->W(1) = satsw((int16_t)d->W(2) + (int16_t)d->W(3));
1354 XMM_ONLY(d->W(2) = satsw((int16_t)d->W(4) + (int16_t)d->W(5)));
1355 XMM_ONLY(d->W(3) = satsw((int16_t)d->W(6) + (int16_t)d->W(7)));
1356 d->W((2 << SHIFT) + 0) = satsw((int16_t)s->W(0) + (int16_t)s->W(1));
1357 d->W((2 << SHIFT) + 1) = satsw((int16_t)s->W(2) + (int16_t)s->W(3));
1358 XMM_ONLY(d->W(6) = satsw((int16_t)s->W(4) + (int16_t)s->W(5)));
1359 XMM_ONLY(d->W(7) = satsw((int16_t)s->W(6) + (int16_t)s->W(7)));
1364 d->W(0) = satsw((int8_t)s->B( 0) * (uint8_t)d->B( 0) +
1366 d->W(1) = satsw((int8_t)s->B( 2) * (uint8_t)d->B( 2) +
1368 d->W(2) = satsw((int8_t)s->B( 4) * (uint8_t)d->B( 4) +
1370 d->W(3) = satsw((int8_t)s->B( 6) * (uint8_t)d->B( 6) +
1373 d->W(4) = satsw((int8_t)s->B( 8) * (uint8_t)d->B( 8) +
1375 d->W(5) = satsw((int8_t)s->B(10) * (uint8_t)d->B(10) +
1377 d->W(6) = satsw((int8_t)s->B(12) * (uint8_t)d->B(12) +
1379 d->W(7) = satsw((int8_t)s->B(14) * (uint8_t)d->B(14) +
1406 d->W(0) = satsw((int16_t)d->W(0) - (int16_t)d->W(1));
1407 d->W(1) = satsw((int16_t)d->W(2) - (int16_t)d->W(3));
1408 XMM_ONLY(d->W(2) = satsw((int16_t)d->W(4) - (int16_t)d->W(5)));
1409 XMM_ONLY(d->W(3) = satsw((int16_t)d->W(6) - (int16_t)d->W(7)));
1410 d->W((2 << SHIFT) + 0) = satsw((int16_t)s->W(0) - (int16_t)s->W(1));
1411 d->W((2 << SHIFT) + 1) = satsw((int16_t)s->W(2) - (int16_t)s->W(3));
1412 XMM_ONLY(d->W(6) = satsw((int16_t)s->W(4) - (int16_t)s->W(5)));
1413 XMM_ONLY(d->W(7) = satsw((int16_t)s->W(6) - (int16_t)s->W(7)));