Searched refs:mul (Results 1 - 25 of 52) sorted by relevance

123

/freebsd-9.3-release/lib/libc/quad/TESTS/
H A DMakefile3 all: mul divrem
5 MUL= mul.c ../muldi3.c
6 mul: ${MUL}
/freebsd-9.3-release/lib/libc/gen/
H A Dgetbsize.c47 long n, max, mul, blocksize; local
67 mul = GB;
72 mul = KB;
77 mul = MB;
81 mul = 1;
87 mul = 1;
94 if ((blocksize = n * mul) < 512) {
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/offsetof/
H A Dtst.OffsetofArith.d52 mul = offsetof(record_t, x) * offsetof(record_t, c);
61 printf("Multiplication of offsets (x*c) = %d\n", mul);
69 (0 != offsetof(record_t, c)) || (12 != add) || (4 != sub) || (0 != mul)
/freebsd-9.3-release/crypto/openssl/crypto/bn/asm/x86/
H A Dsqr.pl28 &mul("eax"); # *a * *a
49 &mul("eax"); # *a * *a
H A Dmul.pl34 &mul($w); # *a * w
62 &mul($w); # *a * w
H A Dmul_add.pl40 &mul($w); # *a * w
68 &mul($w); # *a * w
H A Dcomba.pl11 &comment("mul a[$ai]*b[$bi]");
17 &mul("edx");
46 { &mul("eax");}
48 { &mul("edx");}
75 { &mul("eax");}
77 { &mul("edx");}
/freebsd-9.3-release/sys/dev/syscons/dragon/
H A Ddragon_saver.c128 static int order, mul, out; local
146 mul = ((random() & 7) + 1) * (SCRW / 320);
160 dx = 0; dy = mul;
163 dx = mul; dy = 0;
166 dx = 0; dy = -mul;
/freebsd-9.3-release/crypto/openssl/crypto/bn/asm/
H A Dmo-586.pl312 &mul ($word); # ap[j]*bp[0]
322 &mul ($word); # ap[num-1]*bp[0]
335 &mul ($word); # np[0]*m
347 &mul ($word); # ap[j]*bp[i]
359 &mul ($word); # ap[num-1]*bp[i]
376 &mul ($word); # np[0]*m
385 &mul ($word); # np[j]*m
397 &mul ($word); # np[j]*m
429 &mul ($word); # ap[0]*ap[0]
438 &mul (
[all...]
H A Dco-586.pl22 &comment("mul a[$ai]*b[$bi]");
28 &mul("edx");
57 { &mul("eax");}
59 { &mul("edx");}
86 { &mul("eax");}
88 { &mul("edx");}
H A Dbn-586.pl136 &mul($w); # *a * w
164 &mul($w); # *a * w
213 &mul($w); # *a * w
241 &mul($w); # *a * w
280 &mul("eax"); # *a * *a
301 &mul("eax"); # *a * *a
H A Dx86_64-gcc.c60 # undef mul macro
86 # define mul(r,a,word,carry) do { \ macro
144 mul(rp[0], ap[0], w, c1);
145 mul(rp[1], ap[1], w, c1);
146 mul(rp[2], ap[2], w, c1);
147 mul(rp[3], ap[3], w, c1);
153 mul(rp[0], ap[0], w, c1);
156 mul(rp[1], ap[1], w, c1);
159 mul(rp[2], ap[2], w, c1);
/freebsd-9.3-release/sys/arm/at91/
H A Dat91_pmc.c333 uint32_t mul, div, freq; local
337 mul = (reg >> clk->pll_mul_shift) & clk->pll_mul_mask;
341 freq, div, mul + 1, (freq/div) * (mul+1));
344 if (div != 0 && mul != 0) {
346 freq *= mul + 1;
357 uint32_t i, div = 0, mul = 0, diff = 1 << 30; local
386 mul = mul1;
398 ((mul - 1) << clk->pll_mul_shift) |
/freebsd-9.3-release/usr.bin/systat/
H A Dconvtbl.c51 uintmax_t mul; member in struct:convtbl
58 /* mul, scale, str, name */
104 return ((double)size * tp->mul / tp->scale);
/freebsd-9.3-release/contrib/tcpdump/
H A Dchecksum.c149 u_int32_t mul; local
175 mul = (length - checksum_offset)*(c0);
177 x = mul - c0 - c1;
178 y = c1 - mul - 1;
/freebsd-9.3-release/sys/boot/ficl/
H A Dmath64.h54 DPUNS m64Mac(DPUNS u, FICL_UNS mul, FICL_UNS add);
H A Dmath64.c144 ** Multiplies DPUNS u by FICL_UNS mul and adds FICL_UNS add. Mul is typically
149 DPUNS m64Mac(DPUNS u, FICL_UNS mul, FICL_UNS add) argument
151 DPUNS resultLo = ficlLongMul(u.lo, mul);
152 DPUNS resultHi = ficlLongMul(u.hi, mul);
/freebsd-9.3-release/sys/tools/sound/
H A Dfeeder_eq_mkfilter.awk234 function feedeq_calc_preamp(norm, gain, shift, mul, bit, attn)
240 mul = 1;
245 mul = floor((attn * FEEDEQ_PREAMP_ONE) + 0.5);
248 while ((mul % 2) == 0 && shift > 0) {
249 mul = floor(mul / 2);
253 norm["mul"] = mul;
411 printf("\tint32_t mul, shift;\n");
419 norm["mul"], nor
[all...]
/freebsd-9.3-release/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_options.c626 dtrace_optval_t mul = 1; local
636 mul *= 1024;
640 mul *= 1024;
644 mul *= 1024;
648 mul *= 1024;
655 *rval = strtoull(arg, &end, 0) * mul;
657 if ((mul > 1 && end != &arg[len - 1]) || (mul == 1 && *end != '\0') ||
681 dtrace_optval_t mul = 1, val = 0; local
685 hrtime_t mul; member in struct:__anon63
[all...]
/freebsd-9.3-release/sys/net80211/
H A Dieee80211_node.h283 #define IEEE80211_RSSI_EP_RND(x, mul) \
284 ((((x) % (mul)) >= ((mul)/2)) ? ((x) + ((mul) - 1)) / (mul) : (x)/(mul))
/freebsd-9.3-release/sys/dev/sound/pcm/
H A Dfeeder_matrix.c79 int mul, shift; member in struct:feed_matrix_info::__anon8986
156 accum = (accum * info->matrix[i].mul) >> \
237 info->matrix[i].mul = 1;
274 accum = (accum * info->matrix[i].mul) >>
294 int mul, shift; local
362 mul = (1 << (FEEDMATRIX_ATTN_SHIFT - 1)) + 143 - j;
364 while ((mul & 1) == 0 && shift > 0) {
365 mul >>= 1;
368 info->matrix[ch].mul = mul;
[all...]
/freebsd-9.3-release/crypto/openssl/crypto/bn/
H A Dbn_lcl.h305 # define mul(r,a,w,c) { \ macro
332 # define mul(r,a,w,c) { \ macro
360 # define mul(r,a,w,c) { \ macro
440 # define mul(r,a,bl,bh,c) { \ macro
H A Dbn_asm.c112 mul(rp[0], ap[0], w, c1);
113 mul(rp[1], ap[1], w, c1);
114 mul(rp[2], ap[2], w, c1);
115 mul(rp[3], ap[3], w, c1);
121 mul(rp[0], ap[0], w, c1);
124 mul(rp[1], ap[1], w, c1);
127 mul(rp[2], ap[2], w, c1);
205 mul(rp[0], ap[0], bl, bh, carry);
208 mul(rp[1], ap[1], bl, bh, carry);
211 mul(r
[all...]
/freebsd-9.3-release/sys/dev/ath/
H A Dif_athvar.h99 #define ATH_EP_MUL(x, mul) ((x) * (mul))
107 #define ATH_EP_RND(x,mul) \
108 ((((x)%(mul)) >= ((mul)/2)) ? ((x) + ((mul) - 1)) / (mul) : (x)/(mul))
/freebsd-9.3-release/contrib/gcc/config/arm/
H A Dieee754-df.S588 mul ip, xl, yl
589 mul fp, xl, r8
593 mul fp, r7, yl
596 mul fp, xl, sl
600 mul fp, r7, yh
603 mul fp, xh, r8
606 mul fp, r9, yl
609 mul fp, xh, sl
610 mul r6, r9, sl
613 mul f
[all...]

Completed in 136 milliseconds

123