aboutsummaryrefslogtreecommitdiffstats
path: root/src/zadd.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-05-07 03:02:56 +0200
committerMattias Andrée <maandree@kth.se>2016-05-07 03:02:56 +0200
commitfdc75a358e4c20116640c08f4e8ce7a09dc3cebd (patch)
treeca67767e06b0dd9d734dc027bb02a4a47681241e /src/zadd.c
parentMake zdiv and zmod (calls zdivmod) inline (diff)
downloadlibzahl-fdc75a358e4c20116640c08f4e8ce7a09dc3cebd.tar.gz
libzahl-fdc75a358e4c20116640c08f4e8ce7a09dc3cebd.tar.bz2
libzahl-fdc75a358e4c20116640c08f4e8ce7a09dc3cebd.tar.xz
Optimisations
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/zadd.c')
-rw-r--r--src/zadd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zadd.c b/src/zadd.c
index 5eb7050..56c901b 100644
--- a/src/zadd.c
+++ b/src/zadd.c
@@ -2,7 +2,7 @@
#include "internals.h"
-#if defined(__x86_64__)
+#if defined(__x86_64__) && !defined(ZAHL_NO_ASM)
# define ASM3(code) \
__asm__ __volatile__ (code : [x]"+r"(carry), [a]"+r"(ac), [b]"+r"(bc), [c]"+r"(cc))