Searched refs:mp_word (Results 1 – 3 of 3) sorted by relevance
74 typedef unsigned long mp_word __attribute__((mode(TI))); typedef80 typedef u64 mp_word; typedef123 #define MP_WARRAY (1 << (sizeof(mp_word) * CHAR_BIT - 2 * DIGIT_BIT + 1))522 (1 << ((CHAR_BIT * sizeof (mp_word)) - (2 * DIGIT_BIT)))) { in mp_mul()1783 mp_word tmp; in mp_div()1784 tmp = ((mp_word) x.dp[i]) << ((mp_word) DIGIT_BIT); in mp_div()1785 tmp |= ((mp_word) x.dp[i - 1]); in mp_div()1786 tmp /= ((mp_word) y.dp[t]); in mp_div()1787 if (tmp > (mp_word) MP_MASK) in mp_div()1789 q.dp[i - t - 1] = (mp_digit) (tmp & (mp_word) (MP_MASK)); in mp_div()[all …]
203 #define UPPER_HALF(W) ((mp_word)((W) >> MP_DIGIT_BIT))2112 mp_word w = 0; in s_uadd()2122 w = w + (mp_word) *da + (mp_word) *db; in s_uadd()2143 mp_word w = 0; in s_usub()2150 w = ((mp_word)MP_DIGIT_MAX + 1 + /* MP_RADIX */ in s_usub()2151 (mp_word)*da) - w - (mp_word)*db; in s_usub()2159 w = ((mp_word)MP_DIGIT_MAX + 1 + /* MP_RADIX */ in s_usub()2160 (mp_word)*da) - w; in s_usub()2259 mp_word w; in s_umul()2270 w = (mp_word)*da * (mp_word)*dbt + w + (mp_word)*dct; in s_umul()[all …]
50 typedef uint64_t mp_word; typedef53 typedef uint32_t mp_word; typedef80 #define MP_WORD_BIT (sizeof(mp_word) * CHAR_BIT)