* mn10300.h (RTX_COSTS): Handle UDIV and UMOD too.
authorJeffrey A Law <law@cygnus.com>
Wed, 26 Aug 1998 11:58:20 +0000 (11:58 +0000)
committerJeff Law <law@gcc.gnu.org>
Wed, 26 Aug 1998 11:58:20 +0000 (05:58 -0600)
From-SVN: r22001

gcc/ChangeLog
gcc/config/mn10300/mn10300.h

index fb27fbf283d00d2dd77027c58b1bdb36e4cb238a..c4972ae86929fdbd8488db43632ec0118b173f47 100644 (file)
@@ -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
index ef57aaca9e6e1f4ad1c7b9aea93e4172521b7640..6e4426910334e081cfc75e4c284b80cad97bbe03 100644 (file)
@@ -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;          \