summaryrefslogtreecommitdiff
path: root/Zend/zend_multiply.h
diff options
context:
space:
mode:
authorGustavo Lopes <glopes@nebm.ist.utl.pt>2013-04-30 19:00:31 +0200
committerGustavo Lopes <glopes@nebm.ist.utl.pt>2013-04-30 19:28:24 +0200
commit514afd67b651bea834bdb84b7685b48e9e56ac21 (patch)
treed8b6c9669f26733a4718bcff487a5180d0408fce /Zend/zend_multiply.h
parent4a92ae34011ad2246500f27469f378b66d832976 (diff)
downloadphp-git-514afd67b651bea834bdb84b7685b48e9e56ac21.tar.gz
Fix bug #64729: compilation failure on x32
Diffstat (limited to 'Zend/zend_multiply.h')
-rw-r--r--Zend/zend_multiply.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_multiply.h b/Zend/zend_multiply.h
index c3c9657f3b..092d3cd0b2 100644
--- a/Zend/zend_multiply.h
+++ b/Zend/zend_multiply.h
@@ -35,8 +35,8 @@
#define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
long __tmpvar; \
- __asm__ ("imulq %3,%0\n" \
- "adcq $0,%1" \
+ __asm__ ("imul %3,%0\n" \
+ "adc $0,%1" \
: "=r"(__tmpvar),"=r"(usedval) \
: "0"(a), "r"(b), "1"(0)); \
if (usedval) (dval) = (double) (a) * (double) (b); \