From: Denis Chertykov Date: Sun, 1 Oct 2000 15:29:06 +0000 (+0000) Subject: avr.h (BRANCH_COST): Define as 0. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=51296ba047eb7f4f266f97d7a26748dc108f7fd5;p=gcc.git avr.h (BRANCH_COST): Define as 0. * config/avr/avr.h (BRANCH_COST): Define as 0. * config/pdp11/pdp11.c: #include "tree.h" added. From-SVN: r36686 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 848e7da4b82..5b80c099903 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +Sat Sep 23 19:10:20 2000 Denis Chertykov + + * config/avr/avr.h (BRANCH_COST): Define as 0. + + * config/pdp11/pdp11.c: #include "tree.h" added. + 2000-09-30 Marek Michalkiewicz * config/avr/avr.c (ashlhi3_out, ashlsi3_out, ashrhi3_out, diff --git a/gcc/config/avr/avr.h b/gcc/config/avr/avr.h index a0857784e75..be2160abf71 100644 --- a/gcc/config/avr/avr.h +++ b/gcc/config/avr/avr.h @@ -1896,6 +1896,14 @@ do { \ between two registers, you should define this macro to express the relative cost. */ +#define BRANCH_COST 0 +/* A C expression for the cost of a branch instruction. A value of 1 + is the default; other values are interpreted relative to that. + + Here are additional macros which do not specify precise relative + costs, but only that certain actions are more expensive than GCC would + ordinarily expect. */ + #define SLOW_BYTE_ACCESS 0 /* Define this macro as a C expression which is nonzero if accessing less than a word of memory (i.e. a `char' or a `short') is no diff --git a/gcc/config/pdp11/pdp11.c b/gcc/config/pdp11/pdp11.c index fc98a8c86f5..83f191f340d 100644 --- a/gcc/config/pdp11/pdp11.c +++ b/gcc/config/pdp11/pdp11.c @@ -34,6 +34,7 @@ Boston, MA 02111-1307, USA. */ #include "insn-attr.h" #include "flags.h" #include "recog.h" +#include "tree.h" #include "tm_p.h" /*