summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authordenisc <denisc@138bc75d-0d04-0410-961f-82ee72b054a4>2000-10-01 15:29:06 +0000
committerdenisc <denisc@138bc75d-0d04-0410-961f-82ee72b054a4>2000-10-01 15:29:06 +0000
commit6e888188c01b5cc20d5573dfa673974be8c3d4c6 (patch)
treea032e054a2d577947d5a76a8253ca918ed4235cb /gcc
parent28f5cc4d325f2d665c4df19ce266f464afcd1eec (diff)
downloadgcc-6e888188c01b5cc20d5573dfa673974be8c3d4c6.tar.gz
* config/avr/avr.h (BRANCH_COST): Define as 0.
* config/pdp11/pdp11.c: #include "tree.h" added. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36686 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-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 848e7da4b82..5b80c099903 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 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"
/*