public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* I need a GCC porting hint (or two) for an odd architecture...
@ 1999-09-16  8:46 Andrew Webber
  1999-09-16  9:34 ` Nick Ing-Simmons
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Andrew Webber @ 1999-09-16  8:46 UTC (permalink / raw)
  To: gcc

I might be off topic for this list for these questions...

I have been playing around with porting gcc to an odd architecture.  The
architecture is odd for a number of reasons, however, of most relevance
to my questions are memory operations.

In this architecture simple memory reads are actually made up of two
machine instructions - one to issue the read address and one to pick up
the read data.  I have made a machine description that uses a define
expand to split memory operations in the two parts but have come across
a problem when optimization is turned on as the first of my two
instructions gets optimized out (just before .c.flow is written out).  I
could issue the two instructions as assembly together, however, I wanted
to try going through RTL to see if I could use function units or
whatever to reschedule these instructions to reduce stalling for memory
reads.

In addition, my odd architecture consists of two groups of registers
where for a memory write one group can be used for the write address and
one for the write data - is there any pleasant way to communicate this
to gcc (I currently use the inelegant solution of crippling the machine
description to only allow write addresses from one group and write data
from the other).

Thanks,

Andrew.



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1999-09-30 18:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-09-16  8:46 I need a GCC porting hint (or two) for an odd architecture Andrew Webber
1999-09-16  9:34 ` Nick Ing-Simmons
1999-09-30 18:02   ` Nick Ing-Simmons
1999-09-16 23:41 ` Jeffrey A Law
1999-09-30 18:02   ` Jeffrey A Law
1999-09-30 18:02 ` Andrew Webber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).