Merge pull request #867 from ethcore/fix-861

replace popcnt with mov (861)
This commit is contained in:
Arkadiy Paronyan 2016-04-02 19:08:09 +02:00
commit 54d594c486

View File

@ -340,31 +340,31 @@ macro_rules! uint_overflowing_mul {
cmpq $$0, %rcx
jne 2f
popcnt $8, %rcx
mov $8, %rcx
jrcxz 12f
popcnt $12, %rcx
popcnt $11, %rax
mov $12, %rcx
mov $11, %rax
add %rax, %rcx
popcnt $10, %rax
mov $10, %rax
add %rax, %rcx
jmp 2f
12:
popcnt $12, %rcx
mov $12, %rcx
jrcxz 11f
popcnt $7, %rcx
popcnt $6, %rax
movt $7, %rcx
mov $6, %rax
add %rax, %rcx
cmpq $$0, %rcx
jne 2f
11:
popcnt $11, %rcx
mov $11, %rcx
jrcxz 2f
popcnt $7, %rcx
mov $7, %rcx
2:
"