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.

+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.

+@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.

-Sandra

Reply via email to