Statistics
| Branch: | Revision:

root / util / host-utils.c @ feature-archipelago

History | View | Annotate | Download (2.5 kB)

# Date Author Comment
ff7a1eb0 02/17/2013 04:28 pm Richard Henderson

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 <>...

f540166b 02/17/2013 04:28 pm Richard Henderson

host-utils: Use __int128_t for mul[us]64

Replace some x86_64 specific inline assembly with something that
all 64-bit hosts ought to optimize well. At worst this becomes
a call to the gcc __multi3 routine, which is no worse than our
implementation in util/host-utils.c....

baacf047 01/12/2013 07:42 pm Paolo Bonzini

build: move libqemuutil.a components to util/

Signed-off-by: Paolo Bonzini <>