diff mbox series

[rs6000] Fix -mlong-double documentation

Message ID 305b101a82110b8efe10eecce11352d878d52cbb.camel@us.ibm.com
State New
Headers show
Series [rs6000] Fix -mlong-double documentation | expand

Commit Message

Carl Love March 6, 2020, 7:01 p.m. UTC
GCC maintianers:

The following patch improves the description of the ppc64 -mlong-double 
option.

I compiled it and tested it by hand with the command:

  gcc  --target-help

Please let me know if the patch is OK for mainline.

Thanks. 

                        Carl Love
     
------------------------------------------------------

RS6000 Fix -mlong-double documentation

gcc/ChangeLog

2020-03-06  Carl Love  <cel@us.ibm.com>
	* config/rs6000/rs6000.opt: Update the description of the
	command line option.
---
 gcc/config/rs6000/rs6000.opt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Segher Boessenkool March 6, 2020, 10:16 p.m. UTC | #1
Hi!

On Fri, Mar 06, 2020 at 11:01:50AM -0800, Carl Love wrote:
> The following patch improves the description of the ppc64 -mlong-double 
> option.

Okay for trunk.  Some trivialities:

> RS6000 Fix -mlong-double documentation

rs6000: Fix [etc.]

(It's no more than just the dir name now; and the target name that it is
named after was lower case, as well).

> 2020-03-06  Carl Love  <cel@us.ibm.com>
> 	* config/rs6000/rs6000.opt: Update the description of the
> 	command line option.

There should be a blank line after the date+name+email line.

>  mlong-double-
>  Target RejectNegative Joined UInteger Var(rs6000_long_double_type_size) Save
> --mlong-double-[64,128]	Specify size of long double.
> +Use -mlong-double-64 for 64-bit IEEE floating point format. Use
> +-mlong-double-128 for 128-bit floating point format (either IEEE or IBM).

Most options (but not all) use two spaces after a dot (just like comments
and documentation do).

Thanks!


Segher
diff mbox series

Patch

diff --git a/gcc/config/rs6000/rs6000.opt b/gcc/config/rs6000/rs6000.opt
index ed3b44a04a6..8e0ae9a0b5f 100644
--- a/gcc/config/rs6000/rs6000.opt
+++ b/gcc/config/rs6000/rs6000.opt
@@ -414,7 +414,8 @@  Warn about deprecated 'vector long ...' AltiVec type usage.
 
 mlong-double-
 Target RejectNegative Joined UInteger Var(rs6000_long_double_type_size) Save
--mlong-double-[64,128]	Specify size of long double.
+Use -mlong-double-64 for 64-bit IEEE floating point format. Use
+-mlong-double-128 for 128-bit floating point format (either IEEE or IBM).
 
 ; This option existed in the past, but now is always on.
 mlra