This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 10 March 2007 18:11, Paul Brook wrote: [ redirected from gcc@ to gcc-patches@ ] >> @defmac FUNCTION_MODE >> An alias for the machine mode used for memory references to functions >> being called, in @code{call} RTL expressions. On most CISC machines, >> where an instruction can begin at any byte address, this should be >> @code{QImode}; on RISC machines, where all instructions are word-sized >> and aligned, this should be a mode with the same size and alignment as >> the machine instruction words - @code{SImode} for 32-bit processors, or >> perhaps @code{HImode} for such machines as the ARM cpu in Thumb mode, >> which uses 16-bit instructions. >> @end defmac > > I think the last sentence just adds more confusion than value. Maybe: > > [...]. On most RISC machines, where all instructions have fixed sized and > alignment, this should be a mode with the same size and alignment as the > machine instruction words - Typically @code{SImode} or @code{HImode}. > > Paul Thanks for the suggestion. Attached patch updates the FUNCTION_MODE documentation. 2007-03-10 Dave Korn <dave.korn@artimi.com> * doc/tm.texi (FUNCTION_MODE): Update and extend documentation. cheers, DaveK -- Can't think of a witty .sigline today....
Attachment:
function-mode-doc-patch.diff
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |