diff options
author | Richard Henderson <rth@twiddle.net> | 2013-02-16 12:47:00 -0800 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2013-02-17 14:28:58 +0000 |
commit | ff7a1eb0a1262f7d451cc1e70c65dd23771ce2a2 (patch) | |
tree | 56339a9d32d57eac9d7d5c70c54eca00763daee0 /tests/test-mul64.c | |
parent | f540166b7dfdf4ec2057ac322d8cbfd0691e1d65 (diff) |
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/test-mul64.c')
0 files changed, 0 insertions, 0 deletions