From 9d8feff28dc27fdd682e31f3e62f526acf852af8 Mon Sep 17 00:00:00 2001 From: Nikolay Volf Date: Mon, 4 Apr 2016 11:06:16 +0200 Subject: [PATCH] replace add with or --- util/bigint/src/uint.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/util/bigint/src/uint.rs b/util/bigint/src/uint.rs index 1a23ad085..0336e8c7f 100644 --- a/util/bigint/src/uint.rs +++ b/util/bigint/src/uint.rs @@ -345,9 +345,9 @@ macro_rules! uint_overflowing_mul { mov $12, %rcx mov $11, %rax - add %rax, %rcx + or %rax, %rcx mov $10, %rax - add %rax, %rcx + or %rax, %rcx jmp 2f 12: @@ -356,7 +356,7 @@ macro_rules! uint_overflowing_mul { mov $7, %rcx mov $6, %rax - add %rax, %rcx + or %rax, %rcx cmpq $$0, %rcx jne 2f