aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Chertykov <denisc@overta.ru>2000-10-01 15:29:06 +0000
committerDenis Chertykov <denisc@gcc.gnu.org>2000-10-01 19:29:06 +0400
commit51296ba047eb7f4f266f97d7a26748dc108f7fd5 (patch)
treea032e054a2d577947d5a76a8253ca918ed4235cb
parentadcd8f777efe7135cdf2e2b5abe9a20f998f74bf (diff)
downloadgcc-51296ba047eb7f4f266f97d7a26748dc108f7fd5.zip
gcc-51296ba047eb7f4f266f97d7a26748dc108f7fd5.tar.gz
gcc-51296ba047eb7f4f266f97d7a26748dc108f7fd5.tar.bz2
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
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/avr/avr.h8
-rw-r--r--gcc/config/pdp11/pdp11.c1
3 files changed, 15 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 848e7da..5b80c09 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+Sat Sep 23 19:10:20 2000 Denis Chertykov <denisc@overta.ru>
+
+ * config/avr/avr.h (BRANCH_COST): Define as 0.
+
+ * config/pdp11/pdp11.c: #include "tree.h" added.
+
2000-09-30 Marek Michalkiewicz <marekm@linux.org.pl>
* 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 a085778..be2160a 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 fc98a8c..83f191f 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"
/*