summaryrefslogtreecommitdiffstats
path: root/tests/test-int128.c
Commit message (Collapse)AuthorAgeFilesLines
* int128: optimize and add test casesPaolo Bonzini2013-07-021-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>
OpenPOWER on IntegriCloud