public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* load_multiple for argument push!?
@ 2000-09-21  2:59 Kazu Hirata
  0 siblings, 0 replies; 3+ messages in thread
From: Kazu Hirata @ 2000-09-21  2:59 UTC (permalink / raw)
  To: gcc

Hi,

I am wondering if gcc supports "load_multiple" for multiple argument
push.  Looking at arm.md and mcore.md, their load_multiple seem to be
useful as such, but I don't see any "load_multiple" in calls.c.

Does anybody have a clue on this?

Thanks,

Kazu Hirata

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

* RE: load_multiple for argument push!?
@ 2000-09-25 23:47 Kazu Hirata
  0 siblings, 0 replies; 3+ messages in thread
From: Kazu Hirata @ 2000-09-25 23:47 UTC (permalink / raw)
  To: 'Joern Rennecke'; +Cc: gcc

> You can define a peephole to coalesce multiple pushes / 
> stores into one.

Well, I submitted such a patch for the h3800 target.  Then Jeffery Law
suggested that I shuold make use of store_multiple.  This is why I am
wondering if gcc supports it for argument push.

By the way, I should have said "store_multiple", because load_multiple does
not write anything to memory. :-)

Thanks,

Kazu Hirata

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

* Re: load_multiple for argument push!?
       [not found] <200009211001.DAA04768@cygnus.com>
@ 2000-09-25 14:28 ` Joern Rennecke
  0 siblings, 0 replies; 3+ messages in thread
From: Joern Rennecke @ 2000-09-25 14:28 UTC (permalink / raw)
  To: Kazu Hirata; +Cc: gcc

> Hi,
> 
> I am wondering if gcc supports "load_multiple" for multiple argument
> push.  Looking at arm.md and mcore.md, their load_multiple seem to be
> useful as such, but I don't see any "load_multiple" in calls.c.
> 
> Does anybody have a clue on this?

You can define a peephole to coalesce multiple pushes / stores into one.

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

end of thread, other threads:[~2000-09-25 23:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-09-21  2:59 load_multiple for argument push!? Kazu Hirata
     [not found] <200009211001.DAA04768@cygnus.com>
2000-09-25 14:28 ` Joern Rennecke
2000-09-25 23:47 Kazu Hirata

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).