This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [alpha] -msmall-text and tls tweak
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Richard Henderson <rth at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Fri, 20 Dec 2002 14:57:29 -0500
- Subject: Re: [alpha] -msmall-text and tls tweak
- References: <20021220114844.A2030@redhat.com>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
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