Lines Matching defs:plow
38 static void add128 (uint64_t *plow, uint64_t *phigh, uint64_t a, uint64_t b)
40 *plow += a;
42 if (*plow < a)
47 static void neg128 (uint64_t *plow, uint64_t *phigh)
49 *plow = ~*plow;
51 add128(plow, phigh, 1, 0);
54 static void mul64 (uint64_t *plow, uint64_t *phigh, uint64_t a, uint64_t b)
66 *plow = v;
70 add128(plow, phigh, v << 32, v >> 32);
73 add128(plow, phigh, v << 32, v >> 32);
80 void mulu64 (uint64_t *plow, uint64_t *phigh, uint64_t a, uint64_t b)
82 mul64(plow, phigh, a, b);
85 a, b, *phigh, *plow);
90 void muls64 (uint64_t *plow, uint64_t *phigh, int64_t a, int64_t b)
100 mul64(plow, phigh, a, b);
102 neg128(plow, phigh);
106 a, b, *phigh, *plow);