cvs: Zend(PHP_4_3) / zend_multiply.h
| From: | Sascha Schumann | Date: | Wed, 16 Apr 2003 05:38:41 +0000 |
| Subject: | cvs: Zend(PHP_4_3) / zend_multiply.h | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-1146@lists.php.net to get a copy of this message | ||
sas Wed Apr 16 01:38:41 2003 EDT
Modified files: (Branch: PHP_4_3)
/Zend zend_multiply.h
Log:
output should go into lval of course
Index: Zend/zend_multiply.h
diff -u Zend/zend_multiply.h:1.1.2.2 Zend/zend_multiply.h:1.1.2.3
--- Zend/zend_multiply.h:1.1.2.2 Mon Apr 14 21:30:46 2003
+++ Zend/zend_multiply.h Wed Apr 16 01:38:41 2003
@@ -24,7 +24,7 @@
#define ZEND_SIGNED_MULTIPLY_LONG(a, b, lval, dval, usedval) do { \
__asm__ ("imul %3,%0\n" \
"adc $0,%1" \
- : "=r"(a),"=r"(usedval) \
+ : "=r"(lval),"=r"(usedval) \
: "0"(a), "r"(b), "1"(0)); \
if (usedval) (dval) = (double) (a) * (double) (b); \
} while (0)