public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* About macro: SYMBOL_REF_SMALL_P
@ 2005-06-14  8:45 ibanez
  2005-06-15  5:47 ` Richard Sandiford
  0 siblings, 1 reply; 2+ messages in thread
From: ibanez @ 2005-06-14  8:45 UTC (permalink / raw)
  To: gcc





I'm trying to trace the source code of gcc/mips.
It uses a SYMBOL_REF_SMALL_P macro,
According to the index of 'GNU Compiler Collection Internals',
it should be documented on section RTL representation-Access to Special
Operands but it's not.
How can I find it's document?

My english is very poor.
thank you for your reading :)



*******Notification  of Sunplus Email Domain Change *******
Please kindly be informed that Sunplus  email domain will be changed from SUNPLUS.COM.TW to SUNPLUS.COM effective on 2005/7/1.
*********************************************************************

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

* Re: About macro: SYMBOL_REF_SMALL_P
  2005-06-14  8:45 About macro: SYMBOL_REF_SMALL_P ibanez
@ 2005-06-15  5:47 ` Richard Sandiford
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Sandiford @ 2005-06-15  5:47 UTC (permalink / raw)
  To: ibanez; +Cc: gcc

ibanez@sunplus.com.tw writes:
> I'm trying to trace the source code of gcc/mips.
> It uses a SYMBOL_REF_SMALL_P macro,
> According to the index of 'GNU Compiler Collection Internals',
> it should be documented on section RTL representation-Access to Special
> Operands but it's not.
> How can I find it's document?

I see what you mean...

---------------------------------------------------------------------
@findex SYMBOL_REF_SMALL_P
@findex SYMBOL_FLAG_SMALL
@item SYMBOL_FLAG_SMALL
Set if the symbol is located in the small data section.
See @code{TARGET_IN_SMALL_DATA_P}.
---------------------------------------------------------------------

(the point being that the itemised list only mentions SYMBOL_FLAG_SMALL,
not SYMBOL_REF_SMALL_P).  But the idea is that:

   SYMBOL_REF_SMALL_P (X)

is equivalent to:

   (SYMBOL_REF_FLAGS (X) & SYMBOL_FLAG_SMALL) != 0

where SYMBOL_FLAG_SMALL is as documented.  The same is true for
the other *_P macros.

Richard

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

end of thread, other threads:[~2005-06-15  5:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-14  8:45 About macro: SYMBOL_REF_SMALL_P ibanez
2005-06-15  5:47 ` Richard Sandiford

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