Merge pull request #879 from ethcore/fix-another-uint
uint bug - replace add with or
This commit is contained in:
commit
963b82afe9
@ -345,9 +345,9 @@ macro_rules! uint_overflowing_mul {
|
|||||||
|
|
||||||
mov $12, %rcx
|
mov $12, %rcx
|
||||||
mov $11, %rax
|
mov $11, %rax
|
||||||
add %rax, %rcx
|
or %rax, %rcx
|
||||||
mov $10, %rax
|
mov $10, %rax
|
||||||
add %rax, %rcx
|
or %rax, %rcx
|
||||||
jmp 2f
|
jmp 2f
|
||||||
|
|
||||||
12:
|
12:
|
||||||
@ -356,7 +356,7 @@ macro_rules! uint_overflowing_mul {
|
|||||||
|
|
||||||
mov $7, %rcx
|
mov $7, %rcx
|
||||||
mov $6, %rax
|
mov $6, %rax
|
||||||
add %rax, %rcx
|
or %rax, %rcx
|
||||||
|
|
||||||
cmpq $$0, %rcx
|
cmpq $$0, %rcx
|
||||||
jne 2f
|
jne 2f
|
||||||
|
Loading…
Reference in New Issue
Block a user