Statistics
| Branch: | Revision:

root / tests / test-int128.c @ 8cfd0495

History | View | Annotate | Download (6.3 kB)

# Date Author Comment
6046c620 07/02/2013 09:17 am Paolo Bonzini

int128: optimize and add test cases

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 <>