public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Generating rtx const
@ 2004-08-17 14:24 Revital Eres
  2004-08-17 15:05 ` David Edelsohn
  0 siblings, 1 reply; 2+ messages in thread
From: Revital Eres @ 2004-08-17 14:24 UTC (permalink / raw)
  To: gcc; +Cc: Ayal Zaks, Mircea Namolaru

Hello,

I want to initialize a register rtx with the value zero in the rtl level.
Is there a function which generates the appropriate CONST rtx 
according to the register mode? (CONST_DOUBLE for DFmode, 
CONST_INT for SImode etc).

Thanks,
Revital 

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

* Re: Generating rtx const
  2004-08-17 14:24 Generating rtx const Revital Eres
@ 2004-08-17 15:05 ` David Edelsohn
  0 siblings, 0 replies; 2+ messages in thread
From: David Edelsohn @ 2004-08-17 15:05 UTC (permalink / raw)
  To: Revital Eres; +Cc: gcc, Ayal Zaks, Mircea Namolaru

>>>>> Revital Eres writes:

Revital> I want to initialize a register rtx with the value zero in the rtl level.
Revital> Is there a function which generates the appropriate CONST rtx 
Revital> according to the register mode? (CONST_DOUBLE for DFmode, 
Revital> CONST_INT for SImode etc).

	CONST0_RTX (mode)

David

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

end of thread, other threads:[~2004-08-17 13:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-17 14:24 Generating rtx const Revital Eres
2004-08-17 15:05 ` David Edelsohn

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