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