summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgiovannibajo <giovannibajo@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-05 02:54:20 +0000
committergiovannibajo <giovannibajo@138bc75d-0d04-0410-961f-82ee72b054a4>2004-11-05 02:54:20 +0000
commite9846fd85639ccc299e07d59f6bd8d2549f71d44 (patch)
tree02631a22d50a23fd6fe3486ba5f90c6b6acd044b
parentf0d5b56866e5060559f352474a70e4743727866e (diff)
downloadgcc-e9846fd85639ccc299e07d59f6bd8d2549f71d44.tar.gz
PR target/18263
* 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
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/arc/lib1funcs.asm2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6c3aa16affd..7a384a359bf 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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,
diff --git a/gcc/config/arc/lib1funcs.asm b/gcc/config/arc/lib1funcs.asm
index 56a865cec32..8b591c19213 100644
--- a/gcc/config/arc/lib1funcs.asm
+++ b/gcc/config/arc/lib1funcs.asm
@@ -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