Skip to content

Commit c9d0953

Browse files
committed
Add subsections for vectorization and OpenMP/OpenACC target hooks
Currently they are grouped under Addressing Modes which is quite misleading. gcc/ * doc/tm.texi.in: Add Vectorization and OpenMP and OpenACC sub-sections to the list of target macros and functions. * doc/tm.texi: Re-generate.
1 parent 8ee6420 commit c9d0953

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

gcc/doc/tm.texi

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ through the macros defined in the @file{.h} file.
3737
* Trampolines:: Code set up at run time to enter a nested function.
3838
* Library Calls:: Controlling how library routines are implicitly called.
3939
* Addressing Modes:: Defining addressing modes valid for memory operands.
40+
* Vectorization:: Controlling how the vectorizer operates.
41+
* OpenMP and OpenACC:: Defining how OpenMP and OpenACC features should work.
4042
* Anchored Addresses:: Defining how @option{-fsection-anchors} should work.
4143
* Condition Code:: Defining how insns update the condition code.
4244
* Costs:: Defining relative costs of different operations.
@@ -6282,6 +6284,10 @@ reciprocal of the machine-specific builtin function @var{fndecl}, or
62826284
@code{NULL_TREE} if such a function is not available.
62836285
@end deftypefn
62846286

6287+
@node Vectorization
6288+
@section Vectorization
6289+
@cindex Vectorization
6290+
62856291
@deftypefn {Target Hook} tree TARGET_VECTORIZE_BUILTIN_MASK_FOR_LOAD (void)
62866292
This hook should return the DECL of a function @var{f} that given an
62876293
address @var{addr} as an argument returns a mask @var{m} that can be
@@ -6522,6 +6528,10 @@ number of scalar elements in each scalar loop iteration that are to be
65226528
combined into the vector.
65236529
@end deftypefn
65246530

6531+
@node OpenMP and OpenACC
6532+
@section OpenMP and OpenACC
6533+
@cindex OpenMP and OpenACC
6534+
65256535
@deftypefn {Target Hook} int TARGET_SIMD_CLONE_COMPUTE_VECSIZE_AND_SIMDLEN (struct cgraph_node *@var{}, struct cgraph_simd_clone *@var{}, @var{tree}, @var{int}, @var{bool})
65266536
This hook should set @var{vecsize_mangle}, @var{vecsize_int}, @var{vecsize_float}
65276537
fields in @var{simd_clone} structure pointed by @var{clone_info} argument and also

gcc/doc/tm.texi.in

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ through the macros defined in the @file{.h} file.
3737
* Trampolines:: Code set up at run time to enter a nested function.
3838
* Library Calls:: Controlling how library routines are implicitly called.
3939
* Addressing Modes:: Defining addressing modes valid for memory operands.
40+
* Vectorization:: Controlling how the vectorizer operates.
41+
* OpenMP and OpenACC:: Defining how OpenMP and OpenACC features should work.
4042
* Anchored Addresses:: Defining how @option{-fsection-anchors} should work.
4143
* Condition Code:: Defining how insns update the condition code.
4244
* Costs:: Defining relative costs of different operations.
@@ -4273,6 +4275,10 @@ address; but often a machine-dependent strategy can generate better code.
42734275

42744276
@hook TARGET_BUILTIN_RECIPROCAL
42754277

4278+
@node Vectorization
4279+
@section Vectorization
4280+
@cindex Vectorization
4281+
42764282
@hook TARGET_VECTORIZE_BUILTIN_MASK_FOR_LOAD
42774283

42784284
@hook TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST
@@ -4313,6 +4319,10 @@ address; but often a machine-dependent strategy can generate better code.
43134319

43144320
@hook TARGET_VECTORIZE_PREFER_GATHER_SCATTER
43154321

4322+
@node OpenMP and OpenACC
4323+
@section OpenMP and OpenACC
4324+
@cindex OpenMP and OpenACC
4325+
43164326
@hook TARGET_SIMD_CLONE_COMPUTE_VECSIZE_AND_SIMDLEN
43174327

43184328
@hook TARGET_SIMD_CLONE_ADJUST

0 commit comments

Comments
 (0)