* mn10300.h (RTX_COSTS): Handle UDIV and UMOD too.

From-SVN: r22001
This commit is contained in:
Jeffrey A Law 1998-08-26 11:58:20 +00:00 committed by Jeff Law
parent c48ba252f3
commit 6b7e236fb6
2 changed files with 6 additions and 0 deletions

View 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

View 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; \