Statistics
| Branch: | Revision:

root / host-utils.h @ 45664345

History | View | Annotate | Download (5.4 kB)

# Date Author Comment
06445248 12/17/2009 07:12 pm Richard Henderson

target-alpha: Fix generic ctz64.

Signed-off-by: Richard Henderson <>
Signed-off-by: Aurelien Jarno <>

facd2857 08/16/2009 11:03 am Blue Swirl

user: compile host-utils.c only once

Signed-off-by: Blue Swirl <>

c8906845 11/12/2008 07:18 pm balrog

Include <strings.h> for ffs().

ffs() is in <strings.h> although bsd compatible systems have it in
<string.h> already. ffs() is used in omap1.c, omap2.c, omap_i2c.c,
bt-sdp.c. These uses can be replaced with clz32() but ffs is more
available. Problem was spotted by malc....

bad5b1ec 10/12/2008 07:15 pm aurel32

Define macro QEMU_GNUC_PREREQ and use it

Signed-off-by: Aurelien Jarno <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5467 c046a42c-6fe2-441c-8c8c-71466251a162

5b7ada46 10/12/2008 02:44 pm aurel32

Only use _builtin* with GCC >= 3.4

Fix gcc 3.3 builds, broken in revision 5465.

Signed-off-by: Aurelien Jarno <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5466 c046a42c-6fe2-441c-8c8c-71466251a162

7d019980 10/12/2008 03:53 am aurel32

Optimize some host-utils function with gcc builtins

Signed-off-by: Aurelien Jarno <>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5464 c046a42c-6fe2-441c-8c8c-71466251a162

cebdff77 06/06/2008 01:55 am ths

Fix always_inline definition for Darwin, by Andreas Faerber.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4674 c046a42c-6fe2-441c-8c8c-71466251a162

3800af9e 12/18/2007 03:58 am ths

Code formatting.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3837 c046a42c-6fe2-441c-8c8c-71466251a162

05e1d830 11/05/2007 03:16 pm j_mayer

Fix muls64 prototype to match the actual implementation.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3537 c046a42c-6fe2-441c-8c8c-71466251a162

7a51ad82 11/04/2007 04:24 am j_mayer

For consistency, move muls64 / mulu64 prototypes to host-utils.h
Make x86_64 optimized versions inline.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3523 c046a42c-6fe2-441c-8c8c-71466251a162

b9ef45ff 10/28/2007 02:52 pm j_mayer

Add shared ctz32, cto32, ctz64, cto64,
ctpop8, ctpop16, ctpop32 and ctpop64 helpers.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3465 c046a42c-6fe2-441c-8c8c-71466251a162

05f778c8 10/27/2007 04:05 pm ths

Add sharable clz/clo inline functions and use them for the mips target.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3455 c046a42c-6fe2-441c-8c8c-71466251a162