summaryrefslogtreecommitdiff
path: root/include/qemu/int128.h
AgeCommit message (Collapse)AuthorFilesLines
2013-07-02int128: optimize and add test casesPaolo Bonzini1-8/+17
For add, the carry only requires checking one of the arguments. For sub and neg, we can similarly optimize computation of the carry. For ge, we can just do lexicographic order. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2013-06-20memory: make section size a 128-bit integerPaolo Bonzini1-0/+19
So far, the size of all regions passed to listeners could fit in 64 bits, because artificial regions (containers and aliases) are eliminated by the memory core, leaving only device regions which have reasonable sizes An IOMMU however cannot be eliminated by the memory core, and may have an artificial size, hence we may need 65 bits to represent its size. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2012-12-19misc: move include files to include/qemu/Paolo Bonzini1-0/+116
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>