Searched refs:dividend (Results 1 - 12 of 12) sorted by relevance

/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/
H A Dmath64.h44 div64_u64_rem(uint64_t dividend, uint64_t divisor, uint64_t *remainder) argument
47 *remainder = dividend % divisor;
48 return (dividend / divisor);
52 div64_s64(int64_t dividend, int64_t divisor) argument
55 return (dividend / divisor);
59 div64_u64(uint64_t dividend, uint64_t divisor) argument
62 return (dividend / divisor);
66 div_u64_rem(uint64_t dividend, uint32_t divisor, uint32_t *remainder) argument
69 *remainder = dividend % divisor;
70 return (dividend / diviso
74 div_s64(int64_t dividend, int32_t divisor) argument
81 div_u64(uint64_t dividend, uint32_t divisor) argument
95 div64_u64_round_up(uint64_t dividend, uint64_t divisor) argument
[all...]
/freebsd-11-stable/contrib/gcc/config/arm/
H A Dlib1funcs.asm326 dividend .req r0 label
342 .macro ARM_DIV_BODY dividend, divisor, result, curbit
346 clz \curbit, \dividend
357 cmp \dividend, \divisor, lsl #shift
359 subcs \dividend, \dividend, \divisor, lsl #shift
366 clz \result, \dividend
387 @ larger than the dividend.
389 cmplo \divisor, \dividend
397 cmplo \divisor, \dividend
[all...]
H A Dieee754-sf.S606 @ Substract divisor exponent from dividend''s
H A Dieee754-df.S848 @ Substract divisor exponent from dividend''s.
/freebsd-11-stable/contrib/gcc/config/ia64/
H A Dlib1funcs.asm34 // farg0 holds the dividend. farg1 holds the divisor.
80 // farg0 holds the dividend. farg1 holds the divisor.
122 // farg0 holds the dividend. farg1 holds the divisor.
158 // in0 holds the dividend. in1 holds the divisor.
211 // in0 holds the dividend (a). in1 holds the divisor (b).
268 // in0 holds the dividend. in1 holds the divisor.
321 // in0 holds the dividend (a). in1 holds the divisor (b).
379 // in0 holds the dividend. in1 holds the divisor.
425 // in0 holds the dividend. in1 holds the divisor.
475 // in0 holds the dividend
[all...]
/freebsd-11-stable/contrib/gcc/config/sparc/
H A Dlb1spc.asm89 * Input: dividend and divisor in %o0 and %o1 respectively.
105 * R the remainder so far, initially the dividend
112 * Current estimate for non-large dividend is
114 * A large dividend is one greater than 2^(31-TOPBITS) and takes a
167 ! Here the dividend is >= 2**(31-N) or so. We must be careful here,
443 * Input: dividend and divisor in %o0 and %o1 respectively.
454 * R the remainder so far, initially the dividend
461 * Current estimate for non-large dividend is
463 * A large dividend is one greater than 2^(31-TOPBITS) and takes a
514 ! Here the dividend i
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DAPFloat.cpp1134 integerPart *lhsSignificand, *dividend, *divisor;
1145 dividend = new integerPart[partsCount * 2];
1147 dividend = scratch;
1149 divisor = dividend + partsCount;
1151 /* Copy the dividend and divisor as they will be modified in-place. */
1153 dividend[i] = lhsSignificand[i];
1169 /* Normalize the dividend. */
1170 bit = precision - APInt::tcMSB(dividend, partsCount) - 1;
1173 APInt::tcShiftLeft(dividend, partsCount, bit);
1176 /* Ensure the dividend >
[all...]
H A DAPInt.cpp1320 assert(u && "Must provide dividend");
1386 uint64_t dividend = Make_64(u[j+n], u[j+n-1]);
1387 DEBUG_KNUTH(dbgs() << "KnuthDiv: dividend == " << dividend << '\n');
1388 uint64_t qp = dividend / v[n-1];
1389 uint64_t rp = dividend % v[n-1];
1513 // Initialize the dividend
1536 // the divisor. m is the number of words by which the dividend exceeds the
1537 // divisor (i.e. m+n is the length of the dividend). These sizes must not
1801 // Get some size facts about the dividend an
[all...]
/freebsd-11-stable/sys/dev/mrsas/
H A Dmrsas_fp.c76 u_int32_t mega_mod64(u_int64_t dividend, u_int32_t divisor);
80 u_int64_t mega_div64_32(u_int64_t dividend, u_int32_t divisor);
168 * In-line functions for mod and divide of 64-bit dividend and 32-bit
171 * @param dividend: Dividend
176 #define mega_mod64(dividend, divisor) ({ \
178 remainder = ((u_int64_t) (dividend)) % (u_int32_t) (divisor); \
181 #define mega_div64_32(dividend, divisor) ({ \
183 quotient = ((u_int64_t) (dividend)) / (u_int32_t) (divisor); \
/freebsd-11-stable/contrib/wpa/src/ap/
H A Ddrv_callbacks.c1425 u64 divisor, dividend; local
1444 dividend = survey->channel_time_busy -
1448 iface->channel_utilization = dividend * 255 / divisor;
/freebsd-11-stable/sys/mips/mips/
H A Dfp.S1100 move t8, t2 # init dividend
1103 bltu t8, ta2, 3f # is dividend >= divisor?
1105 subu t8, t8, ta2 # subtract divisor from dividend
1111 sll t8, t8, 1 # shift dividend
1175 move t8, t2 # init dividend
1180 bltu t8, ta2, 3f # is dividend >= divisor?
1184 sltu v1, t9, ta3 # subtract divisor from dividend
1205 sll t8, t8, 1 # shift dividend
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_consume.c226 * loop, comparing subtrahend to dividend: if subtrahend is smaller, we
231 dt_divide_128(uint64_t *dividend, uint64_t divisor, uint64_t *quotient) argument
245 remainder[0] = dividend[0];
246 remainder[1] = dividend[1];

Completed in 238 milliseconds