summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-11 02:16:40 +0000
committeraoliva <aoliva@138bc75d-0d04-0410-961f-82ee72b054a4>2001-03-11 02:16:40 +0000
commitfb062b27e3728f9a4be4246e2a3c503a104687f2 (patch)
treedcc3cc2571b5cce3208860722713225f9b714cf3
parentace16e3d9d966bfa5f1a3cd08ee03412fb866571 (diff)
downloadppe42-gcc-fb062b27e3728f9a4be4246e2a3c503a104687f2.tar.gz
ppe42-gcc-fb062b27e3728f9a4be4246e2a3c503a104687f2.zip
* config/sh/sh.md (umulhisi3_i, mulhisi3_i): Fix mnemonics.
* config/sh/lib1funcs.asm (mulsi3): Convert mulu to mulu.w. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40381 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/sh/lib1funcs.asm6
-rw-r--r--gcc/config/sh/sh.md4
3 files changed, 10 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7fd1e0f7c4d..767be09b98a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2001-03-10 Toshiyasu Morita <toshiyasu.morita@hsa.hitachi.com>
+
+ * config/sh/sh.md (umulhisi3_i, mulhisi3_i): Fix mnemonics.
+ * config/sh/lib1funcs.asm (mulsi3): Convert mulu to mulu.w.
+
Sat Mar 10 22:42:05 2001 Alexandre Oliva <aoliva@redhat.com>
* tree.c (build_common_tree_nodes_2): Don't copy va_list_type_node
diff --git a/gcc/config/sh/lib1funcs.asm b/gcc/config/sh/lib1funcs.asm
index 5ebea99c4d1..192e3adfbad 100644
--- a/gcc/config/sh/lib1funcs.asm
+++ b/gcc/config/sh/lib1funcs.asm
@@ -845,7 +845,7 @@ GLOBAL(movstrSI12_i4):
!
GLOBAL(mulsi3):
- mulu r4,r5 ! multiply the lsws macl=bb*dd
+ mulu.w r4,r5 ! multiply the lsws macl=bb*dd
mov r5,r3 ! r3 = ccdd
swap.w r4,r2 ! r2 = bbaa
xtrct r2,r3 ! r3 = aacc
@@ -855,9 +855,9 @@ GLOBAL(mulsi3):
sts macl,r0
hiset: sts macl,r0 ! r0 = bb*dd
- mulu r2,r5 ! brewing macl = aa*dd
+ mulu.w r2,r5 ! brewing macl = aa*dd
sts macl,r1
- mulu r3,r4 ! brewing macl = cc*bb
+ mulu.w r3,r4 ! brewing macl = cc*bb
sts macl,r2
add r1,r2
shll16 r2
diff --git a/gcc/config/sh/sh.md b/gcc/config/sh/sh.md
index b471a4a9773..6707c59865f 100644
--- a/gcc/config/sh/sh.md
+++ b/gcc/config/sh/sh.md
@@ -1160,7 +1160,7 @@
(zero_extend:SI
(match_operand:HI 1 "arith_reg_operand" "r"))))]
""
- "mulu %1,%0"
+ "mulu.w %1,%0"
[(set_attr "type" "smpy")])
(define_insn "mulhisi3_i"
@@ -1170,7 +1170,7 @@
(sign_extend:SI
(match_operand:HI 1 "arith_reg_operand" "r"))))]
""
- "muls %1,%0"
+ "muls.w %1,%0"
[(set_attr "type" "smpy")])
(define_expand "mulhisi3"
OpenPOWER on IntegriCloud