diff mbox

[v2] SPARC: Clarify -mapp-regs option

Message ID 1394970197-7640-1-git-send-email-sebastian.huber@embedded-brains.de
State New
Headers show

Commit Message

Sebastian Huber March 16, 2014, 11:43 a.m. UTC
gcc/ChangeLog
2014-03-16  Sebastian Huber  <sebastian.huber@embedded-brains.de>

	* doc/invoke.texi (mapp-regs): Clarify.
---
 gcc/doc/invoke.texi | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Comments

Sebastian Huber March 31, 2014, 8:12 a.m. UTC | #1
Ping.

On 2014-03-16 12:43, Sebastian Huber wrote:
> gcc/ChangeLog
> 2014-03-16  Sebastian Huber  <sebastian.huber@embedded-brains.de>
>
> 	* doc/invoke.texi (mapp-regs): Clarify.
> ---
>   gcc/doc/invoke.texi | 5 ++++-
>   1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
> index 24bd76e..485867d 100644
> --- a/gcc/doc/invoke.texi
> +++ b/gcc/doc/invoke.texi
> @@ -20817,7 +20817,10 @@ These @samp{-m} options are supported on the SPARC:
>   @opindex mapp-regs
>   Specify @option{-mapp-regs} to generate output using the global registers
>   2 through 4, which the SPARC SVR4 ABI reserves for applications.  This
> -is the default.
> +is the default.  Like the global register 1 each global register 2 through 4 is
> +then treated as an allocable register that is clobbered by function calls.
> +They may be allocated for temporaries or variables that do not live across a
> +call.
>
>   To be fully SVR4 ABI-compliant at the cost of some performance loss,
>   specify @option{-mno-app-regs}.  You should compile libraries and system
>
Richard Biener March 31, 2014, 9:59 a.m. UTC | #2
On Sun, Mar 16, 2014 at 12:43 PM, Sebastian Huber
<sebastian.huber@embedded-brains.de> wrote:
> gcc/ChangeLog
> 2014-03-16  Sebastian Huber  <sebastian.huber@embedded-brains.de>
>
>         * doc/invoke.texi (mapp-regs): Clarify.

Ok.

Thanks,
Richard.

> ---
>  gcc/doc/invoke.texi | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
> index 24bd76e..485867d 100644
> --- a/gcc/doc/invoke.texi
> +++ b/gcc/doc/invoke.texi
> @@ -20817,7 +20817,10 @@ These @samp{-m} options are supported on the SPARC:
>  @opindex mapp-regs
>  Specify @option{-mapp-regs} to generate output using the global registers
>  2 through 4, which the SPARC SVR4 ABI reserves for applications.  This
> -is the default.
> +is the default.  Like the global register 1 each global register 2 through 4 is
> +then treated as an allocable register that is clobbered by function calls.
> +They may be allocated for temporaries or variables that do not live across a
> +call.
>
>  To be fully SVR4 ABI-compliant at the cost of some performance loss,
>  specify @option{-mno-app-regs}.  You should compile libraries and system
> --
> 1.8.1.4
>
Sebastian Huber March 31, 2014, 2:05 p.m. UTC | #3
On 2014-03-31 11:59, Richard Biener wrote:
> On Sun, Mar 16, 2014 at 12:43 PM, Sebastian Huber
> <sebastian.huber@embedded-brains.de>  wrote:
>> >gcc/ChangeLog
>> >2014-03-16  Sebastian Huber<sebastian.huber@embedded-brains.de>
>> >
>> >         * doc/invoke.texi (mapp-regs): Clarify.
> Ok.
>
> Thanks,
> Richard.
>

I don't have commit access, so can someone please do this for me.
Eric Botcazou April 1, 2014, 8:26 a.m. UTC | #4
> I don't have commit access, so can someone please do this for me.

Applied on all active branches.
diff mbox

Patch

diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 24bd76e..485867d 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -20817,7 +20817,10 @@  These @samp{-m} options are supported on the SPARC:
 @opindex mapp-regs
 Specify @option{-mapp-regs} to generate output using the global registers
 2 through 4, which the SPARC SVR4 ABI reserves for applications.  This
-is the default.
+is the default.  Like the global register 1 each global register 2 through 4 is
+then treated as an allocable register that is clobbered by function calls.
+They may be allocated for temporaries or variables that do not live across a
+call.
 
 To be fully SVR4 ABI-compliant at the cost of some performance loss,
 specify @option{-mno-app-regs}.  You should compile libraries and system