OSDN Git Service

PR target/18263
authorgiovannibajo <giovannibajo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Nov 2004 02:54:20 +0000 (02:54 +0000)
committergiovannibajo <giovannibajo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Nov 2004 02:54:20 +0000 (02:54 +0000)
* config/arc/lib1funcs.asm (___umulsidi3): Change use of cmp to the
equivalent on the A4.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90105 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/arc/lib1funcs.asm

index 6c3aa16..7a384a3 100644 (file)
@@ -1,3 +1,9 @@
+2004-11-05  Ramana Radhakrishnan  <ramana.radhakrishnan@codito.com>
+
+       PR target/18263
+       * config/arc/lib1funcs.asm (___umulsidi3): Change use of cmp to the
+       equivalent on the A4.
+
 2004-11-05  Joseph S. Myers  <joseph@codesourcery.com>
 
        * doc/c-tree.texi, doc/cfg.texi, doc/contrib.texi, doc/cpp.texi,
index 56a865c..8b591c1 100644 (file)
@@ -89,7 +89,7 @@ ___umulsidi3:
        nop
        beq.nd .Ldone
        and.f 0,r0,1            ; if (a & 1)
-       cmp r0,0
+       sub.f 0,r0,0
        nop
        beq .Ldontadd
        add.f r4,r4,r1          ; r += b