aboutsummaryrefslogtreecommitdiff
path: root/include/qemu/host-utils.h
AgeCommit message (Expand)AuthorFilesLines
2023-06-23host-utils: Avoid using __builtin_subcll on buggy versions of Apple ClangPeter Maydell1-1/+1
2023-05-02qemu/host-utils.h: Add clz and ctz functions for lower-bit integersKiran Ostrolenk1-0/+54
2023-02-08Don't include headers already included by qemu/osdep.hMarkus Armbruster1-1/+0
2022-08-04include/qemu/host-utils.h: Simplify the compiler check in mulu128()Thomas Huth1-2/+1
2022-07-05include/qemu/host-utils: Remove unused code in the *_overflow wrappersThomas Huth1-65/+0
2022-06-20host-utils: Implemented signed 256-by-128 divisionLucas Mateus Castro (alqotel)1-0/+1
2022-06-20host-utils: Implemented unsigned 256-by-128 divisionLucas Mateus Castro (alqotel)1-0/+2
2022-04-06Replace config-time define HOST_WORDS_BIGENDIANMarc-André Lureau1-1/+1
2021-11-09host-utils: Introduce mulu128Luis Pires1-0/+36
2021-10-27host-utils: add 128-bit quotient support to divu128/divs128Luis Pires1-7/+13
2021-10-27host-utils: move udiv_qrnnd() to host-utilsLuis Pires1-0/+81
2021-10-27host-utils: move checks out of divu128/divs128Luis Pires1-23/+13
2021-09-29host-utils: introduce uabs64()Luis Pires1-0/+8
2021-09-29host-utils: fix missing zero-extension in divs128Luis Pires1-1/+1
2021-05-16qemu/host-utils: Add wrappers for carry builtinsRichard Henderson1-0/+50
2021-05-16qemu/host-utils: Add wrappers for overflow builtinsRichard Henderson1-0/+225
2021-05-16qemu/host-utils: Use __builtin_bitreverseNRichard Henderson1-0/+16
2020-07-06fix the prototype of muls64/mulu64Lijun Pan1-2/+2
2018-12-12includes: Replace QEMU_GNUC_PREREQ with "__has_builtin || !defined(__clang__)"Thomas Huth1-2/+2
2018-01-18pci/shpc: Move function to generic header fileYuval Shaia1-0/+10
2017-09-06host-utils: Simplify pow2ceil()Markus Armbruster1-9/+14
2017-09-06host-utils: Proactively fix pow2floor(), switch to unsignedMarkus Armbruster1-5/+8
2017-04-20Drop QEMU_GNUC_PREREQ() checks for gcc older than 4.1Peter Maydell1-121/+0
2017-01-31host-utils: Implement unsigned quadword left/right shift and unit testsJose Ricardo Ziviani1-0/+27
2017-01-10qemu/host-utils.h: Reduce the operation count in the fallback ctpopRichard Henderson1-14/+11
2016-07-12Clean up decorations and whitespace around header guardsMarkus Armbruster1-1/+2
2016-06-07host-utils: Prefer 'false' for bool typeEric Blake1-1/+1
2016-02-23include: Clean up includesPeter Maydell1-3/+0
2015-09-15host-utils: Add revbit functionsRichard Henderson1-0/+77
2015-09-07Make pow2ceil() and pow2floor() inlinePeter Maydell1-0/+33
2015-08-19qemu-common.h: Move muldiv64() to host-utils.hPeter Maydell1-0/+29
2014-03-05target-ppc: Add ISA2.06 divde[o] InstructionsTom Musta1-0/+14
2014-03-05target-ppc: Add ISA2.06 divdeu[o] InstructionsTom Musta1-0/+14
2014-03-02include/qemu/host-utils.h: Trivial typo: ctz->ctoDr. David Alan Gilbert1-1/+1
2013-12-17host-utils: add clrsb32/64 - count leading redundant sign bitsClaudio Fontana1-0/+32
2013-02-17host-utils: Use __int128_t for mul[us]64Richard Henderson1-9/+8
2013-02-16host-utils: Fix coding style and add commentsRichard Henderson1-18/+82
2013-02-16host-utils: Add host long specific aliases for clz, ctz, ctpopRichard Henderson1-0/+19
2013-02-02bitops: unify bitops_ffsl with the one in host-utils.h, call it bitops_ctzlPaolo Bonzini1-26/+0
2013-01-25host-utils: add ffslPaolo Bonzini1-0/+26
2012-12-19misc: move include files to include/qemu/Paolo Bonzini1-0/+240