[Qemu-devel] [PATCH 1/3] host-utils: Use __int128_t for mul[us]64

2013-02-16 Thread Richard Henderson
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. With gcc 4.7, we get identical code generation for x86_64. We now ge

[Qemu-devel] [PATCH 1/3] host-utils: Use __int128_t for mul[us]64

2013-01-28 Thread Richard Henderson
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. With gcc 4.7, we get identical code generation for x86_64. We now ge