Lines Matching refs:phigh
4539 static void add128(uint64_t *plow, uint64_t *phigh, uint64_t a, uint64_t b)
4544 (*phigh)++;
4545 *phigh += b;
4548 static void neg128(uint64_t *plow, uint64_t *phigh)
4551 *phigh = ~ *phigh;
4552 add128(plow, phigh, 1, 0);
4556 static int div64(uint64_t *plow, uint64_t *phigh, uint64_t b)
4562 a1 = *phigh;
4567 *phigh = r;
4585 *phigh, *plow, b, a0, a1);
4588 *phigh = a1;
4594 static int idiv64(uint64_t *plow, uint64_t *phigh, int64_t b)
4597 sa = ((int64_t)*phigh < 0);
4599 neg128(plow, phigh);
4603 if (div64(plow, phigh, b) != 0)
4614 *phigh = - *phigh;