Commit 6b7e236f by Jeffrey A Law Committed by Jeff Law

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

From-SVN: r22001
parent c48ba252
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> 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 * loop.c (check_dbra_loop): Add some code that would allow reversal
......
...@@ -771,6 +771,8 @@ extern struct rtx_def *legitimize_address (); ...@@ -771,6 +771,8 @@ extern struct rtx_def *legitimize_address ();
/* Provide the costs of a rtl expression. This is in the body of a /* Provide the costs of a rtl expression. This is in the body of a
switch on CODE. */ switch on CODE. */
#define RTX_COSTS(RTX,CODE,OUTER_CODE) \ #define RTX_COSTS(RTX,CODE,OUTER_CODE) \
case UMOD: \
case UDIV: \
case MOD: \ case MOD: \
case DIV: \ case DIV: \
return 8; \ return 8; \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment