commit | 6046c620866f6f5c53eaece9f4ad8d44a12e1185 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Thu Jun 20 16:19:32 2013 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Tue Jul 02 08:17:01 2013 +0200 |
tree | 54fcfbdf8f15d62f5e2c8ac9d2f43f80222ee9b7 | |
parent | 1acd5a373905ddb28957842256a038956941f332 [diff] |
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 <pbonzini@redhat.com>