This is the mail archive of the
mailing list for the GCC project.
Re: patch: morpho ms1-elf support
- From: DJ Delorie <dj at redhat dot com>
- To: kenner at vlsi1 dot ultra dot nyu dot edu
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 5 Jul 2005 22:17:05 -0400
- Subject: Re: patch: morpho ms1-elf support
- References: <10507060206.AA01517@vlsi1.ultra.nyu.edu>
> I don't follow this argument. One rarely sits down and reads code from
> top to bottom like a book but more commonly goes and looks at some
> particular function for some reason. What comments are in front of
> other functions are not relevant and all matters is what's in front of
> the particular function that's drawn attention for some reason.
Worst case is the ports that cut-n-paste whole sections from the
tm.texi file; you learn to ignore the comments preceeding each
/* Try machine-dependent ways of modifying an illegitimate address
to be legitimate. If we find one, return the new, valid address.
This macro is used in only one place: `memory_address' in explow.c.
OLDX is the address as it was before break_out_memory_refs was called.
In some cases it is useful to look at this to decide what needs to be done.
MODE and WIN are passed so that this macro can use
It is always safe for this macro to do nothing. It exists to recognize
opportunities to optimize the output.
For the SH, if X is almost suitable for indexing, but the offset is
out of range, convert it into a normal form so that cse has a chance
of reducing the number of address registers used. */
The first time you look at the function, you may get halfway
through and decide to skip it, and only later realize that the last
sentence was different.