expmed.h (MAX_BITS_PER_WORD): Move to...

gcc/
	* expmed.h (MAX_BITS_PER_WORD): Move to...
	* defaults.h (MAX_BITS_PER_WORD): ...here.

From-SVN: r162150
This commit is contained in:
Richard Sandiford 2010-07-13 19:48:58 +00:00 committed by Richard Sandiford
parent 0685e770ac
commit d146518711
3 changed files with 9 additions and 8 deletions

View File

@ -1,3 +1,8 @@
2010-07-13 Richard Sandiford <rdsandiford@googlemail.com>
* expmed.h (MAX_BITS_PER_WORD): Move to...
* defaults.h (MAX_BITS_PER_WORD): ...here.
2010-07-13 DJ Delorie <dj@redhat.com>
* config/h8300/h8300.c (h8300_init_once): Default to

View File

@ -1033,6 +1033,10 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#define MIN_UNITS_PER_WORD UNITS_PER_WORD
#endif
#ifndef MAX_BITS_PER_WORD
#define MAX_BITS_PER_WORD BITS_PER_WORD
#endif
#ifndef STACK_POINTER_OFFSET
#define STACK_POINTER_OFFSET 0
#endif

View File

@ -65,14 +65,6 @@ struct mult_cost {
|| ((X)->cost == (Y)->cost \
&& (X)->latency < (Y)->latency))
/* For compilers that support multiple targets with different word sizes,
MAX_BITS_PER_WORD contains the biggest value of BITS_PER_WORD. An example
is the H8/300(H) compiler. */
#ifndef MAX_BITS_PER_WORD
#define MAX_BITS_PER_WORD BITS_PER_WORD
#endif
/* This structure records a sequence of operations.
`ops' is the number of operations recorded.
`cost' is their total cost.