Searched refs:phigh (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 63 *phigh = rh.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 86 *phigh = rh; in muls64() 95 uint64_t divu128(uint64_t *plow, uint64_t *phigh, uint64_t divisor) in divu128() argument 97 uint64_t dhi = *phigh; in divu128() 104 *phigh = 0; in divu128() 117 *phigh = 0; 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 42 *phigh = r >> 64; in mulu64() 45 static inline void muls64(uint64_t *plow, uint64_t *phigh, in muls64() argument 50 *phigh = r >> 64; 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() 71 *phigh = result >> 64; 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() 82 *phigh = result >> 64; 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 284 (*phigh)++; in add128() 286 *phigh += b; in add128() 289 static void neg128(uint64_t *plow, uint64_t *phigh) in neg128() argument 292 *phigh = ~*phigh; 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 303 a1 = *phigh; in div64() 308 *phigh = r; 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 592 *phigh = -hi; in decNumberIntegralToInt128() 595 *phigh = ~hi; in decNumberIntegralToInt128() 600 *phigh = hi; 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]);
|