Commit dc703d70 by Sandra Loosemore Committed by Sandra Loosemore

extend.texi: Tweak formatting to fix overfull hbox warnings.

2017-01-10  Sandra Loosemore  <sandra@codesourcery.com>

	gcc/
	* doc/extend.texi: Tweak formatting to fix overfull hbox warnings.
	* doc/invoke.texi: Likewise.
	* doc/md.texi: Likewise.
	* doc/objc.texi: Likewise.

From-SVN: r244286
parent e363df3f
2017-01-10 Sandra Loosemore <sandra@codesourcery.com>
* doc/extend.texi: Tweak formatting to fix overfull hbox warnings.
* doc/invoke.texi: Likewise.
* doc/md.texi: Likewise.
* doc/objc.texi: Likewise.
2017-01-10 Joshua Conner <joshconner@google.com> 2017-01-10 Joshua Conner <joshconner@google.com>
* config/arm/fuchsia-elf.h: New file. * config/arm/fuchsia-elf.h: New file.
......
...@@ -5943,10 +5943,10 @@ at all. Just use an appropriate linker description file like outlined below. ...@@ -5943,10 +5943,10 @@ at all. Just use an appropriate linker description file like outlined below.
@{ ... @{ ...
@} > text @} > text
/* Leave .rodata in flash and add an offset of 0x4000 to all /* Leave .rodata in flash and add an offset of 0x4000 to all
addresses so that respective objects can be accessed by LD addresses so that respective objects can be accessed by
instructions and open coded C/C++. This means there is no LD instructions and open coded C/C++. This means there
need for progmem in the source and no overhead by read-only is no need for progmem in the source and no overhead by
data in RAM. */ read-only data in RAM. */
.rodata ADDR(.text) + SIZEOF (.text) + 0x4000 : .rodata ADDR(.text) + SIZEOF (.text) + 0x4000 :
@{ @{
*(.rodata) *(.rodata)
...@@ -8687,8 +8687,8 @@ top: ...@@ -8687,8 +8687,8 @@ top:
With no modifiers, this is what the output from the operands would be for the With no modifiers, this is what the output from the operands would be for the
@samp{att} and @samp{intel} dialects of assembler: @samp{att} and @samp{intel} dialects of assembler:
@multitable {Operand} {masm=att} {OFFSET FLAT:.L2} @multitable {Operand} {$.L2} {OFFSET FLAT:.L2}
@headitem Operand @tab masm=att @tab masm=intel @headitem Operand @tab @samp{att} @tab @samp{intel}
@item @code{%0} @item @code{%0}
@tab @code{%eax} @tab @code{%eax}
@tab @code{eax} @tab @code{eax}
...@@ -8702,8 +8702,8 @@ With no modifiers, this is what the output from the operands would be for the ...@@ -8702,8 +8702,8 @@ With no modifiers, this is what the output from the operands would be for the
The table below shows the list of supported modifiers and their effects. The table below shows the list of supported modifiers and their effects.
@multitable {Modifier} {Print the opcode suffix for the size of th} {Operand} {masm=att} {masm=intel} @multitable {Modifier} {Print the opcode suffix for the size of th} {Operand} {@samp{att}} {@samp{intel}}
@headitem Modifier @tab Description @tab Operand @tab @option{masm=att} @tab @option{masm=intel} @headitem Modifier @tab Description @tab Operand @tab @samp{att} @tab @samp{intel}
@item @code{z} @item @code{z}
@tab Print the opcode suffix for the size of the current integer operand (one of @code{b}/@code{w}/@code{l}/@code{q}). @tab Print the opcode suffix for the size of the current integer operand (one of @code{b}/@code{w}/@code{l}/@code{q}).
@tab @code{%z0} @tab @code{%z0}
...@@ -12727,7 +12727,9 @@ points to. Counting starts at @code{0}. ...@@ -12727,7 +12727,9 @@ points to. Counting starts at @code{0}.
If the address does not point to flash memory, return @code{-1}. If the address does not point to flash memory, return @code{-1}.
@smallexample @smallexample
unsigned char __builtin_avr_insert_bits (unsigned long map, unsigned char bits, unsigned char val) unsigned char __builtin_avr_insert_bits (unsigned long map,
unsigned char bits,
unsigned char val)
@end smallexample @end smallexample
@noindent @noindent
...@@ -18128,13 +18130,16 @@ __vector long long int ...@@ -18128,13 +18130,16 @@ __vector long long int
vec_extract_sig (__vector double source); vec_extract_sig (__vector double source);
__vector float __vector float
vec_insert_exp (__vector unsigned int significands, __vector unsigned int exponents); vec_insert_exp (__vector unsigned int significands,
__vector unsigned int exponents);
__vector double __vector double
vec_insert_exp (__vector unsigned long long int significands, vec_insert_exp (__vector unsigned long long int significands,
__vector unsigned long long int exponents); __vector unsigned long long int exponents);
__vector int vec_test_data_class (__vector float source, unsigned int condition); __vector int vec_test_data_class (__vector float source,
__vector long long int vec_test_data_class (__vector double source, unsigned int condition); unsigned int condition);
__vector long long int vec_test_data_class (__vector double source,
unsigned int condition);
@end smallexample @end smallexample
The @code{vec_extract_sig} and @code{vec_extract_exp} built-in The @code{vec_extract_sig} and @code{vec_extract_exp} built-in
...@@ -18229,9 +18234,9 @@ vector unsigned int __builtin_crypto_vshasigmaw (vector unsigned int, ...@@ -18229,9 +18234,9 @@ vector unsigned int __builtin_crypto_vshasigmaw (vector unsigned int,
int, int); int, int);
@end smallexample @end smallexample
The second argument to the @var{__builtin_crypto_vshasigmad} and The second argument to @var{__builtin_crypto_vshasigmad} and
@var{__builtin_crypto_vshasigmaw} builtin functions must be a constant @var{__builtin_crypto_vshasigmaw} must be a constant
integer that is 0 or 1. The third argument to these builtin functions integer that is 0 or 1. The third argument to these built-in functions
must be a constant integer in the range of 0 to 15. must be a constant integer in the range of 0 to 15.
If the ISA 3.0 instruction set additions If the ISA 3.0 instruction set additions
...@@ -20454,8 +20459,10 @@ void __builtin_ia32_xsaveopt64 (void *, long long) ...@@ -20454,8 +20459,10 @@ void __builtin_ia32_xsaveopt64 (void *, long long)
The following built-in functions are available when @option{-mtbm} is used. The following built-in functions are available when @option{-mtbm} is used.
Both of them generate the immediate form of the bextr machine instruction. Both of them generate the immediate form of the bextr machine instruction.
@smallexample @smallexample
unsigned int __builtin_ia32_bextri_u32 (unsigned int, const unsigned int); unsigned int __builtin_ia32_bextri_u32 (unsigned int,
unsigned long long __builtin_ia32_bextri_u64 (unsigned long long, const unsigned long long); const unsigned int);
unsigned long long __builtin_ia32_bextri_u64 (unsigned long long,
const unsigned long long);
@end smallexample @end smallexample
......
...@@ -3420,8 +3420,8 @@ for 88-color and 256-color modes background colors. ...@@ -3420,8 +3420,8 @@ for 88-color and 256-color modes background colors.
The default @env{GCC_COLORS} is The default @env{GCC_COLORS} is
@smallexample @smallexample
error=01;31:warning=01;35:note=01;36:range1=32:range2=34:locus=01:quote=01:\ error=01;31:warning=01;35:note=01;36:range1=32:range2=34:locus=01:\
fixit-insert=32:fixit-delete=31:\ quote=01:fixit-insert=32:fixit-delete=31:\
diff-filename=01:diff-hunk=32:diff-delete=31:diff-insert=32 diff-filename=01:diff-hunk=32:diff-delete=31:diff-insert=32
@end smallexample @end smallexample
@noindent @noindent
...@@ -3740,7 +3740,7 @@ Options} and @ref{Objective-C and Objective-C++ Dialect Options}. ...@@ -3740,7 +3740,7 @@ Options} and @ref{Objective-C and Objective-C++ Dialect Options}.
-Wimplicit-int @r{(C and Objective-C only)} @gol -Wimplicit-int @r{(C and Objective-C only)} @gol
-Wimplicit-function-declaration @r{(C and Objective-C only)} @gol -Wimplicit-function-declaration @r{(C and Objective-C only)} @gol
-Winit-self @r{(only for C++)} @gol -Winit-self @r{(only for C++)} @gol
-Wlogical-not-parentheses -Wlogical-not-parentheses @gol
-Wmain @r{(only for C/ObjC and unless} @option{-ffreestanding}@r{)} @gol -Wmain @r{(only for C/ObjC and unless} @option{-ffreestanding}@r{)} @gol
-Wmaybe-uninitialized @gol -Wmaybe-uninitialized @gol
-Wmemset-elt-size @gol -Wmemset-elt-size @gol
...@@ -10917,14 +10917,11 @@ ThreadSanitizer and UndefinedBehaviorSanitizer, while default value for ...@@ -10917,14 +10917,11 @@ ThreadSanitizer and UndefinedBehaviorSanitizer, while default value for
AddressSanitizer is @code{halt_on_error=1}. This can be overridden through AddressSanitizer is @code{halt_on_error=1}. This can be overridden through
setting the @code{halt_on_error} flag in the corresponding environment variable. setting the @code{halt_on_error} flag in the corresponding environment variable.
Syntax without explicit @var{opts} parameter is deprecated. It is equivalent to Syntax without an explicit @var{opts} parameter is deprecated. It is
@smallexample equivalent to specifying an @var{opts} list of:
-fsanitize-recover=undefined,float-cast-overflow,float-divide-by-zero,bounds-strict
@end smallexample
@noindent
Similarly @option{-fno-sanitize-recover} is equivalent to
@smallexample @smallexample
-fno-sanitize-recover=undefined,float-cast-overflow,float-divide-by-zero,bounds-strict undefined,float-cast-overflow,float-divide-by-zero,bounds-strict
@end smallexample @end smallexample
@item -fsanitize-address-use-after-scope @item -fsanitize-address-use-after-scope
......
...@@ -2997,7 +2997,7 @@ Floating point register (containing 32-bit value) ...@@ -2997,7 +2997,7 @@ Floating point register (containing 32-bit value)
Altivec vector register Altivec vector register
@item wa @item wa
Any VSX register if the -mvsx option was used or NO_REGS. Any VSX register if the @option{-mvsx} option was used or NO_REGS.
When using any of the register constraints (@code{wa}, @code{wd}, When using any of the register constraints (@code{wa}, @code{wd},
@code{wf}, @code{wg}, @code{wh}, @code{wi}, @code{wj}, @code{wk}, @code{wf}, @code{wg}, @code{wh}, @code{wi}, @code{wj}, @code{wk},
...@@ -3010,31 +3010,43 @@ is an operand of a VSX instruction that expects VSX register ...@@ -3010,31 +3010,43 @@ is an operand of a VSX instruction that expects VSX register
numbering. numbering.
@smallexample @smallexample
asm ("xvadddp %x0,%x1,%x2" : "=wa" (v1) : "wa" (v2), "wa" (v3)); asm ("xvadddp %x0,%x1,%x2"
: "=wa" (v1)
: "wa" (v2), "wa" (v3));
@end smallexample @end smallexample
@noindent
is correct, but: is correct, but:
@smallexample @smallexample
asm ("xvadddp %0,%1,%2" : "=wa" (v1) : "wa" (v2), "wa" (v3)); asm ("xvadddp %0,%1,%2"
: "=wa" (v1)
: "wa" (v2), "wa" (v3));
@end smallexample @end smallexample
@noindent
is not correct. is not correct.
If an instruction only takes Altivec registers, you do not want to use If an instruction only takes Altivec registers, you do not want to use
@code{%x<n>}. @code{%x<n>}.
@smallexample @smallexample
asm ("xsaddqp %0,%1,%2" : "=v" (v1) : "v" (v2), "v" (v3)); asm ("xsaddqp %0,%1,%2"
: "=v" (v1)
: "v" (v2), "v" (v3));
@end smallexample @end smallexample
@noindent
is correct because the @code{xsaddqp} instruction only takes Altivec is correct because the @code{xsaddqp} instruction only takes Altivec
registers, while: registers, while:
@smallexample @smallexample
asm ("xsaddqp %x0,%x1,%x2" : "=v" (v1) : "v" (v2), "v" (v3)); asm ("xsaddqp %x0,%x1,%x2"
: "=v" (v1)
: "v" (v2), "v" (v3));
@end smallexample @end smallexample
@noindent
is incorrect. is incorrect.
@item wb @item wb
......
...@@ -381,7 +381,7 @@ compiler on an i386 machine: ...@@ -381,7 +381,7 @@ compiler on an i386 machine:
@sp 1 @sp 1
@multitable @columnfractions .25 .75 @multitable @columnfractions .60 .40
@item Objective-C type @item Objective-C type
@tab Compiler encoding @tab Compiler encoding
@item @item
...@@ -404,7 +404,7 @@ struct @{ ...@@ -404,7 +404,7 @@ struct @{
@smallexample @smallexample
int a __attribute__ ((vector_size (16))); int a __attribute__ ((vector_size (16)));
@end smallexample @end smallexample
@tab @code{![16,16i]} (alignment would depend on the machine) @tab @code{![16,16i]} (alignment depends on the machine)
@end multitable @end multitable
@sp 1 @sp 1
......
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