public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Can registers be stored before jump or branch?
@ 2002-05-09  3:51 Jiang Alan
  2002-05-10  0:41 ` Richard Henderson
  0 siblings, 1 reply; 2+ messages in thread
From: Jiang Alan @ 2002-05-09  3:51 UTC (permalink / raw)
  To: gcc; +Cc: gcc-help

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=gb2312; format=flowed, Size: 543 bytes --]

   I want to write a machine target for GCC. But It requires that all the 
registers GCC alloced in a basic block shall store its content to memory 
before any branch or jump or function call. After the branch etc, the 
memory data shall be reloaded into registers, no necessary the same one as 
before. 

   Can this be implemented using target macros? If it can, what shall I 
write to do such a thing?

_________________________________________________________________
Ãâ·ÑÏÂÔØ MSN Explorer£ºhttp://explorer.msn.com/lccn/intl.asp

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

* Re: Can registers be stored before jump or branch?
  2002-05-09  3:51 Can registers be stored before jump or branch? Jiang Alan
@ 2002-05-10  0:41 ` Richard Henderson
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Henderson @ 2002-05-10  0:41 UTC (permalink / raw)
  To: Jiang Alan; +Cc: gcc, gcc-help

On Thu, May 09, 2002 at 06:51:53PM +0800, Jiang Alan wrote:
>    Can this be implemented using target macros?

No.


r~

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

end of thread, other threads:[~2002-05-10  7:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-09  3:51 Can registers be stored before jump or branch? Jiang Alan
2002-05-10  0:41 ` Richard Henderson

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