This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] h8300.md: Enable divxu.b on H8/300
- From: Kazu Hirata <kazu at cs dot umass dot edu>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 08 Sep 2002 04:20:53 -0400 (EDT)
- Subject: [patch] h8300.md: Enable divxu.b on H8/300
Hi,
Attached is a patch to enable divxu.b on H8/300.
It seems disabled for no reason.
Tested on h8300 port. Committed.
Kazu Hirata
2002-09-08 Kazu Hirata <kazu@cs.umass.edu>
* config/h8300/h8300.md (udivmodqi4): Enable on H8/300.
(anonymous pattern): Likewise.
Index: h8300.md
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/h8300/h8300.md,v
retrieving revision 1.90
diff -u -r1.90 h8300.md
--- h8300.md 7 Sep 2002 20:21:43 -0000 1.90
+++ h8300.md 8 Sep 2002 08:13:11 -0000
@@ -926,7 +926,7 @@
(umod:HI
(match_dup 1)
(zero_extend:HI (match_dup 2)))))])]
- "TARGET_H8300H || TARGET_H8300S"
+ ""
"")
(define_insn ""
@@ -940,7 +940,7 @@
(umod:HI
(match_dup 1)
(zero_extend:HI (match_dup 2)))))]
- "TARGET_H8300H || TARGET_H8300S"
+ ""
"*
{
if (find_reg_note (insn, REG_UNUSED, operands[3]))