Searched refs:log2 (Results 1 - 25 of 35) sorted by relevance

12

/freebsd-9.3-release/sys/contrib/octeon-sdk/
H A Dcvmx-tlb.h251 * Compute log2(v), only works if v is power of two.
254 * @return log2(v)
258 uint32_t log2 = 0 ; local
260 if (v) log2 = __fls64(v);
262 return log2;
/freebsd-9.3-release/tools/regression/lib/msun/
H A Dtest-logarithm.c73 test(log2, x, result, exceptmask, excepts); \
131 * We should insist that log2() return exactly the correct
140 assert(log2(ldexp(1.0, i)) == i);
/freebsd-9.3-release/sys/ofed/include/linux/
H A Dkernel.h47 #include <linux/log2.h>
/freebsd-9.3-release/contrib/gcc/
H A Dtree-phinodes.c181 int log2, new_len; local
191 log2 = ceil_log2 (size);
192 new_size = 1 << log2;
/freebsd-9.3-release/contrib/libstdc++/include/tr1/
H A Dmath.h75 using std::tr1::log2;
/freebsd-9.3-release/lib/msun/
H A DSymbol.map228 log2;
H A DMakefile183 MLINKS+=log.3 log10.3 log.3 log10f.3 log.3 log1p.3 log.3 log1pf.3 log.3 logf.3 log.3 log2.3 log.3 log2f.3
/freebsd-9.3-release/contrib/llvm/include/llvm/Target/
H A DTargetLibraryInfo.h359 /// double log2(double x);
360 log2, enumerator in enum:llvm::LibFunc::Func
712 case LibFunc::log2: case LibFunc::log2f: case LibFunc::log2l:
/freebsd-9.3-release/include/
H A Dtgmath.h185 #define log2(x) __tg_simple(x, log2) macro
/freebsd-9.3-release/lib/msun/src/
H A Dmath_private.h319 #define __ieee754_log2 log2
H A Dmath.h239 double log2(double);
/freebsd-9.3-release/sys/arm/xscale/ixp425/
H A Dixp425_qmgr.c923 log2(unsigned n) function
938 return log2(entrySize);
945 return log2(bufferSizeInWords / IX_QMGR_MIN_BUFFER_SIZE);
955 return log2(2 * watermark);
/freebsd-9.3-release/contrib/llvm/lib/CodeGen/
H A DIntrinsicLowering.cpp149 case Intrinsic::log2:
150 EnsureFPIntrinsicsExist(M, I, "log2f", "log2", "log2l");
510 case Intrinsic::log2: {
511 ReplaceFPIntrinsicWithCall(CI, "log2f", "log2", "log2l");
H A DBasicTargetTransformInfo.cpp455 case Intrinsic::log2: ISD = ISD::FLOG2; break;
/freebsd-9.3-release/tools/regression/include/tgmath/
H A Dtgmath.c134 TGMACRO_REAL(log2)
549 PRINT("log2",
550 PASS_REAL_ARG_REAL_RET(log2));
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Headers/
H A Dtgmath.h962 // log2
970 __tg_log2(double __x) {return log2(__x);}
976 #undef log2 macro
977 #define log2(__x) __tg_log2(__tg_promote1((__x))(__x)) macro
/freebsd-9.3-release/sys/netinet/
H A Dsctputil.c80 sctp_clog.x.misc.log2,
104 sctp_clog.x.misc.log2,
121 sctp_clog.x.misc.log2,
141 sctp_clog.x.misc.log2,
160 sctp_clog.x.misc.log2,
179 sctp_clog.x.misc.log2,
197 sctp_clog.x.misc.log2,
215 sctp_clog.x.misc.log2,
240 sctp_clog.x.misc.log2,
269 sctp_clog.x.misc.log2,
[all...]
H A Dsctp_uio.h863 uint32_t log2; member in struct:sctp_misc_info
/freebsd-9.3-release/sys/gnu/fs/xfs/
H A Dxfs_rtalloc.c421 int log2len; /* log2 of minlen */
818 int low, /* low log2 extent size */
819 int high, /* high log2 extent size */
826 int log; /* loop counter, log2 of ext. size */
1616 int log, /* log2 of extent size */
1842 int log, /* log2 of extent size */
1919 uint8_t nrextslog; /* new log2 of sb_rextents */
2362 int log2; /* log of sequence number */ local
2377 if ((log2 = xfs_highbit64(seq)) == -1)
2380 resid = seq - (1ULL << log2);
[all...]
/freebsd-9.3-release/contrib/llvm/lib/Analysis/
H A DConstantFolding.cpp1184 case Intrinsic::log2:
1371 case Intrinsic::log2:
1372 return ConstantFoldFP(log2, V, Ty);
/freebsd-9.3-release/contrib/llvm/lib/Target/PowerPC/
H A DPPCCTRLoops.cpp255 case Intrinsic::log2:
/freebsd-9.3-release/contrib/llvm/lib/Target/
H A DTargetLibraryInfo.cpp195 "log2",
458 TLI.setUnavailable(LibFunc::log2);
/freebsd-9.3-release/sys/dev/cxgb/common/
H A Dcxgb_t3_hw.c3427 unsigned int log2 = fls(mtu); local
3429 if (!(mtu & ((1 << log2) >> 2))) /* round */
3430 log2--;
3432 (i << 24) | (log2 << 16) | mtu);
/freebsd-9.3-release/sys/dev/cxgbe/common/
H A Dt4_hw.c3414 unsigned int log2 = fls(mtu); local
3416 if (!(mtu & ((1 << log2) >> 2))) /* round */
3417 log2--;
3419 V_MTUWIDTH(log2) | V_MTUVALUE(mtu));
5440 info >>= 16; /* log2 of size */
/freebsd-9.3-release/contrib/cvs/src/
H A Dsanity.sh1193 tests="${tests} serverpatch log log2 logopt ann ann-id"
3143 # and all), either here or someplace like log2 tests.
3198 # and all), either here or someplace like log2 tests.
18771 # See also log2 tests for more tests.
18777 # -N: log, log2, admin-19a-log
19772 log2)
19777 dotest log2-1 "${testcvs} -q co first-dir" ''
19780 dotest log2-2 "${testcvs} add -m file1-is-for-testing file1" \
19783 dotest log2-3 "${testcvs} -q commit -m 1" \
19791 # client/server, so skip log2
[all...]

Completed in 520 milliseconds

12