Home
last modified time | relevance | path

Searched refs:dividend (Results 1 – 21 of 21) sorted by relevance

/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/
HDmath64.h44 div64_u64_rem(uint64_t dividend, uint64_t divisor, uint64_t *remainder) in div64_u64_rem() argument
47 *remainder = dividend % divisor; in div64_u64_rem()
48 return (dividend / divisor); in div64_u64_rem()
52 div64_s64(int64_t dividend, int64_t divisor) in div64_s64() argument
55 return (dividend / divisor); in div64_s64()
59 div64_u64(uint64_t dividend, uint64_t divisor) in div64_u64() argument
62 return (dividend / divisor); in div64_u64()
66 div_u64_rem(uint64_t dividend, uint32_t divisor, uint32_t *remainder) in div_u64_rem() argument
69 *remainder = dividend % divisor; in div_u64_rem()
70 return (dividend / divisor); in div_u64_rem()
[all …]
/freebsd-11-stable/contrib/gcc/config/arm/
HDlib1funcs.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
407 1: cmp \dividend, \divisor
[all …]
HDieee754-sf.S606 @ Substract divisor exponent from dividend''s
HDieee754-df.S848 @ Substract divisor exponent from dividend''s.
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/builtins/sparc64/
HDdivmod.m49 * dividend -- the thing being divided
21 * R -- the remainder so far -- initially == the dividend
27 * current estimate for non-large dividend is
29 * a large dividend is one greater than 2ˆ(31-TOPBITS) and takes a
35 define(dividend, `%o0') macro
92 orcc divisor,dividend,%g0 ! are either dividend or divisor negative
94 xor divisor,dividend,SIGN ! record sign of result in sign of SIGN
97 tst dividend
102 ! dividend < 0
103 neg dividend
[all …]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
HDAPFloat.cpp1134 integerPart *lhsSignificand, *dividend, *divisor; in divideSignificand() local
1145 dividend = new integerPart[partsCount * 2]; in divideSignificand()
1147 dividend = scratch; in divideSignificand()
1149 divisor = dividend + partsCount; in divideSignificand()
1153 dividend[i] = lhsSignificand[i]; in divideSignificand()
1170 bit = precision - APInt::tcMSB(dividend, partsCount) - 1; in divideSignificand()
1173 APInt::tcShiftLeft(dividend, partsCount, bit); in divideSignificand()
1179 if (APInt::tcCompare(dividend, divisor, partsCount) < 0) { in divideSignificand()
1181 APInt::tcShiftLeft(dividend, partsCount, 1); in divideSignificand()
1182 assert(APInt::tcCompare(dividend, divisor, partsCount) >= 0); in divideSignificand()
[all …]
HDAPInt.cpp1386 uint64_t dividend = Make_64(u[j+n], u[j+n-1]); in KnuthDiv() local
1387 DEBUG_KNUTH(dbgs() << "KnuthDiv: dividend == " << dividend << '\n'); in KnuthDiv()
1388 uint64_t qp = dividend / v[n-1]; in KnuthDiv()
1389 uint64_t rp = dividend % v[n-1]; in KnuthDiv()
/freebsd-11-stable/sys/dev/mrsas/
HDmrsas_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);
176 #define mega_mod64(dividend, divisor) ({ \ argument
178 remainder = ((u_int64_t) (dividend)) % (u_int32_t) (divisor); \
181 #define mega_div64_32(dividend, divisor) ({ \ argument
183 quotient = ((u_int64_t) (dividend)) / (u_int32_t) (divisor); \
/freebsd-11-stable/contrib/wpa/src/ap/
HDdrv_callbacks.c1425 u64 divisor, dividend; in hostapd_single_channel_get_survey() local
1444 dividend = survey->channel_time_busy - in hostapd_single_channel_get_survey()
1448 iface->channel_utilization = dividend * 255 / divisor; in hostapd_single_channel_get_survey()
/freebsd-11-stable/contrib/gcc/config/sparc/
HDlb1spc.asm167 ! Here the dividend is >= 2**(31-N) or so. We must be careful here,
514 ! Here the dividend is >= 2**(31-N) or so. We must be careful here,
/freebsd-11-stable/sys/mips/mips/
HDfp.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/
HDdt_consume.c231 dt_divide_128(uint64_t *dividend, uint64_t divisor, uint64_t *quotient) in dt_divide_128() argument
245 remainder[0] = dividend[0]; in dt_divide_128()
246 remainder[1] = dividend[1]; in dt_divide_128()
/freebsd-11-stable/usr.sbin/bsdconfig/share/media/
HDtcpip.subr1037 # Calculate wait time as dividend of total time and host(1) invocations
/freebsd-11-stable/contrib/gcc/
HDChangeLog-19971615 optimizations, look inside dividend to determine if the expression
1687 if the dividend is a multiple of the divisor.
HDChangeLog.tree-ssa8854 dividend is positive.
HDChangeLog-19991932 * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
HDChangeLog-20028426 of the dividend in the expander.
HDChangeLog-20037193 macros above, add fast exits for divisor >= dividend, etc.
/freebsd-11-stable/contrib/gcc/doc/
HDinvoke.texi10978 remainder follows the sign of the dividend. Both methods are
12382 and then multiplies the dividend with the inverse. This strategy allows
12406 up division where the dividend fits into 20 bits (plus sign where applicable),
12409 a small dividend to be unlikely, and inv20l assumes it to be likely.
/freebsd-11-stable/share/dict/
HDweb2a10259 cash dividend
17048 dividend warrant
19575 ex dividend
30342 interim dividend
50496 scrip dividend
59710 stock dividend
HDweb256296 dividend