Commit 6d4312dd by Doug Evans

Add docs for sparc -malign-{jumps,loops,functions}.

Fix typo in i386 -malign-functions docs.
Brought over from FSF.

From-SVN: r15714
parent c5cec899
...@@ -211,6 +211,8 @@ in the following sections. ...@@ -211,6 +211,8 @@ in the following sections.
@emph{SPARC Options} @emph{SPARC Options}
-mcpu=@var{cpu type} -mcpu=@var{cpu type}
-mtune=@var{cpu type} -mtune=@var{cpu type}
-malign-jumps=@var{num} -malign-loops=@var{num}
-malign-functions=@var{num}
-mapp-regs -mbroken-saverestore -mcypress -mepilogue -mapp-regs -mbroken-saverestore -mcypress -mepilogue
-mflat -mfpu -mfullany -mhard-float -mhard-quad-float -mflat -mfpu -mfullany -mhard-float -mhard-quad-float
-mimpure-text -mint32 -mint64 -mlive-g0 -mimpure-text -mint32 -mint64 -mlive-g0
...@@ -3053,6 +3055,19 @@ Set the instruction scheduling parameters for machine type ...@@ -3053,6 +3055,19 @@ Set the instruction scheduling parameters for machine type
@samp{-mcpu=}@var{cpu_type} would. The same values for @samp{-mcpu=}@var{cpu_type} would. The same values for
@samp{-mcpu=}@var{cpu_type} are used for @samp{-tune=}@var{cpu_type}. @samp{-mcpu=}@var{cpu_type} are used for @samp{-tune=}@var{cpu_type}.
@item -malign-loops=@var{num}
Align loops to a 2 raised to a @var{num} byte boundary. If
@samp{-malign-loops} is not specified, the default is 2.
@item -malign-jumps=@var{num}
Align instructions that are only jumped to to a 2 raised to a @var{num}
byte boundary. If @samp{-malign-jumps} is not specified, the default is 2.
@item -malign-functions=@var{num}
Align the start of functions to a 2 raised to @var{num} byte boundary.
If @samp{-malign-functions} is not specified, the default is 2 if compiling
for 32 bit sparc, and 5 if compiling for 64 bit sparc.
@end table @end table
These @samp{-m} switches are supported in addition to the above These @samp{-m} switches are supported in addition to the above
...@@ -4484,7 +4499,7 @@ byte boundary. If @samp{-malign-jumps} is not specified, the default is ...@@ -4484,7 +4499,7 @@ byte boundary. If @samp{-malign-jumps} is not specified, the default is
@item -malign-functions=@var{num} @item -malign-functions=@var{num}
Align the start of functions to a 2 raised to @var{num} byte boundary. Align the start of functions to a 2 raised to @var{num} byte boundary.
If @samp{-malign-jumps} is not specified, the default is 2 if optimizing If @samp{-malign-functions} is not specified, the default is 2 if optimizing
for a 386, and 4 if optimizing for a 486. for a 386, and 4 if optimizing for a 486.
@end table @end table
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment