Signed-off-by: Richard Henderson
---
tests/Makefile | 6 -
tests/test-mul64.c | 70 ++
2 files changed, 75 insertions(+), 1 deletion(-)
create mode 100644 tests/test-mul64.c
diff --git a/tests/Makefile b/tests/Makefile
index a2d62b8..
On Tue, Jan 29, 2013 at 8:52 PM, Richard Henderson wrote:
> On 01/29/2013 12:06 PM, Blue Swirl wrote:
>>>
>>> +static const Test test_u_data[] = {
>>> +{ 1, 1, 0, 1 },
>>> +{ 1, 1, 0, 1 },
>>> +{ -1ull, 2, 1, -2ull },
>>
>>
>> Shouldn't '1' be '-1'? How can this test pa
On 01/29/2013 12:06 PM, Blue Swirl wrote:
+static const Test test_u_data[] = {
+{ 1, 1, 0, 1 },
+{ 1, 1, 0, 1 },
+{ -1ull, 2, 1, -2ull },
Shouldn't '1' be '-1'? How can this test pass?
This is 0x___ * 2 = 0x1____fffe
with the knowledge
On Mon, Jan 28, 2013 at 10:09 PM, Richard Henderson wrote:
> Signed-off-by: Richard Henderson
> ---
> tests/Makefile | 7 +-
> tests/test-mul64.c | 69
> ++
> 2 files changed, 75 insertions(+), 1 deletion(-)
> create mode 100644 test
Signed-off-by: Richard Henderson
---
tests/Makefile | 7 +-
tests/test-mul64.c | 69 ++
2 files changed, 75 insertions(+), 1 deletion(-)
create mode 100644 tests/test-mul64.c
diff --git a/tests/Makefile b/tests/Makefile
index 442b286.