This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: patch: alpha haifa abort
- To: John Carr <jfc at tiac dot net>
- Subject: Re: patch: alpha haifa abort
- From: David Edelsohn <dje at watson dot ibm dot com>
- Date: Sun, 04 Jan 1998 18:20:05 -0500
- Cc: Richard Henderson <rth at cygnus dot com>, egcs at cygnus dot com
>>>>> John Carr writes:
John> Most of it isn't hard to implement; one tricky problem is reload. Reload
John> assumes that it is always good to move a value into a register. POWER and
John> SPARC v9 have byte-swapping load instructions but no corresponding
John> register-register operations. These instructions also have limited
John> addressing.
I have been looking for ways to teach GCC to generate the PowerPC
byte-swapping instructions (they are not present in the original POWER
architecture which did not have a sense of little-endian ordering) for
years. Michael Tiemann and I discussed this many years ago, but GCC
combine pass does not see enough RTL patterns at one time.
David