diff options
author | davem <davem@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-06-04 01:54:59 +0000 |
---|---|---|
committer | davem <davem@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-06-04 01:54:59 +0000 |
commit | 620803f2c50f28cdb423e4b9ecf3ae3eb795948e (patch) | |
tree | 3d521c9a2ee433d5ff8221dcabc7f185a628d46d /libgcc/longlong.h | |
parent | 899b73b79991607a5928ecd09f049c0846c08c2b (diff) | |
download | gcc-620803f2c50f28cdb423e4b9ecf3ae3eb795948e.tar.gz |
Fix bug added to sparc 64-bit sub_ddmmss() implementation.
* longlong.h [SPARC] (sub_ddmmss): Fix thinko in previous 64-bit
change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188163 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc/longlong.h')
-rw-r--r-- | libgcc/longlong.h | 2 |
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) \ |