Bug 85321 - Missing documentation and option misc for ppc64le
Summary: Missing documentation and option misc for ppc64le
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 8.0.1
: P3 normal
Target Milestone: ---
Assignee: Segher Boessenkool
URL:
Keywords: documentation
Depends on:
Blocks:
 
Reported: 2018-04-10 12:23 UTC by Martin Liška
Modified: 2018-04-11 15:47 UTC (History)
1 user (show)

See Also:
Host:
Target: powerpc*-*-*
Build:
Known to work:
Known to fail:
Last reconfirmed: 2018-04-10 00:00:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Liška 2018-04-10 12:23:11 UTC
I've noticed following:

-mblock-compare-inline-limit - option not documented in manual
-mblock-compare-inline-loop-limit - likewise
-mcall-* - possible values are not listed in --help=target
-mfpu= - likewise
-mlong-double-<n> - likewise
-msdata= - likewise
-mstring-compare-inline-limit - not documented
-mtls-size= - possible values are not listed in --help=target
-mtraceback= - likewise + documentation entry is missing
Comment 1 Segher Boessenkool 2018-04-10 14:39:05 UTC
(In reply to Martin Liška from comment #0)
> -mblock-compare-inline-limit - option not documented in manual
> -mblock-compare-inline-loop-limit - likewise
> -mstring-compare-inline-limit - not documented

Aaron is looking into this.

> -mcall-* - possible values are not listed in --help=target

Those are only handled in specs, and different per sub-target.

> -mfpu= - likewise

This will be removed in GCC 9.

> -mlong-double-<n> - likewise

  -mlong-double-<n>           Specify size of long double (64 or 128 bits).

Is there something nicer we can do here?

> -msdata= - likewise

Ack.

> -mtls-size= - possible values are not listed in --help=target

Ack.

> -mtraceback= - likewise + documentation entry is missing

  -mtraceback=                Select full, part, or no traceback table.

Suggestions for rephrasing?  Ack for doc.
Comment 2 Segher Boessenkool 2018-04-10 18:54:40 UTC
Author: segher
Date: Tue Apr 10 18:54:08 2018
New Revision: 259296

URL: https://gcc.gnu.org/viewcvs?rev=259296&root=gcc&view=rev
Log:
rs6000: Improve --help=target (PR85321)

This updates the help text for some options to mention the allowed
values for -mXX=XX.


	PR target/85321
	* config/rs6000/rs6000.opt (mtraceback=): Show the allowed values in
	the help text.
	(mlong-double-): Ditto.
	* config/rs6000/sysv4.opt (msdata=): Ditto.
	(mtls-size=): Ditto.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/rs6000/rs6000.opt
    trunk/gcc/config/rs6000/sysv4.opt
Comment 3 Segher Boessenkool 2018-04-10 21:14:56 UTC
So this leaves:

-mblock-compare-inline-limit - option not documented in manual
-mblock-compare-inline-loop-limit - likewise
-mcall-* - possible values are not listed in --help=target
-mstring-compare-inline-limit - not documented
-mtraceback= - documentation entry is missing
Comment 4 acsawdey 2018-04-10 22:06:13 UTC
Author: acsawdey
Date: Tue Apr 10 22:05:41 2018
New Revision: 259302

URL: https://gcc.gnu.org/viewcvs?rev=259302&root=gcc&view=rev
Log:
2018-04-10  Aaron Sawdey  <acsawdey@linux.ibm.com>

	PR target/85321
	* doc/invoke.texi (RS/6000 and PowerPC Options): Document options
	-mblock-compare-inline-limit, -mblock-compare-inline-loop-limit,
	and -mstring-compare-inline-limit.



Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/doc/invoke.texi
Comment 5 acsawdey 2018-04-11 15:26:14 UTC
Author: acsawdey
Date: Wed Apr 11 15:25:42 2018
New Revision: 259324

URL: https://gcc.gnu.org/viewcvs?rev=259324&root=gcc&view=rev
Log:
2018-04-11  Aaron Sawdey  <acsawdey@linux.ibm.com>

	PR target/85321
	* doc/invoke.texi (RS/6000 and PowerPC Options): Document options
	-mcall- and -mtraceback=. Remove options -mabi=spe and -mabi=no-spe
	from PowerPC section.
	* config/rs6000/sysv4.opt (mcall-): Improve help text.
	* config/rs6000/rs6000.opt (mblock-compare-inline-limit=): Trim
	help text that is too long.
	* config/rs6000/rs6000.opt (mblock-compare-inline-loop-limit=): Trim
	help text that is too long.
	* config/rs6000/rs6000.opt (mstring-compare-inline-limit=): Trim
	help text that is too long.



Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/rs6000/rs6000.opt
    trunk/gcc/config/rs6000/sysv4.opt
    trunk/gcc/doc/invoke.texi
Comment 6 acsawdey 2018-04-11 15:47:28 UTC
All fixed in 259324.