On 12/14/2017 10:50 PM, Sandra Loosemore wrote:
On 12/14/2017 11:48 AM, Kyrill Tkachov wrote:
[snip]
Thanks, done. I haven't created a new Target-specific developers
options table but instead listed the targets the options apply to in
parentheses.
Attached is the latest iteration.
Thank you for the review,
Kyrill
2017-12-14 Kyrylo Tkachov <kyrylo.tkac...@arm.com>
* doc/invoke.texi (GCC Developer options): Add Target-specific
developer options subsection. Populate it with AArch64 and ARM
options.
(Options Summary): List the above.
Hmmm, there are still various problems here, and now I notice that
there's already an entry for -moverride= in the AArch64 Options section.
I need to go through the docs for all targets and make sure everything
is treated uniformly, so I think it would be more efficient for me to
take this over than to continue to iterate with you to get the patch
right. I'll try to get to it this weekend.
OK, I've checked in the attached patch.
I apologize for having given you a bum steer on this previously. :-(
When I dug around in the existing documentation lists, I found a dozen
or more existing target-specific developer options already listed in the
sections for the respective targets (FRV, in particular, has a whole
pile of them documented as "for debugging the compiler"). I thought it
made more sense in terms of the highly target-specific-ness of what many
of these options do to leave them all where they are now, as well as
less work than moving them all to another section. So I similarly added
the docs for the missing ARM and AArch64 developer options to the
existing sections for those respective targets as well.
-Sandra
2017-12-17 Sandra Loosemore <san...@codesourcery.com>
Kyrylo Tkachov <kyrylo.tkac...@arm.com>
gcc/
* doc/invoke.texi (Option Summary): Add -mverbose-cost-dump
to AArch64 and ARM lists, plus missing -mflip-thumb for ARM.
(AArch64 Options): Document -mverbose-cost-dump.
(ARM Options): Likewise, plus -mflip-thumb.
Index: gcc/doc/invoke.texi
===================================================================
--- gcc/doc/invoke.texi (revision 255768)
+++ gcc/doc/invoke.texi (working copy)
@@ -598,7 +598,8 @@ Objective-C and Objective-C++ Dialects}.
-mlow-precision-recip-sqrt -mlow-precision-sqrt -mlow-precision-div @gol
-mpc-relative-literal-loads @gol
-msign-return-address=@var{scope} @gol
--march=@var{name} -mcpu=@var{name} -mtune=@var{name} -moverride=@var{string}}
+-march=@var{name} -mcpu=@var{name} -mtune=@var{name} @gol
+-moverride=@var{string} -mverbose-cost-dump}
@emph{Adapteva Epiphany Options}
@gccoptlist{-mhalf-reg-file -mprefer-short-insn-regs @gol
@@ -648,7 +649,7 @@ Objective-C and Objective-C++ Dialects}.
-mpic-register=@var{reg} @gol
-mnop-fun-dllimport @gol
-mpoke-function-name @gol
--mthumb -marm @gol
+-mthumb -marm -mflip-thumb @gol
-mtpcs-frame -mtpcs-leaf-frame @gol
-mcaller-super-interworking -mcallee-super-interworking @gol
-mtp=@var{name} -mtls-dialect=@var{dialect} @gol
@@ -659,6 +660,7 @@ Objective-C and Objective-C++ Dialects}.
-mslow-flash-data @gol
-masm-syntax-unified @gol
-mrestrict-it @gol
+-mverbose-cost-dump @gol
-mpure-code @gol
-mcmse}
@@ -14556,6 +14558,11 @@ across releases.
This option is only intended to be useful when developing GCC.
+@item -mverbose-cost-dump
+@opindex mverbose-cost-dump
+Enable verbose cost model dumping in the debug dump files. This option is
+provided for use in debugging the compiler.
+
@item -mpc-relative-literal-loads
@itemx -mno-pc-relative-literal-loads
@opindex mpc-relative-literal-loads
@@ -16237,6 +16244,12 @@ You can also override the ARM and Thumb
by using the @code{target("thumb")} and @code{target("arm")} function attributes
(@pxref{ARM Function Attributes}) or pragmas (@pxref{Function Specific Option Pragmas}).
+@item -mflip-thumb
+@opindex mflip-thumb
+Switch ARM/Thumb modes on alternating functions.
+This option is provided for regression testing of mixed Thumb/ARM code
+generation, and is not intended for ordinary use in compiling code.
+
@item -mtpcs-frame
@opindex mtpcs-frame
Generate a stack frame that is compliant with the Thumb Procedure Call
@@ -16351,6 +16364,11 @@ an option used only for regression testi
intended for ordinary use in compiling code. This option is disabled
by default.
+@item -mverbose-cost-dump
+@opindex mverbose-cost-dump
+Enable verbose cost model dumping in the debug dump files. This option is
+provided for use in debugging the compiler.
+
@item -mpure-code
@opindex mpure-code
Do not allow constant data to be placed in code sections.