diff options
| author | Richard Henderson | 2013-02-16 21:47:00 +0100 |
|---|---|---|
| committer | Blue Swirl | 2013-02-17 15:28:58 +0100 |
| commit | ff7a1eb0a1262f7d451cc1e70c65dd23771ce2a2 (patch) | |
| tree | 56339a9d32d57eac9d7d5c70c54eca00763daee0 /tests | |
| parent | host-utils: Use __int128_t for mul[us]64 (diff) | |
| download | qemu-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 'tests')
0 files changed, 0 insertions, 0 deletions
