HomeSort by: relevance | last modified time | path
    Searched refs:divisor (Results 1 - 25 of 77) sorted by relevancy

1 2 3 4

  /src/sys/external/bsd/drm2/include/linux/
math64.h 42 div64_u64(int64_t dividend, uint64_t divisor)
44 return dividend / divisor;
48 div_u64(int64_t dividend, uint32_t divisor)
50 return dividend / divisor;
54 div64_s64(int64_t dividend, int64_t divisor)
56 return dividend / divisor;
60 DIV64_U64_ROUND_UP(uint64_t dividend, uint64_t divisor)
62 return (dividend + (divisor - 1))/divisor;
66 div_s64(int64_t dividend, int32_t divisor)
    [all...]
  /src/sys/arch/sun2/include/
leds.h 35 u_char divisor; /* divides 100 Hz clock (0 means 256). */ member in struct:led_patterns
  /src/sys/arch/sun3/include/
leds.h 35 u_char divisor; /* divides 100 Hz clock (0 means 256). */ member in struct:led_patterns
  /src/sys/arch/vax/include/
leds.h 35 u_char divisor; /* divides 100 Hz clock (0 means 256). */ member in struct:led_patterns
  /src/common/lib/libc/arch/vax/gen/
urem.S 40 * urem() takes an ordinary dividend/divisor pair;
41 * aurem() takes a pointer to a dividend and an ordinary divisor.
45 #define DIVISOR 8(%ap)
48 movl DIVISOR,%r2
49 jlss Leasy # big divisor: settle by comparison
52 divl3 %r2,%r0,%r1 # small divisor and dividend: signed modulus
62 jcc Ldifference # if divisor goes in once, return difference
63 movl DIVIDEND,%r0 # if divisor is bigger, return dividend
70 movl DIVISOR,%r2
71 jlss La_easy # big divisor: settle by compariso
    [all...]
udiv.S 40 * udiv() takes an ordinary dividend/divisor pair;
41 * audiv() takes a pointer to a dividend and an ordinary divisor.
45 #define DIVISOR 8(%ap)
48 movl DIVISOR,%r2
49 jlss Leasy # big divisor: settle by comparison
52 divl2 %r2,%r0 # small divisor and dividend: signed division
70 movl DIVISOR,%r2
71 jlss La_easy # big divisor: settle by comparison
74 divl2 %r2,%r0 # small divisor and dividend: signed division
  /src/sys/external/bsd/drm2/dist/drm/amd/display/dc/basics/
amdgpu_conversion.c 47 int32_t divisor = 1 << fractional_bits; local in function:fixed_point_to_int_frac
55 if (d <= (uint16_t)(1 << integer_bits) - (1 / (uint16_t)divisor))
59 divisor));
67 divisor))));
  /src/sys/lib/libkern/arch/m68k/
udivsi3.S 57 movel 12(%sp), %d0 | load divisor
60 | first, we divide the divisor and dividend by two until
61 | the divisor fits into 16 bits:
89 | (dividend - divisor) <= dividendB <= dividend
90 | (divisor / 2) < divisorB <= divisor
96 | divisor and subtract the result from the original dividend.
101 | divisor is our remainder.
106 movel 12(%sp), %d2 | load divisor
109 muluw %d2, %d1 | high(divisor) * low(guess
    [all...]
divsi3.S 60 1: movel 8(%sp), %d0 | load the divisor
62 negl 8(%sp) | store abs(divisor)
64 bpl 3f | branch if sgn(divisor) == sgn(dividend)
  /src/sys/external/bsd/compiler_rt/dist/test/Unit/
muldc3_test.c 55 double _Complex divisor; local in function:test__muldc3
59 __real__ divisor = c; local in function:test__muldc3
60 __imag__ divisor = d; local in function:test__muldc3
65 switch (classify(divisor))
90 switch (classify(divisor))
117 switch (classify(divisor))
142 switch (classify(divisor))
167 switch (classify(divisor))
multc3_test.c 58 long double _Complex divisor; local in function:test__multc3
62 __real__ divisor = c; local in function:test__multc3
63 __imag__ divisor = d; local in function:test__multc3
68 switch (classify(divisor))
93 switch (classify(divisor))
120 switch (classify(divisor))
145 switch (classify(divisor))
170 switch (classify(divisor))
mulxc3_test.c 58 long double _Complex divisor; local in function:test__mulxc3
62 __real__ divisor = c; local in function:test__mulxc3
63 __imag__ divisor = d; local in function:test__mulxc3
68 switch (classify(divisor))
93 switch (classify(divisor))
120 switch (classify(divisor))
145 switch (classify(divisor))
170 switch (classify(divisor))
divdc3_test.c 55 double _Complex divisor; local in function:test__divdc3
59 __real__ divisor = c; local in function:test__divdc3
60 __imag__ divisor = d; local in function:test__divdc3
65 switch (classify(divisor))
90 switch (classify(divisor))
121 switch (classify(divisor))
146 switch (classify(divisor))
171 switch (classify(divisor))
divsc3_test.c 55 float _Complex divisor; local in function:test__divsc3
59 __real__ divisor = c; local in function:test__divsc3
60 __imag__ divisor = d; local in function:test__divsc3
65 switch (classify(divisor))
90 switch (classify(divisor))
121 switch (classify(divisor))
146 switch (classify(divisor))
171 switch (classify(divisor))
divtc3_test.c 59 long double _Complex divisor; local in function:test__divtc3
63 __real__ divisor = c; local in function:test__divtc3
64 __imag__ divisor = d; local in function:test__divtc3
69 switch (classify(divisor))
94 switch (classify(divisor))
125 switch (classify(divisor))
150 switch (classify(divisor))
175 switch (classify(divisor))
divxc3_test.c 58 long double _Complex divisor; local in function:test__divxc3
62 __real__ divisor = c; local in function:test__divxc3
63 __imag__ divisor = d; local in function:test__divxc3
68 switch (classify(divisor))
93 switch (classify(divisor))
124 switch (classify(divisor))
149 switch (classify(divisor))
174 switch (classify(divisor))
mulsc3_test.c 55 float _Complex divisor; local in function:test__mulsc3
59 __real__ divisor = c; local in function:test__mulsc3
60 __imag__ divisor = d; local in function:test__mulsc3
65 switch (classify(divisor))
90 switch (classify(divisor))
121 switch (classify(divisor))
146 switch (classify(divisor))
171 switch (classify(divisor))
  /src/sys/external/bsd/compiler_rt/dist/test/builtins/Unit/
muldc3_test.c 56 double _Complex divisor; local in function:test__muldc3
60 __real__ divisor = c; local in function:test__muldc3
61 __imag__ divisor = d; local in function:test__muldc3
66 switch (classify(divisor))
91 switch (classify(divisor))
118 switch (classify(divisor))
143 switch (classify(divisor))
168 switch (classify(divisor))
mulxc3_test.c 58 long double _Complex divisor; local in function:test__mulxc3
62 __real__ divisor = c; local in function:test__mulxc3
63 __imag__ divisor = d; local in function:test__mulxc3
68 switch (classify(divisor))
93 switch (classify(divisor))
120 switch (classify(divisor))
145 switch (classify(divisor))
170 switch (classify(divisor))
divdc3_test.c 56 double _Complex divisor; local in function:test__divdc3
60 __real__ divisor = c; local in function:test__divdc3
61 __imag__ divisor = d; local in function:test__divdc3
66 switch (classify(divisor))
91 switch (classify(divisor))
122 switch (classify(divisor))
147 switch (classify(divisor))
172 switch (classify(divisor))
  /src/sys/kern/
subr_humanize.c 53 int divisor)
70 if (divisor == 1024) {
95 bytes /= divisor;
  /src/lib/libc/gen/
humanize_number.c 52 int64_t divisor, max, post = 1; local in function:humanize_number
64 divisor = 1000;
74 divisor = 1024;
147 bytes /= divisor;
159 bytes /= divisor;
  /src/lib/libc/arch/sparc/gen/
divrem.m4 47 * Input: dividend and divisor in %o0 and %o1 respectively.
68 * V the current comparand, initially divisor*2^(ITER*N-1)
84 define(divisor, `%o1') macro
133 orcc divisor, dividend, %g0 ! either negative?
136 `xor divisor, dividend, SIGN',
138 tst divisor
141 ! divisor is definitely negative; dividend might also be negative
143 neg divisor ! in any case, make divisor nonneg
144 1: ! dividend is negative, divisor is nonnegativ
    [all...]
  /src/sys/lib/libkern/arch/sparc/
divrem.m4 47 * Input: dividend and divisor in %o0 and %o1 respectively.
68 * V the current comparand, initially divisor*2^(ITER*N-1)
84 define(divisor, `%o1') macro
133 orcc divisor, dividend, %g0 ! either negative?
136 `xor divisor, dividend, SIGN',
138 tst divisor
141 ! divisor is definitely negative; dividend might also be negative
143 neg divisor ! in any case, make divisor nonneg
144 1: ! dividend is negative, divisor is nonnegativ
    [all...]
  /src/sys/lib/libkern/arch/sparc64/
divrem.m4 51 * Input: dividend and divisor in %o0 and %o1 respectively.
72 * V the current comparand, initially divisor*2^(ITER*N-1)
88 define(divisor, `%o1') macro
134 orcc divisor, dividend, %g0 ! either negative?
137 `xor divisor, dividend, SIGN',
139 tst divisor
142 ! divisor is definitely negative; dividend might also be negative
144 neg divisor ! in any case, make divisor nonneg
145 1: ! dividend is negative, divisor is nonnegativ
    [all...]

Completed in 23 milliseconds

1 2 3 4