summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/h8300/lib1funcs.asm2
2 files changed, 5 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1fca412f0f7..a20beba93d7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2003-11-12 Kazu Hirata <kazu@cs.umass.edu>
+
+ * config/h8300/lib1funcs.asm (___mulsi3): Don't save/restore
+ an unused register.
+
2003-11-12 Richard Sandiford <rsandifo@redhat.com>
PR bootstrap/12752
diff --git a/gcc/config/h8300/lib1funcs.asm b/gcc/config/h8300/lib1funcs.asm
index 6444ea65a2f..4cda40fc25e 100644
--- a/gcc/config/h8300/lib1funcs.asm
+++ b/gcc/config/h8300/lib1funcs.asm
@@ -698,7 +698,6 @@ ___mulhi3:
___mulsi3:
PUSHP S0P
PUSHP S1P
- PUSHP S2P
sub.w S0,S0
sub.w S1,S1
@@ -731,7 +730,6 @@ _nobit:
_done:
mov.w S0,A0
mov.w S1,A1
- POPP S2P
POPP S1P
POPP S0P
rts
OpenPOWER on IntegriCloud