Il 21/06/2013 17:10, Richard Henderson ha scritto:
> On 06/21/2013 12:48 AM, Paolo Bonzini wrote:
>> --- /dev/null
>> +++ b/tests/test-int128.c
>> @@ -0,0 +1,212 @@
>> +/*
>> + * Test 64x64 -> 128 multiply subroutines
>
> Cutnpaste test description. Otherwise,
>
> Reviewed-by: Richard Henderson
On 06/21/2013 12:48 AM, Paolo Bonzini wrote:
> --- /dev/null
> +++ b/tests/test-int128.c
> @@ -0,0 +1,212 @@
> +/*
> + * Test 64x64 -> 128 multiply subroutines
Cutnpaste test description. Otherwise,
Reviewed-by: Richard Henderson
r~
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
---
include/qemu/int128.h | 25 --
tests/Makefile| 6 +-
tests/test-int128