aboutsummaryrefslogtreecommitdiff
path: root/tests/test-int128.c
AgeCommit message (Collapse)AuthorFilesLines
2013-07-02int128: optimize and add test casesPaolo Bonzini1-0/+212
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>