Home
last modified time | relevance | path

Searched refs:carry_out (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/target/s390x/tcg/
H A Dcc_helper.c126 static uint32_t cc_calc_addu(uint64_t carry_out, uint64_t result) in cc_calc_addu() argument
128 g_assert(carry_out <= 1); in cc_calc_addu()
129 return (result != 0) + 2 * carry_out; in cc_calc_addu()
/openbmc/qemu/target/ppc/
H A Dint_helper.c2135 bool carry_out = int128_ult(int128_not(a->s128), b->s128), in helper_VADDECUQ() local
2138 if (!carry_out && carry_in) { in helper_VADDECUQ()
2139 carry_out = (int128_nz(a->s128) || int128_nz(b->s128)) && in helper_VADDECUQ()
2144 r->VsrD(1) = carry_out; in helper_VADDECUQ()
2170 bool carry_out = int128_ult(int128_not(a->s128), tmp), in helper_VSUBECUQ() local
2173 r->VsrD(1) = carry_out || (carry_in && int128_eq(int128_add(a->s128, tmp), in helper_VSUBECUQ()
/openbmc/qemu/target/i386/tcg/
H A Demit.c.inc1154 TCGv *carry_out = (cc_op == CC_OP_ADCX ? &decode->cc_dst : &decode->cc_src2);
1158 *carry_out = tcg_temp_new();
1170 if (carry_out == &decode->cc_dst) {
1196 tcg_gen_shri_i64(*carry_out, s->T0, 32);
1201 tcg_gen_add2_tl(s->T0, *carry_out, s->T0, zero, carry_in, zero);
1202 tcg_gen_add2_tl(s->T0, *carry_out, s->T0, *carry_out, s->T1, zero);