summaryrefslogtreecommitdiff
path: root/libc/stdlib/longlong.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdlib/longlong.h')
-rw-r--r--libc/stdlib/longlong.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdlib/longlong.h b/libc/stdlib/longlong.h
index ad42907f5..042771839 100644
--- a/libc/stdlib/longlong.h
+++ b/libc/stdlib/longlong.h
@@ -1343,7 +1343,7 @@ UDItype __umulsidi3 (USItype, USItype);
__asm__ ("subcc\t%r5,%6,%1\n\t" \
"sub\t%r3,%4,%0\n\t" \
"movcs\t%%xcc, 1, %2\n\t" \
- "add\t%0, %2, %0" \
+ "sub\t%0, %2, %0" \
: "=r" ((UDItype)(sh)), \
"=&r" ((UDItype)(sl)), \
"+r" (__carry) \