summaryrefslogtreecommitdiff
path: root/libgcc/longlong.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-06-04 01:54:59 +0000
committerDavid S. Miller <davem@gcc.gnu.org>2012-06-03 18:54:59 -0700
commit7b4cf2664334bce391a661d72d4367da728c3fca (patch)
tree3d521c9a2ee433d5ff8221dcabc7f185a628d46d /libgcc/longlong.h
parent0f38ea89ecb20bb1c8b1b8479426b2a3557d5d74 (diff)
downloadgcc-7b4cf2664334bce391a661d72d4367da728c3fca.tar.gz
Fix bug added to sparc 64-bit sub_ddmmss() implementation.
* longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit change. From-SVN: r188163
Diffstat (limited to 'libgcc/longlong.h')
-rw-r--r--libgcc/longlong.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgcc/longlong.h b/libgcc/longlong.h
index ad42907f547..04277183963 100644
--- a/libgcc/longlong.h
+++ b/libgcc/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) \