Searched refs:plow (Results 1 – 5 of 5) sorted by relevance
/openbmc/qemu/util/ |
H A D | host-utils.c | 31 static inline void mul64(uint64_t *plow, uint64_t *phigh, in mul64() argument 62 *plow = rl.ll; in mul64() 67 void mulu64 (uint64_t *plow, uint64_t *phigh, uint64_t a, uint64_t b) in mulu64() argument 69 mul64(plow, phigh, a, b); in mulu64() 73 void muls64 (uint64_t *plow, uint64_t *phigh, int64_t a, int64_t b) in muls64() argument 77 mul64(plow, &rh, a, b); in muls64() 95 uint64_t divu128(uint64_t *plow, uint64_t *phigh, uint64_t divisor) in divu128() argument 98 uint64_t dlo = *plow; in divu128() 103 *plow = dlo / divisor; in divu128() 118 *plow = udiv_qrnnd(&rem, dhi, dlo, divisor); in divu128() [all …]
|
/openbmc/qemu/include/qemu/ |
H A D | host-utils.h | 37 static inline void mulu64(uint64_t *plow, uint64_t *phigh, in mulu64() argument 41 *plow = r; in mulu64() 45 static inline void muls64(uint64_t *plow, uint64_t *phigh, in muls64() argument 49 *plow = r; in muls64() 64 static inline uint64_t divu128(uint64_t *plow, uint64_t *phigh, in divu128() argument 67 __uint128_t dividend = ((__uint128_t)*phigh << 64) | *plow; in divu128() 70 *plow = result; in divu128() 75 static inline int64_t divs128(uint64_t *plow, int64_t *phigh, in divs128() argument 78 __int128_t dividend = ((__int128_t)*phigh << 64) | *plow; in divs128() 81 *plow = result; in divs128() [all …]
|
/openbmc/qemu/target/i386/tcg/ |
H A D | int_helper.c | 279 static void add128(uint64_t *plow, uint64_t *phigh, uint64_t a, uint64_t b) in add128() argument 281 *plow += a; in add128() 283 if (*plow < a) { in add128() 289 static void neg128(uint64_t *plow, uint64_t *phigh) in neg128() argument 291 *plow = ~*plow; in neg128() 293 add128(plow, phigh, 1, 0); in neg128() 297 static int div64(uint64_t *plow, uint64_t *phigh, uint64_t b) in div64() argument 302 a0 = *plow; in div64() 307 *plow = q; in div64() 328 *phigh, *plow, b, a0, a1); in div64() [all …]
|
/openbmc/qemu/include/libdecnumber/ |
H A D | decNumber.h | 128 uint64_t *plow, uint64_t *phigh);
|
/openbmc/qemu/libdecnumber/ |
H A D | decNumber.c | 559 uint64_t *plow, uint64_t *phigh) in decNumberIntegralToInt128() argument 593 *plow = 0; in decNumberIntegralToInt128() 596 *plow = -lo; in decNumberIntegralToInt128() 599 *plow = lo; in decNumberIntegralToInt128() 7966 static bool mulUInt128ByPowOf10(uLong *plow, uLong *phigh, uInt pow10) argument 7969 if (mulu128(plow, phigh, powers[ARRAY_SIZE(powers) - 1])) { 7977 return mulu128(plow, phigh, powers[pow10]);
|