Home
last modified time | relevance | path

Searched refs:sh2 (Results 1 – 2 of 2) sorted by relevance

/dpdk/lib/eal/include/
H A Drte_reciprocal.h38 uint8_t sh1, sh2; member
43 uint8_t sh1, sh2; member
50 return (t + ((a - t) >> R.sh1)) >> R.sh2; in rte_reciprocal_divide()
90 return (t + ((a - t) >> R->sh1)) >> R->sh2; in rte_reciprocal_divide_u64()
/dpdk/lib/eal/common/
H A Drte_reciprocal.c27 R.sh2 = RTE_MAX(l - 1, 0); in rte_reciprocal_value()
118 R.sh2 = (l > 0) ? l : 0; in rte_reciprocal_value_u64()
119 R.sh2 -= R.sh2 && (m == 1) ? 1 : 0; in rte_reciprocal_value_u64()