patch: avr & pdp11 ports
Denis Chertykov
denisc@overta.ru
Sun Oct 1 08:25:00 GMT 2000
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.
diff -rc3p orig/egcs/gcc/config/avr/avr.h egcs/gcc/config/avr/avr.h
*** orig/egcs/gcc/config/avr/avr.h Thu Sep 14 17:45:16 2000
--- egcs/gcc/config/avr/avr.h Sat Sep 23 11:34:16 2000
*************** do { \
*** 1896,1901 ****
--- 1896,1905 ----
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. */
+
#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
Index: pdp11.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/config/pdp11/pdp11.c,v
retrieving revision 1.14
diff -c -3 -p -r1.14 pdp11.c
*** pdp11.c 2000/08/24 20:09:27 1.14
--- pdp11.c 2000/09/23 16:20:29
*************** Boston, MA 02111-1307, USA. */
*** 34,39 ****
--- 34,40 ----
#include "insn-attr.h"
#include "flags.h"
#include "recog.h"
+ #include "tree.h"
#include "tm_p.h"
/*
More information about the Gcc-patches
mailing list