[TILE-Gx, committed] support -mcmodel=MODEL

Gerald Pfeifer gerald@pfeifer.com
Sat Sep 1 11:34:00 GMT 2012


On Tue, 28 Aug 2012, Walter Lee wrote:
> This patch adds support for the -mcmodel=MODEL flag on TILE-Gx.

At which point I cannot help asking for an update to the
release notes at http://gcc.gnu.org/gcc-4.8/changes.html. ;-)

Let me know if you need help with that.

> Index: gcc/doc/invoke.texi
> ===================================================================
>  @emph{TILE-Gx Options}
> -@gccoptlist{-mcpu=CPU -m32 -m64}
> +@gccoptlist{-mcpu=CPU -m32 -m64 -mcmodel=@var{code-model}}

Not added by this change, but should CPU be @var{CPU} here?

>  @emph{TILEPro Options}
>  @gccoptlist{-mcpu=CPU -m32}

Why are only -mcpu and -m32 listed here?

> +Generate code for the small model.  Distance for direct calls is

"The distance..."?

> +@item -mcmodel=large
> +@opindex mcmodel=large
> +Generate code for the large model.  There is no limiation on call

"limitation"

Gerald



More information about the Gcc-patches mailing list