* config/sh/sh.md (umulhisi3_i, mulhisi3_i): Fix mnemonics.
* config/sh/lib1funcs.asm (mulsi3): Convert mulu to mulu.w.
From-SVN: r40381
+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
!
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
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
(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"
(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"