Home
last modified time | relevance | path

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

/f-stack/dpdk/lib/librte_eal/include/
H A Drte_reciprocal.h32 uint8_t sh1, sh2; member
37 uint8_t sh1, sh2; member
44 return (t + ((a - t) >> R.sh1)) >> R.sh2; in rte_reciprocal_divide()
84 return (t + ((a - t) >> R->sh1)) >> R->sh2; in rte_reciprocal_divide_u64()
/f-stack/dpdk/lib/librte_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()