A new user interface for you! Read more...

File aarch64-mult.patch of Package php7

Index: php-7.0.5/Zend/zend_multiply.h
===================================================================
--- php-7.0.5.orig/Zend/zend_multiply.h
+++ php-7.0.5/Zend/zend_multiply.h
@@ -53,8 +53,8 @@
 	__asm__("mul %0, %2, %3\n"										\
 		"smulh %1, %2, %3\n"										\
 		"sub %1, %1, %0, asr #63\n"									\
-			: "=X"(__tmpvar), "=X"(usedval)							\
-			: "X"(a), "X"(b));										\
+			: "=&r"(__tmpvar), "=&r"(usedval)						\
+			: "r"(a), "r"(b));										\
 	if (usedval) (dval) = (double) (a) * (double) (b);				\
 	else (lval) = __tmpvar;											\
 } while (0)