Re: [GCC 4.8 changes] PATCH: Mention -maddress-mode=[short|long]
On Mon, 11 Feb 2013, H.J. Lu wrote: This patch updates GCC 4.8 changes.html to mention -maddress-mode=[short|long] for x32. OK to install? I made two tweaks on top. If you can get a colleague who is a native speaker to have a look, there may be more clarifications/ improvements to make. Gerald Index: changes.html === RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.8/changes.html,v retrieving revision 1.101 diff -u -3 -p -r1.101 changes.html --- changes.html17 Feb 2013 12:40:57 - 1.101 +++ changes.html17 Feb 2013 19:05:55 - @@ -465,10 +465,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 -liNew code-maddress-mode=[short|long]/code option for x32. +liNew code-maddress-mode=[short|long]/code options for x32. code-maddress-mode=short/code overrides default 64-bit addresses to -32-bit by emitting code0x67/code address-size override prefix. This -is the default address mode for x32./li +32-bit by emitting the code0x67/code address-size override prefix. +This is the default address mode for x32./li li New built-in functions to detect run-time CPU type and ISA: ul liA built-in function code__builtin_cpu_is/code has been added to
Re: [GCC 4.8 changes] PATCH: Mention -maddress-mode=[short|long]
On Mon, Feb 11, 2013 at 7:05 PM, H.J. Lu hongjiu...@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.html11 Feb 2013 15:12:58 - 1.95 +++ changes.html11 Feb 2013 18:03:31 - @@ -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 +liNew 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 code0x67/code, otherwise ok. Thanks, Richard. +x32./li li New built-in functions to detect run-time CPU type and ISA: ul liA built-in function code__builtin_cpu_is/code has been added to
[GCC 4.8 changes] PATCH: Mention -maddress-mode=[short|long]
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.html11 Feb 2013 15:12:58 - 1.95 +++ changes.html11 Feb 2013 18:03:31 - @@ -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 +liNew 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 +x32./li li New built-in functions to detect run-time CPU type and ISA: ul liA built-in function code__builtin_cpu_is/code has been added to