Home
last modified time | relevance | path

Searched refs:log2 (Results 1 – 25 of 68) sorted by relevance

123

/illumos-gate/usr/src/lib/libm/i386/src/
H A Dlog2.S32 LIBM_ANSI_PRAGMA_WEAK(log2,function)
34 ENTRY(log2)
37 fyl2x / st = 1.0*log2(arg)
40 SET_SIZE(log2)
H A Dexp10l.S54 fldl2t / log2(10), x, x
55 fmulp / z := x*log2(10), x
66 fldl2t / log2(10), r, [z]
67 fmulp / f := r*log2(10), [z]
H A Dexpl.S55 fldl2e / log2(e), x, x
56 fmulp / z := x*log2(e), x
67 fldl2e / log2(e), r, [z]
68 fmulp / f := r*log2(e), [z]
H A Dexpm1l.S62 fldl2e / log2(e), x, x
63 fmulp / z := x*log2(e), x
74 fldl2e / log2(e), r, [z]
75 fmulp / f := r*log2(e), [z]
H A Dexp10f.S50 fldl2t / push log2(10) }NOT for xtndd_dbl
51 fmulp %st,%st(1) / z = x*log2(10) }NOT for xtndd_dbl
97 / Here, |x| < log10(2), so |z| = |x*log2(10)| < 1
H A Dexp10.S52 fldl2t / push log2(10) }NOT for xtndd_dbl
53 fmulp %st,%st(1) / z = x*log2(10) }NOT for xtndd_dbl
103 / Here, |x| < log10(2), so |z| = |x*log2(10)| < 1
H A Dlog.S43 fyl2x / loge(2)*log2(arg); ln(arg)
52 fyl2x / loge(2)*log2(arg); ln(arg)
H A Dlog10.S43 fyl2x / log10(2)*log2(arg); log10(arg)
52 fyl2x / log10(2)*log2(arg); log10(arg)
H A Dlog2f.S37 fyl2x / st = 1.0*log2(arg)
H A Dlog2l.S37 fyl2x / st = 1.0*log2(arg)
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_qp.c1826 uint_t max_size, log2, actual_sgl; in tavor_qp_sgl_to_logwqesz() local
1836 log2 = highbit(max_size); in tavor_qp_sgl_to_logwqesz()
1838 log2 = log2 - 1; in tavor_qp_sgl_to_logwqesz()
1842 log2 = max(log2, TAVOR_QP_WQE_LOG_MINIMUM); in tavor_qp_sgl_to_logwqesz()
1845 actual_sgl = ((1 << log2) - TAVOR_QP_WQE_MLX_SND_HDRS) >> 4; in tavor_qp_sgl_to_logwqesz()
1853 log2 = highbit(max_size); in tavor_qp_sgl_to_logwqesz()
1855 log2 = log2 - 1; in tavor_qp_sgl_to_logwqesz()
1859 log2 = max(log2, TAVOR_QP_WQE_LOG_MINIMUM); in tavor_qp_sgl_to_logwqesz()
1862 actual_sgl = ((1 << log2) - TAVOR_QP_WQE_MLX_RCV_HDRS) >> 4; in tavor_qp_sgl_to_logwqesz()
1873 log2 = highbit(max_size); in tavor_qp_sgl_to_logwqesz()
[all …]
H A Dtavor_srq.c1016 uint_t max_size, log2, actual_sgl; in tavor_srq_sgl_to_logwqesz() local
1026 log2 = highbit(max_size); in tavor_srq_sgl_to_logwqesz()
1028 log2 = log2 - 1; in tavor_srq_sgl_to_logwqesz()
1032 log2 = max(log2, TAVOR_QP_WQE_LOG_MINIMUM); in tavor_srq_sgl_to_logwqesz()
1035 actual_sgl = ((1 << log2) - TAVOR_QP_WQE_MLX_RCV_HDRS) >> 4; in tavor_srq_sgl_to_logwqesz()
1044 *logwqesz = log2; in tavor_srq_sgl_to_logwqesz()
H A Dtavor_cfg.c626 uint_t max_size, log2; in tavor_cfg_wqe_sizes() local
644 log2 = highbit(max_size); in tavor_cfg_wqe_sizes()
646 log2 = log2 - 1; in tavor_cfg_wqe_sizes()
648 max_size = (1 << log2); in tavor_cfg_wqe_sizes()
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_qp.c1223 hermon_qp_alloc_range(hermon_state_t *state, uint_t log2, in hermon_qp_alloc_range() argument
1265 if (log2 > state->hs_ibtfinfo.hca_attr->hca_rss_max_log2_table) in hermon_qp_alloc_range()
1270 if (log2 > state->hs_ibtfinfo.hca_attr->hca_fexch_max_log2_qp) in hermon_qp_alloc_range()
1345 status = hermon_rsrc_alloc(state, rsrc_type, 1 << log2, sleepflag, in hermon_qp_alloc_range()
1372 qp_range_p->hqpr_refcnt = 1 << log2; in hermon_qp_alloc_range()
1793 if (++ii < (1 << log2)) in hermon_qp_alloc_range()
2821 uint_t max_size, log2, actual_sgl; in hermon_qp_sgl_to_logwqesz() local
2831 log2 = highbit(max_size); in hermon_qp_sgl_to_logwqesz()
2833 log2 = log2 - 1; in hermon_qp_sgl_to_logwqesz()
2837 log2 = max(log2, HERMON_QP_WQE_LOG_MINIMUM); in hermon_qp_sgl_to_logwqesz()
[all …]
H A Dhermon_cfg.c422 uint_t max_size, log2; in hermon_cfg_wqe_sizes() local
440 log2 = highbit(max_size); in hermon_cfg_wqe_sizes()
442 log2 = log2 - 1; in hermon_cfg_wqe_sizes()
444 max_size = (1 << log2); in hermon_cfg_wqe_sizes()
H A Dhermon_srq.c967 uint_t max_size, log2, actual_sgl; in hermon_srq_sgl_to_logwqesz() local
977 log2 = highbit(max_size); in hermon_srq_sgl_to_logwqesz()
979 log2 = log2 - 1; in hermon_srq_sgl_to_logwqesz()
983 log2 = max(log2, HERMON_QP_WQE_LOG_MINIMUM); in hermon_srq_sgl_to_logwqesz()
986 actual_sgl = ((1 << log2) - HERMON_QP_WQE_MLX_SRQ_HDRS) >> 4; in hermon_srq_sgl_to_logwqesz()
995 *logwqesz = log2; in hermon_srq_sgl_to_logwqesz()
/illumos-gate/usr/src/lib/libm/amd64/src/
H A Dexp10l.S55 fldl2t / log2(10), x, x
56 fmulp / z := x*log2(10), x
67 fldl2t / log2(10), r, [z]
68 fmulp / f := r*log2(10), [z]
H A Dexpl.S56 fldl2e / log2(e), x, x
57 fmulp / z := x*log2(e), x
68 fldl2e / log2(e), r, [z]
69 fmulp / f := r*log2(e), [z]
H A Dexpm1l.S63 fldl2e / log2(e), x, x
64 fmulp / z := x*log2(e), x
75 fldl2e / log2(e), r, [z]
76 fmulp / f := r*log2(e), [z]
H A Dlog2l.S37 fyl2x / st = 1.0*log2(arg)
/illumos-gate/usr/src/uts/common/io/ib/ibtl/
H A Dibtl_chan.c596 ibt_alloc_ud_channel_range(ibt_hca_hdl_t hca_hdl, uint_t log2, in ibt_alloc_ud_channel_range() argument
608 int i, n = 1 << log2; in ibt_alloc_ud_channel_range()
644 if (log2 > in ibt_alloc_ud_channel_range()
650 ibc_send_cq = kmem_alloc(sizeof (ibc_cq_hdl_t) << log2, KM_SLEEP); in ibt_alloc_ud_channel_range()
651 ibc_recv_cq = kmem_alloc(sizeof (ibc_cq_hdl_t) << log2, KM_SLEEP); in ibt_alloc_ud_channel_range()
652 ibc_qp_hdl_p = kmem_alloc(sizeof (ibc_qp_hdl_t) << log2, KM_SLEEP); in ibt_alloc_ud_channel_range()
654 for (i = 0; i < 1 << log2; i++) { in ibt_alloc_ud_channel_range()
684 IBTL_HCA2CIHCA(hca_hdl), log2, (ibtl_qp_hdl_t *)ud_chan_p, in ibt_alloc_ud_channel_range()
743 kmem_free(ibc_send_cq, sizeof (ibc_cq_hdl_t) << log2); in ibt_alloc_ud_channel_range()
744 kmem_free(ibc_recv_cq, sizeof (ibc_cq_hdl_t) << log2); in ibt_alloc_ud_channel_range()
[all …]
/illumos-gate/usr/src/uts/intel/io/vmm/
H A Dvmm_cpuid.c369 log2(uint_t x) in log2() function
452 width = MIN(0xF, log2(threads * cores)); in legacy_emulate_cpuid()
608 (vcpu_id >> log2(threads + 1)); in legacy_emulate_cpuid()
798 width = log2(logical_cpus); in legacy_emulate_cpuid()
805 width = log2(logical_cpus); in legacy_emulate_cpuid()
/illumos-gate/usr/src/lib/libm/common/C/
H A Dlog2.c30 #pragma weak __log2 = log2
152 log2(double x) { in log2() function
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_fat.c65 #define log2 grub_log2 macro
88 FAT_SUPER->sectsize_bits = log2 (FAT_CVT_U16 (bpb.bytes_per_sect)); in fat_mount()
90 = FAT_SUPER->sectsize_bits + log2 (bpb.sects_per_clust); in fat_mount()
/illumos-gate/usr/src/lib/libm/common/R/
H A Dlog2f.c41 return ((float) log2((double) x)); in log2f()

123