summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRichard Henderson2013-02-16 21:47:00 +0100
committerBlue Swirl2013-02-17 15:28:58 +0100
commitff7a1eb0a1262f7d451cc1e70c65dd23771ce2a2 (patch)
tree56339a9d32d57eac9d7d5c70c54eca00763daee0 /include
parenthost-utils: Use __int128_t for mul[us]64 (diff)
downloadqemu-ff7a1eb0a1262f7d451cc1e70c65dd23771ce2a2.tar.gz
qemu-ff7a1eb0a1262f7d451cc1e70c65dd23771ce2a2.tar.xz
qemu-ff7a1eb0a1262f7d451cc1e70c65dd23771ce2a2.zip
host-utils: Improve mulu64 and muls64
The new formulation makes better use of add-with-carry type insns that the host may have. Use gcc's sign adjustment trick to avoid having to perform a 128-bit negation. Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions