aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1998-08-26 11:58:20 +0000
committerJeff Law <law@gcc.gnu.org>1998-08-26 05:58:20 -0600
commit6b7e236fb6b084fbef55ae44cd35667759ffe05c (patch)
tree4352bc2a826a6ee377f02fdf7f018c3f7a75e534
parentc48ba252f39cd9041c542c470b153104bb9ba963 (diff)
downloadgcc-6b7e236fb6b084fbef55ae44cd35667759ffe05c.zip
gcc-6b7e236fb6b084fbef55ae44cd35667759ffe05c.tar.gz
gcc-6b7e236fb6b084fbef55ae44cd35667759ffe05c.tar.bz2
* mn10300.h (RTX_COSTS): Handle UDIV and UMOD too.
From-SVN: r22001
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/mn10300/mn10300.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index fb27fbf..c4972ae 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+Wed Aug 26 12:57:09 1998 Jeffrey A Law (law@cygnus.com)
+
+ * mn10300.h (RTX_COSTS): Handle UDIV and UMOD too.
+
Wed Aug 26 16:35:37 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
* loop.c (check_dbra_loop): Add some code that would allow reversal
diff --git a/gcc/config/mn10300/mn10300.h b/gcc/config/mn10300/mn10300.h
index ef57aac..6e442691 100644
--- a/gcc/config/mn10300/mn10300.h
+++ b/gcc/config/mn10300/mn10300.h
@@ -771,6 +771,8 @@ extern struct rtx_def *legitimize_address ();
/* Provide the costs of a rtl expression. This is in the body of a
switch on CODE. */
#define RTX_COSTS(RTX,CODE,OUTER_CODE) \
+ case UMOD: \
+ case UDIV: \
case MOD: \
case DIV: \
return 8; \