On 14/12/17 18:48, Kyrill Tkachov wrote:
On 14/12/17 18:23, Sandra Loosemore wrote: > On 12/14/2017 10:56 AM, Kyrill Tkachov wrote: >> >> 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. > > >> diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi >> index 0d565b4..00de74c 100644 >> --- a/gcc/doc/invoke.texi >> +++ b/gcc/doc/invoke.texi >> @@ -14223,6 +14223,24 @@ Print the compiler's built-in specs---and >> don't do anything else. (This >> is used when GCC itself is being built.) @xref{Spec Files}. >> @end table >> >> +@subsection Target-specific developer options > > Throughout this patch, please capitalize the first word of the section > titles, and add @node and @cindex for each section. There are plenty > of examples in this chapter to copy the style from. > Thanks, done. >> +Some targets define additional debug options that are documented here. >> +@subsubsection AArch64 developer options >> +@table @gcctabopt >> +@item -mverbose-cost-dump >> +Enable verbose cost model dumping in the debug dump files. >> +@item -moverride= >> +Override CPU optimization parameters. > > What parameters are these? What is the syntax? This isn't enough > information to be useful. > I'm afraid I don't know. I've not used this option myself, I'm just aware of its existence. Do you think it's better to leave it out altogether and document it separately at a later date (or ping its author to document it perhaps)? >> +@end table >> + >> +@subsubsection ARM developer options >> +@table @gcctabopt >> +@item -mverbose-cost-dump >> +Enable verbose cost model dumping in the debug dump files. >> +@item -mflip-thumb >> +Switch ARM/Thumb modes on alternating functions. >> +@end table >> + >> @node Submodel Options >> @section Machine-Dependent Options >> @cindex submodel options > > Please also list the new options in the "Option Summary" section. Note > that the list for developer options is currently mostly alphabetized. > 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.
Actually trying to build the tree normally, not through make pdf I get errors such as: " Node `Target-specific Developer Options' requires a sectioning command (e.g., @unnumberedsubsec)."
that I don't know how to fix yet. So I'll work on getting that fixed first... Sorry for the noise, Kyrill
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.