Searched refs:carry (Results 1 - 25 of 44) sorted by relevance

12

/xsrc/external/mit/MesaLib.old/dist/src/util/
H A Dbigmath.h38 uint32_t carry = 0; local in function:_ubm_add_u32arr
40 uint64_t sum = carry;
46 carry = sum >> 32;
61 return carry;
76 uint32_t carry = 0; local in function:_ubm_mul_u32arr
90 tmp += carry;
94 carry = tmp >> 32;
102 dst[i + b_len] = carry;
104 overflow = overflow || carry > 0;
/xsrc/external/mit/MesaLib/dist/src/util/
H A Dbigmath.h38 uint32_t carry = 0; local in function:_ubm_add_u32arr
40 uint64_t sum = carry;
46 carry = sum >> 32;
61 return carry;
76 uint32_t carry = 0; local in function:_ubm_mul_u32arr
90 tmp += carry;
94 carry = tmp >> 32;
102 dst[i + b_len] = carry;
104 overflow = overflow || carry > 0;
H A Dsoftfloat.c584 uint8_t carry; local in function:_mesa_neg_x_m
589 carry = 1;
591 word = ~m_out[index] + carry;
597 carry = 0;
603 * 'size_words' * 32. The addition is modulo 2^N, so any carry out is
615 uint8_t carry; local in function:_mesa_add_m
620 carry = 0;
623 word = a_word + b[index] + carry;
628 carry = (word < a_word);
635 * 'size_words' * 32. The subtraction is modulo 2^N, so any borrow out (carry
[all...]
/xsrc/external/mit/xedit/dist/lisp/mp/
H A Dmp.c41 * of the first multiply (in case of carry), and then
42 * just make sure carry is properly propagated in the
186 BNS carry; /* carry flag */ local in function:mp_add
195 carry = value >> BNSBITS;
199 value = (BNI)op1[size] + op2[size] + carry;
201 carry = value >> BNSBITS;
205 value = (BNI)op1[size] + carry;
207 carry = value >> BNSBITS;
211 /* if rop == op1, than just adjust carry */
229 BNS carry; /* carry flag */ local in function:mp_sub
286 BNI carry; local in function:mp_lshift
327 BNI carry; local in function:mp_rshift
363 BNS carry; /* carry value */ local in function:mp_base_mul
585 BNS carry; local in function:mp_toom_mul
[all...]
H A Dmpi.c255 BNI carry; /* carry value */ local in function:mpi_setstr
262 carry = 0;
322 carry = value >> BNSBITS;
325 value = (BNI)rop->digs[i] * base + carry;
326 carry = value >> BNSBITS;
378 /* plus one for possible carry */
537 BNS carry, scarry, denorm; /* carry and normalization */ local in function:mpi_divqr
598 for (carry
1157 long carry = 0; local in function:mpi_ash
1558 unsigned long count, carry; local in function:mpi_getsize
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/docs/source/cso/
H A Ddsa.rst44 The operation to carry out if the stencil test fails. One of
47 The operation to carry out if the stencil test passes but the depth test
50 The operation to carry out if the stencil test and depth test both pass.
/xsrc/external/mit/MesaLib/dist/docs/gallium/cso/
H A Ddsa.rst44 The operation to carry out if the stencil test fails. One of
47 The operation to carry out if the stencil test passes but the depth test
50 The operation to carry out if the stencil test and depth test both pass.
/xsrc/external/mit/MesaLib/dist/src/freedreno/afuc/
H A Demu.c57 emu->carry = tmp >> 32;
60 return src1 + src2 + emu->carry;
63 emu->carry = tmp >> 32;
66 return src1 - src2 + emu->carry;
H A Demu.h184 /* carry-bits for add/sub for addhi/subhi */
185 uint32_t carry; member in struct:emu
H A DREADME.rst68 - ``addhi`` - add + carry (for upper 32b of 64b value)
70 - ``subhi`` - subtract + carry (for upper 32b of 64b value)
/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
H A Dnir_lower_int64.c290 nir_ssa_def *carry = nir_b2i32(b, nir_ult(b, res_lo, x_lo)); local in function:lower_iadd64
291 nir_ssa_def *res_hi = nir_iadd(b, carry, nir_iadd(b, x_hi, y_hi));
442 nir_ssa_def *carry = NULL; local in function:lower_mul_high64
459 if (carry)
460 tmp = nir_iadd(b, tmp, carry);
462 carry = nir_ushr(b, tmp, nir_imm_int(b, 32));
464 res[i + 4] = nir_u2u32(b, carry);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/nouveau/codegen/
H A Dnv50_ir_lowering_gv100.cpp48 Value *carry = bld.getSSA(1, FILE_PREDICATE); local in function:nv50_ir::GV100LegalizeSSA::handleIADD64
62 setFlagsDef(1, carry);
64 setFlagsSrc(2, carry);
H A Dnv50_ir_build_util.cpp592 Value *carry)
614 if (!carry)
663 lo->setFlagsDef(1, carry);
664 hi->setFlagsSrc(hi->srcCount(), carry);
590 split64BitOpPostRA(Function * fn,Instruction * i,Value * zero,Value * carry) argument
H A Dnv50_ir_lowering_nvc0.h118 LValue *carry; member in class:nv50_ir::NVC0LegalizePostRA
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D11.0.6.rst77 - vc4: Add support for nir_op_uge, using the carry bit on QPU_A_SUB.
H A D20.0.1.rst160 - aco: fix carry-out size for wave32 v_add_co_u32_e64
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/nouveau/codegen/
H A Dnv50_ir_build_util.cpp562 Value *carry)
584 if (!carry)
633 lo->setFlagsDef(1, carry);
634 hi->setFlagsSrc(hi->srcCount(), carry);
560 split64BitOpPostRA(Function * fn,Instruction * i,Value * zero,Value * carry) argument
H A Dnv50_ir_lowering_nvc0.h116 LValue *carry; member in class:nv50_ir::NVC0LegalizePostRA
H A Dnv50_ir_build_util.h108 Value *zero, Value *carry);
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_lower_int64.c304 nir_ssa_def *carry = nir_b2i32(b, nir_ult(b, res_lo, x_lo)); local in function:lower_iadd64
305 nir_ssa_def *res_hi = nir_iadd(b, carry, nir_iadd(b, x_hi, y_hi));
456 nir_ssa_def *carry = NULL; local in function:lower_mul_high64
473 if (carry)
474 tmp = nir_iadd(b, tmp, carry);
476 carry = nir_ushr_imm(b, tmp, 32);
478 res[i + 4] = nir_u2u32(b, carry);
/xsrc/external/mit/xorg-server.old/dist/hw/xfree86/x86emu/
H A Dprim_ops.c43 * flag is the XOR of the top two bits of the carry chain for an
46 * carry chain given the two operands and the result.
49 * bits, we can derive a formula for the carry chain.
238 /* calculate the carry chain SEE NOTE AT TOP. */
264 /* calculate the carry chain SEE NOTE AT TOP. */
297 /* calculate the carry chain SEE NOTE AT TOP. */
319 /* calculate the carry chain SEE NOTE AT TOP. */
341 /* calculate the carry chain SEE NOTE AT TOP. */
368 /* calculate the carry chain SEE NOTE AT TOP. */
561 /* carry fla
[all...]
/xsrc/external/mit/xorg-server/dist/hw/xfree86/x86emu/
H A Dprim_ops.c43 * flag is the XOR of the top two bits of the carry chain for an
46 * carry chain given the two operands and the result.
49 * bits, we can derive a formula for the carry chain.
246 /* calculate the carry chain SEE NOTE AT TOP. */
273 /* calculate the carry chain SEE NOTE AT TOP. */
307 /* calculate the carry chain SEE NOTE AT TOP. */
330 /* calculate the carry chain SEE NOTE AT TOP. */
353 /* calculate the carry chain SEE NOTE AT TOP. */
381 /* calculate the carry chain SEE NOTE AT TOP. */
584 /* carry fla
[all...]
/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dir_builder.h141 ir_expression *carry(operand a, operand b);
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dir_builder.h141 ir_expression *carry(operand a, operand b);
/xsrc/external/mit/MesaLib/dist/src/amd/compiler/tests/
H A Dtest_optimizer.cpp366 //~gfx(8|9)! v1: %res4, s2: %carry = v_add_co_u32 %lshl4, %b
367 //~gfx10! v1: %res4, s2: %carry = v_add_co_u32_e64 %lshl4, %b
368 //! p_unit_test 4, %carry
370 Temp carry = bld.vadd32(bld.def(v1), lshl, Operand(inputs[1]), true).def(1).getTemp(); variable in typeref:typename:Temp
371 writeout(4, carry);
429 //~gfx(8|9)! v1: %add4, s2: %carry = v_add_co_u32 %bcnt4, %a
430 //~gfx10! v1: %add4, s2: %carry = v_add_co_u32_e64 %bcnt4, %a
431 //! p_unit_test 4, %carry
433 Temp carry = bld.vadd32(bld.def(v1), bcnt, Operand(inputs[0]), true).def(1).getTemp(); variable in typeref:typename:Temp
434 writeout(4, carry);
[all...]

Completed in 21 milliseconds

12