This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [GCC 4.8 changes] PATCH: Mention -maddress-mode=[short|long]
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 12 Feb 2013 12:16:50 +0100
- Subject: Re: [GCC 4.8 changes] PATCH: Mention -maddress-mode=[short|long]
- References: <20130211180529.GA5457@intel.com>
On Mon, Feb 11, 2013 at 7:05 PM, H.J. Lu <hongjiu.lu@intel.com> wrote:
> Hi,
>
> This patch updates GCC 4.8 changes.html to mention
> -maddress-mode=[short|long] for x32. OK to install?
>
>
> H.J.
> ---
> Index: changes.html
> ===================================================================
> RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.8/changes.html,v
> retrieving revision 1.95
> diff -u -p -r1.95 changes.html
> --- changes.html 11 Feb 2013 15:12:58 -0000 1.95
> +++ changes.html 11 Feb 2013 18:03:31 -0000
> @@ -460,6 +460,10 @@ B b(42); // OK
> wrong results. You must build all
> modules with <code>-mpreferred-stack-boundary=3</code>, including any
> libraries. This includes the system libraries and startup modules.</li>
> + <li>New <code>-maddress-mode=[short|long]</code> option for x32.
> + <code>-maddress-mode=short</code> overrides default 64-bit addresses to
> + 32-bit by emitting 0x67 size prefix. This is the default address mode for
Use <code>0x67</code>, otherwise ok.
Thanks,
Richard.
> + x32.</li>
> <li> New built-in functions to detect run-time CPU type and ISA:
> <ul>
> <li>A built-in function <code>__builtin_cpu_is</code> has been added to