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]

Re: [alpha] -msmall-text and tls tweak


On Fri, Dec 20, 2002 at 11:48:44AM -0800, Richard Henderson wrote:
> + 
> + @item -msmall-text
> + @itemx -mlarge-text
> + @opindex msmall-text
> + @opindex mlarge-text
> + When @option{-msmall-text} is used, the compiler assumes that the
> + code of the entire program (or shared library) fits in 4MB, and is
> + thus reachable with a branch instruction.  When @option{-msmall-data}

Shouldn't this be -msmall-text?

> + is used, the compiler can assume that all local symbols share the
> + same @code{$gp} value, and thus reduce the number of instructions
> + required for a function call from 4 to 1.
> + 
> + The default is @option{-mlarge-text}.
>   
>   @item -mcpu=@var{cpu_type}
>   @opindex mcpu

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]