Commit 161c21b6 by Bernd Schmidt Committed by Bernd Schmidt

extend.texi (Blackfin Built-in Functions): New section.

	* doc/extend.texi (Blackfin Built-in Functions): New section.
	* doc/invoke.texi (mcsync-anomaly, mno-csync-anomaly): Fix the
	@opindex.

From-SVN: r101919
parent 40c1d5f8
2005-07-12 Bernd Schmidt <bernd.schmidt@analog.com>
* doc/extend.texi (Blackfin Built-in Functions): New section.
* doc/invoke.texi (mcsync-anomaly, mno-csync-anomaly): Fix the
@opindex.
2005-07-12 Adrian Straetling <straetling@de.ibm.com> 2005-07-12 Adrian Straetling <straetling@de.ibm.com>
* builtins.c: (expand_builtin_memcmp, expand_builtin_strncmp): * builtins.c: (expand_builtin_memcmp, expand_builtin_strncmp):
......
...@@ -5766,6 +5766,7 @@ instructions, but allow the compiler to schedule those calls. ...@@ -5766,6 +5766,7 @@ instructions, but allow the compiler to schedule those calls.
@menu @menu
* Alpha Built-in Functions:: * Alpha Built-in Functions::
* ARM Built-in Functions:: * ARM Built-in Functions::
* Blackfin Built-in Functions::
* FR-V Built-in Functions:: * FR-V Built-in Functions::
* X86 Built-in Functions:: * X86 Built-in Functions::
* MIPS Paired-Single Support:: * MIPS Paired-Single Support::
...@@ -6002,6 +6003,20 @@ long long __builtin_arm_wxor (long long, long long) ...@@ -6002,6 +6003,20 @@ long long __builtin_arm_wxor (long long, long long)
long long __builtin_arm_wzero () long long __builtin_arm_wzero ()
@end smallexample @end smallexample
@node Blackfin Built-in Functions
@subsection Blackfin Built-in Functions
Currently, there are two Blackfin-specific built-in functions. These are
used for generating @code{CSYNC} and @code{SSYNC} machine insns without
using inline assembly; by using these built-in functions the compiler can
automatically add workarounds for hardware errata involving these
instructions. These functions are named as follows:
@smallexample
void __builtin_bfin_csync (void)
void __builtin_bfin_ssync (void)
@end smallexample
@node FR-V Built-in Functions @node FR-V Built-in Functions
@subsection FR-V Built-in Functions @subsection FR-V Built-in Functions
......
...@@ -7415,13 +7415,13 @@ by default. ...@@ -7415,13 +7415,13 @@ by default.
Don't generate extra code to prevent speculative loads from occurring. Don't generate extra code to prevent speculative loads from occurring.
@item -mcsync-anomaly @item -mcsync-anomaly
@opindex mspecld-anomaly @opindex mcsync-anomaly
When enabled, the compiler will ensure that the generated code does not When enabled, the compiler will ensure that the generated code does not
contain CSYNC or SSYNC instructions too soon after conditional branches. contain CSYNC or SSYNC instructions too soon after conditional branches.
This option is enabled by default. This option is enabled by default.
@item -mno-csync-anomaly @item -mno-csync-anomaly
@opindex mno-specld-anomaly @opindex mno-csync-anomaly
Don't generate extra code to prevent CSYNC or SSYNC instructions from Don't generate extra code to prevent CSYNC or SSYNC instructions from
occurring too soon after a conditional branch. occurring too soon after a conditional branch.
......
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