Skip to content

Aldyh/cilk in gomp #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 79 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
1ccc44f
Branch for OpenMP 4.0 support development.
Mar 20, 2013
1cbedd4
* c-parser.c (c_parser_omp_atomic): Adjust comment.
Mar 20, 2013
3c9e69d
* c-parser.c (c_parser_expr_no_commas): Add omp_atomic_lhs argument
Mar 20, 2013
cf12b7f
2013-03-20 Tobias Burnus <burnus@net-b.de>
Mar 20, 2013
7bbcc3b
2013-03-20 Tobias Burnus <burnus@net-b.de>
Mar 20, 2013
db14f32
* gimple-pretty-print.c (dump_gimple_omp_for): Handle different
Mar 27, 2013
5c84774
* semantics.c (finish_omp_for): Disallow class iterators for
Apr 5, 2013
c7c269b
* libgomp.map (omp_get_cancellation, omp_get_cancellation_,
Apr 10, 2013
24296ed
* builtin-types.def (DEF_FUNCTION_TYPE_8): Document.
Apr 10, 2013
025c555
* tree.h (OMP_CLAUSE_LINEAR_NO_COPYIN,
Apr 19, 2013
b2270ce
Rewrite Cilk Plus <#pragma simd> parsing and rewrite to use gomp4's
aldyh Apr 22, 2013
6394930
* Makefile.in (omp-low.o): Depend on $(TARGET_H).
Apr 23, 2013
64bb070
Merge remote-tracking branch 'origin/gomp-4_0-branch' into cilk-in-gomp
aldyh Apr 24, 2013
0b8a12b
c/
Apr 24, 2013
f80ffc7
Verify the integrity of the _Cilk_for body.
aldyh Apr 24, 2013
061de24
Fix typo in last commit.
aldyh Apr 24, 2013
1176fa6
Disallow a condition of != in _Cilk_for.
aldyh Apr 25, 2013
c311b69
Generate an OMP safelen clause when a Cilk Plus vectorlength clause is
aldyh Apr 26, 2013
d56c70f
Implement the parsing bits for the vectorlengthfor clause.
aldyh Apr 26, 2013
50ee630
Remove vectorlengthfor clause which has been deprecated.
aldyh Apr 29, 2013
1cfb1fb
Implement c_finish_cilk_clauses to verify <#pragma simd> clauses.
aldyh Apr 29, 2013
8775598
* omp-low.c (check_omp_nesting_restrictions): Diagnose
Apr 30, 2013
740af71
* c-pragma.c (omp_pragmas): Add PRAGMA_OMP_DISTRIBUTE.
Apr 30, 2013
d22e246
* gimple-pretty-print.c (dump_gimple_omp_atomic_load,
Apr 30, 2013
20b6dfe
Merge remote-tracking branch 'origin/gomp-4_0-branch' into cilk-in-gomp
aldyh May 1, 2013
5ac236d
Allow "!=" in for Cilk for conditionals.
aldyh May 3, 2013
7d2ab09
* tree.c (omp_declare_simd_clauses_equal): New function.
May 9, 2013
ec8f0b4
Fixed a uninit. variable error in c-typeck.c
May 10, 2013
908efe6
* c-tree.h (c_finish_omp_declare_simd): New prototype.
May 13, 2013
85fe34d
svn merge -r196807:198832 svn+ssh://gcc.gnu.org/svn/gcc/trunk
May 13, 2013
41a99b0
Add fixme and get rid of gratuitous line space change.
aldyh May 13, 2013
c8a6e22
Merge remote-tracking branch 'origin/aldyh/cilk-in-gomp' into cilk-in…
aldyh May 14, 2013
9dce131
Merge remote-tracking branch 'origin/gomp-4_0-branch' into cilk-in-gomp
aldyh May 14, 2013
7c1ba6b
Add changelog entries.
aldyh May 14, 2013
415e311
* cfgloop.h (struct loop): Add safelen and force_vect fields.
May 14, 2013
4a94d38
Merge remote-tracking branch 'origin/gomp-4_0-branch' into cilk-in-gomp
aldyh May 17, 2013
7a26715
Revert:
aldyh May 17, 2013
1cc2a31
Fix gomp-4_0-branch merge buglets.
aldyh May 17, 2013
efc2812
svn merge -r198832:199097 svn+ssh://gcc.gnu.org/svn/gcc/trunk
May 20, 2013
8604b5d
* omp-low.c (expand_omp_simd): For collapse > 1 loops,
May 20, 2013
25ec3ed
Moved 2 declarations from c-tree to c-common.h.
May 21, 2013
df8a60d
* tree.def (OMP_TEAMS, OMP_TARGET_DATA, OMP_TARGET,
May 27, 2013
4efd413
Merge remote-tracking branch 'origin/gomp-4_0-branch' into cilk-in-gomp
aldyh May 29, 2013
add07b9
* omp-low.c (check_omp_nesting_restrictions): Add some
May 29, 2013
2b06f9e
* omp-builtins.def (BUILT_IN_OMP_GET_TEAM_NUM,
May 29, 2013
c3c41b3
Merge remote-tracking branch 'origin/gomp-4_0-branch' into cilk-in-gomp
aldyh Jun 3, 2013
d8c7ef0
Move Cilk Plus pragma simd tests to a shared directory with C++.
aldyh Jun 3, 2013
11d1a18
* gimplify.c (gimplify_scan_omp_clauses): Handle array
Jun 4, 2013
0496be3
Initial implementation of <#pragma simd> for the C++ front-end.
aldyh Jun 5, 2013
de33368
Cosmetic fixes to C++ <#pragma simd>.
aldyh Jun 5, 2013
77bc497
Merge remote-tracking branch 'origin/gomp-4_0-branch' into cilk-in-gomp
aldyh Jun 5, 2013
79f8e62
Merge remote-tracking branch 'origin/aldyh/cilk-in-gomp' into cilk-in…
aldyh Jun 5, 2013
51d8e99
Clean up C++ implementation of pragma simd to use shared C/C++ type
aldyh Jun 7, 2013
9f19698
Do not wrap pragma simd for loop condition in a CLEANUP_POINT_EXPR.
aldyh Jun 10, 2013
ff99e44
Allow alternate error message for return out of a pragma simd for loop.
aldyh Jun 10, 2013
3349635
Error correctly in the C++ FE for invalid storage classes specified in
aldyh Jun 10, 2013
d3481c1
Handle NE_EXPR in extract_omp_for_data, but only when -fcilkplus is u…
aldyh Jun 11, 2013
7c10862
Add new Cilk Plus pragma simd execution tests.
aldyh Jun 11, 2013
a1d8cc8
* omp_lib.f90.in (omp_get_dynamic, omp_get_nested,
Jun 12, 2013
4bfdbc6
* fortran.c (omp_is_initial_device): Add ialias_redirect.
Jun 12, 2013
5b912f6
* gimplify.c (gimplify_scan_omp_clauses): Handle
Jun 12, 2013
1a0f2f5
* semantics.c (finish_omp_clause): Don't mark references addressable.
Jun 12, 2013
0412bf9
Merge remote-tracking branch 'origin/gomp-4_0-branch' into cilk-in-gomp
aldyh Jun 14, 2013
55558fb
New reduction tests for Cilk Plus pragma simd.
aldyh Jun 14, 2013
7290ab4
Remove some unneeded FIXMEs.
aldyh Jun 14, 2013
8616138
* decl2.c (cp_omp_mappable_type): No longer static. Handle array
Jun 14, 2013
7862439
* gimple-pretty-print.c (dump_gimple_omp_for): Don't handle
Jun 14, 2013
ca72284
Merge remote-tracking branch 'origin/gomp-4_0-branch' into cilk-in-gomp
aldyh Jun 14, 2013
849a88a
Remove OMP_FOR_SIMD to fix gomp-4_0-branch merge fallout.
aldyh Jun 14, 2013
0d0061a
Implement a new CILK_SIMD tree code and gimplify it into GIMPLE_OMP_F…
aldyh Jun 21, 2013
fa9048f
gcc/
Jun 21, 2013
0e01eae
CILK_SIMD tree code followup and cleanups.
aldyh Jun 21, 2013
eed3dea
Do not set flag_openmp for Cilk Plus. Instead, check flag_enable_cilk
aldyh Jun 21, 2013
1edc163
svn merge -r199097:200419 svn+ssh://gcc.gnu.org/svn/gcc/trunk
Jun 26, 2013
db21270
Handle CILK_SIMD tree code in C++.
aldyh Jun 26, 2013
f29638c
svn merge -r200419:200532 svn+ssh://gcc.gnu.org/svn/gcc/trunk
Jun 28, 2013
2814409
* internal-fn.def (GOMP_SIMD_LANE, GOMP_SIMD_VF,
Jun 28, 2013
7fb7575
Merge remote-tracking branch 'origin/gomp-4_0-branch' into cilk-in-gomp
aldyh Jun 28, 2013
5ca05cc
Fix merge fallout.
aldyh Jun 28, 2013
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions gcc/ChangeLog.cilkplus
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
2013-06-20 Aldy Hernandez <aldyh@redhat.com>
Balaji V. Iyer <balaji.v.iyer@intel.com>

* Makefile.in (C_COMMON_OBJS): Depend on c-family/c-cilkplus.o.
(c-cilkplus.o): New dependency.
* omp-low.c (extract_omp_for_data): Add case for NE_EXPR.
(build_outer_var_ref): Check for GF_OMP_FOR_KIND_SIMD bitwise.
(check_omp_nesting_restrictions): Same.
(lower_rec_input_clauses): Same.
(expand_omp_for): Same.
(lower_omp_for): Same.
(diagnose_sb_0): Adjust for Cilk Plus for loops.
(gate_expand_omp): Check for Cilk Plus.
(execute_lower_omp): Same.
(gate_diagnose_omp_blocks): Same.
* tree.def (CILK_SIMD): New entry.
* tree-pretty-print.c (dump_generic_node): Add case for CILK_SIMD.
* gimple-pretty-print.c (dump_gimple_omp_for): Add case for
GF_OMP_FOR_KIND_CILKSIMD.
* gimplify.c (gimplify_omp_for): Add case for CILK_SIMD.
(gimplify_expr): Same.
(is_gimple_stmt): Same.

c-family/
* c-cilkplus.c: New.
* c-pragma.c (init_pragma): Register "simd" pragma.
* c-pragma.h (enum pragma_kind): Add PRAGMA_CILK_SIMD enum.
(enum pragma_cilk_clause): New.
* c.opt (fcilkplus): New flag.
* c-common.h (c_finish_cilk_simd_loop): Protoize.
(c_finish_cilk_clauses): Same.

c/
* c-parser.c (c_parser_pragma): Add case for PRAGMA_CILK_SIMD.
(c_parser_cilk_verify_simd): New.
(c_parser_cilk_clause_vectorlength): New.
(c_parser_cilk_clause_linear): New.
(c_parser_cilk_clause_name): New.
(c_parser_cilk_all_clauses): New.
(c_parser_cilk_for_statement): New.
(c_parser_cilk_simd_construct): New.
* c-typeck.c (c_finish_bc_stmt): Add case for _Cilk_for loops.

testsuite/
* gcc.dg/cilk-plus: New directory and associated infrastructure.
449 changes: 449 additions & 0 deletions gcc/ChangeLog.gomp

Large diffs are not rendered by default.

11 changes: 7 additions & 4 deletions gcc/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -1150,7 +1150,7 @@ C_COMMON_OBJS = c-family/c-common.o c-family/c-cppbuiltin.o c-family/c-dump.o \
c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o \
c-family/c-ppoutput.o c-family/c-pragma.o c-family/c-pretty-print.o \
c-family/c-semantics.o c-family/c-ada-spec.o tree-mudflap.o \
c-family/array-notation-common.o
c-family/array-notation-common.o c-family/c-cilkplus.o

# Language-independent object files.
# We put the insn-*.o files first so that a parallel make will build
Expand Down Expand Up @@ -1977,7 +1977,10 @@ c-family/c-lex.o : c-family/c-lex.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
$(CPPLIB_H) $(TARGET_H) $(TIMEVAR_H)

c-family/c-omp.o : c-family/c-omp.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
$(TREE_H) $(C_COMMON_H) $(GIMPLE_H) langhooks.h
$(TREE_H) $(C_COMMON_H) $(C_PRAGMA_H) $(GIMPLE_H) langhooks.h

c-family/c-cilkplus.o : c-family/c-cilkplus.c $(CONFIG_H) $(SYSTEM_H) \
coretypes.h $(TREE_H) $(C_COMMON_H) langhooks.h

CFLAGS-c-family/c-opts.o += @TARGET_SYSTEM_ROOT_DEFINE@
c-family/c-opts.o : c-family/c-opts.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
Expand Down Expand Up @@ -2557,7 +2560,7 @@ omp-low.o : omp-low.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) \
$(RTL_H) $(GIMPLE_H) $(TREE_INLINE_H) langhooks.h $(DIAGNOSTIC_CORE_H) \
$(TREE_FLOW_H) $(FLAGS_H) $(EXPR_H) $(DIAGNOSTIC_CORE_H) \
$(TREE_PASS_H) $(GGC_H) $(EXCEPT_H) $(SPLAY_TREE_H) $(OPTABS_H) \
$(CFGLOOP_H) tree-iterator.h gt-omp-low.h
$(CFGLOOP_H) tree-iterator.h $(TARGET_H) gt-omp-low.h
tree-browser.o : tree-browser.c tree-browser.def $(CONFIG_H) $(SYSTEM_H) \
coretypes.h $(HASH_TABLE_H) $(TREE_H) $(TREE_PRETTY_PRINT_H)
omega.o : omega.c $(OMEGA_H) $(CONFIG_H) $(SYSTEM_H) coretypes.h $(DUMPFILE_H) \
Expand Down Expand Up @@ -2637,7 +2640,7 @@ tree-vect-data-refs.o: tree-vect-data-refs.c $(CONFIG_H) $(SYSTEM_H) \
tree-vectorizer.o: tree-vectorizer.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
$(DUMPFILE_H) $(TM_H) $(GGC_H) $(TREE_H) $(TREE_FLOW_H) \
$(CFGLOOP_H) $(TREE_PASS_H) $(TREE_VECTORIZER_H) \
$(TREE_PRETTY_PRINT_H)
$(TREE_PRETTY_PRINT_H) $(HASH_TABLE_H) tree-ssa-propagate.h
tree-loop-distribution.o: tree-loop-distribution.c $(CONFIG_H) $(SYSTEM_H) \
coretypes.h $(TREE_FLOW_H) $(CFGLOOP_H) $(TREE_DATA_REF_H) $(TREE_PASS_H)
tree-parloops.o: tree-parloops.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \
Expand Down
9 changes: 9 additions & 0 deletions gcc/ada/ChangeLog.gomp
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
2013-04-10 Jakub Jelinek <jakub@redhat.com>

* gcc-interface/utils.c (DEF_FUNCTION_TYPE_8): Define.

Copyright (C) 2013 Free Software Foundation, Inc.

Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
6 changes: 6 additions & 0 deletions gcc/ada/gcc-interface/utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -5765,6 +5765,7 @@ enum c_builtin_type
#define DEF_FUNCTION_TYPE_5(NAME, RETURN, ARG1, ARG2, ARG3, ARG4, ARG5) NAME,
#define DEF_FUNCTION_TYPE_6(NAME, RETURN, ARG1, ARG2, ARG3, ARG4, ARG5, ARG6) NAME,
#define DEF_FUNCTION_TYPE_7(NAME, RETURN, ARG1, ARG2, ARG3, ARG4, ARG5, ARG6, ARG7) NAME,
#define DEF_FUNCTION_TYPE_8(NAME, RETURN, ARG1, ARG2, ARG3, ARG4, ARG5, ARG6, ARG7, ARG8) NAME,
#define DEF_FUNCTION_TYPE_VAR_0(NAME, RETURN) NAME,
#define DEF_FUNCTION_TYPE_VAR_1(NAME, RETURN, ARG1) NAME,
#define DEF_FUNCTION_TYPE_VAR_2(NAME, RETURN, ARG1, ARG2) NAME,
Expand All @@ -5783,6 +5784,7 @@ enum c_builtin_type
#undef DEF_FUNCTION_TYPE_5
#undef DEF_FUNCTION_TYPE_6
#undef DEF_FUNCTION_TYPE_7
#undef DEF_FUNCTION_TYPE_8
#undef DEF_FUNCTION_TYPE_VAR_0
#undef DEF_FUNCTION_TYPE_VAR_1
#undef DEF_FUNCTION_TYPE_VAR_2
Expand Down Expand Up @@ -5878,6 +5880,10 @@ install_builtin_function_types (void)
#define DEF_FUNCTION_TYPE_7(ENUM, RETURN, ARG1, ARG2, ARG3, ARG4, ARG5, \
ARG6, ARG7) \
def_fn_type (ENUM, RETURN, 0, 7, ARG1, ARG2, ARG3, ARG4, ARG5, ARG6, ARG7);
#define DEF_FUNCTION_TYPE_8(ENUM, RETURN, ARG1, ARG2, ARG3, ARG4, ARG5, \
ARG6, ARG7, ARG8) \
def_fn_type (ENUM, RETURN, 0, 8, ARG1, ARG2, ARG3, ARG4, ARG5, ARG6, \
ARG7, ARG8);
#define DEF_FUNCTION_TYPE_VAR_0(ENUM, RETURN) \
def_fn_type (ENUM, RETURN, 1, 0);
#define DEF_FUNCTION_TYPE_VAR_1(ENUM, RETURN, ARG1) \
Expand Down
19 changes: 11 additions & 8 deletions gcc/builtin-types.def
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ along with GCC; see the file COPYING3. If not see
DEF_FUNCTION_TYPE_5 (ENUM, RETURN, ARG1, ARG2, ARG3, ARG4, ARG5)
DEF_FUNCTION_TYPE_6 (ENUM, RETURN, ARG1, ARG2, ARG3, ARG4, ARG5, ARG6)
DEF_FUNCTION_TYPE_7 (ENUM, RETURN, ARG1, ARG2, ARG3, ARG4, ARG5, ARG6, ARG7)
DEF_FUNCTION_TYPE_8 (ENUM, RETURN, ARG1, ARG2, ARG3, ARG4, ARG5, ARG6, ARG7,
ARG8)

These macros describe function types. ENUM is as above. The
RETURN type is one of the enumerals already defined. ARG1, ARG2,
Expand Down Expand Up @@ -411,8 +413,6 @@ DEF_FUNCTION_TYPE_3 (BT_FN_I4_VPTR_I4_I4, BT_I4, BT_VOLATILE_PTR, BT_I4, BT_I4)
DEF_FUNCTION_TYPE_3 (BT_FN_I8_VPTR_I8_I8, BT_I8, BT_VOLATILE_PTR, BT_I8, BT_I8)
DEF_FUNCTION_TYPE_3 (BT_FN_I16_VPTR_I16_I16, BT_I16, BT_VOLATILE_PTR,
BT_I16, BT_I16)
DEF_FUNCTION_TYPE_3 (BT_FN_VOID_OMPFN_PTR_UINT, BT_VOID, BT_PTR_FN_VOID_PTR,
BT_PTR, BT_UINT)
DEF_FUNCTION_TYPE_3 (BT_FN_PTR_CONST_PTR_INT_SIZE, BT_PTR,
BT_CONST_PTR, BT_INT, BT_SIZE)
DEF_FUNCTION_TYPE_3 (BT_FN_I1_VPTR_I1_INT, BT_I1, BT_VOLATILE_PTR, BT_I1, BT_INT)
Expand Down Expand Up @@ -467,16 +467,16 @@ DEF_FUNCTION_TYPE_5 (BT_FN_BOOL_VPTR_PTR_I8_INT_INT,
BT_BOOL, BT_VOLATILE_PTR, BT_PTR, BT_I8, BT_INT, BT_INT)
DEF_FUNCTION_TYPE_5 (BT_FN_BOOL_VPTR_PTR_I16_INT_INT,
BT_BOOL, BT_VOLATILE_PTR, BT_PTR, BT_I16, BT_INT, BT_INT)
DEF_FUNCTION_TYPE_5 (BT_FN_VOID_OMPFN_PTR_UINT_UINT_UINT,
BT_VOID, BT_PTR_FN_VOID_PTR, BT_PTR, BT_UINT, BT_UINT,
BT_UINT)

DEF_FUNCTION_TYPE_6 (BT_FN_INT_STRING_SIZE_INT_SIZE_CONST_STRING_VALIST_ARG,
BT_INT, BT_STRING, BT_SIZE, BT_INT, BT_SIZE,
BT_CONST_STRING, BT_VALIST_ARG)
DEF_FUNCTION_TYPE_6 (BT_FN_BOOL_LONG_LONG_LONG_LONG_LONGPTR_LONGPTR,
BT_BOOL, BT_LONG, BT_LONG, BT_LONG, BT_LONG,
BT_PTR_LONG, BT_PTR_LONG)
DEF_FUNCTION_TYPE_6 (BT_FN_VOID_OMPFN_PTR_UINT_LONG_LONG_LONG,
BT_VOID, BT_PTR_FN_VOID_PTR, BT_PTR, BT_UINT,
BT_LONG, BT_LONG, BT_LONG)
DEF_FUNCTION_TYPE_6 (BT_FN_BOOL_BOOL_ULL_ULL_ULL_ULLPTR_ULLPTR,
BT_BOOL, BT_BOOL, BT_ULONGLONG, BT_ULONGLONG,
BT_ULONGLONG, BT_PTR_ULONGLONG, BT_PTR_ULONGLONG)
Expand All @@ -498,10 +498,9 @@ DEF_FUNCTION_TYPE_6 (BT_FN_BOOL_VPTR_PTR_I16_BOOL_INT_INT,
DEF_FUNCTION_TYPE_6 (BT_FN_BOOL_SIZE_VPTR_PTR_PTR_INT_INT, BT_BOOL, BT_SIZE,
BT_VOLATILE_PTR, BT_PTR, BT_PTR, BT_INT, BT_INT)


DEF_FUNCTION_TYPE_7 (BT_FN_VOID_OMPFN_PTR_UINT_LONG_LONG_LONG_LONG,
DEF_FUNCTION_TYPE_7 (BT_FN_VOID_OMPFN_PTR_UINT_LONG_LONG_LONG_UINT,
BT_VOID, BT_PTR_FN_VOID_PTR, BT_PTR, BT_UINT,
BT_LONG, BT_LONG, BT_LONG, BT_LONG)
BT_LONG, BT_LONG, BT_LONG, BT_UINT)
DEF_FUNCTION_TYPE_7 (BT_FN_VOID_OMPFN_PTR_OMPCPYFN_LONG_LONG_BOOL_UINT,
BT_VOID, BT_PTR_FN_VOID_PTR, BT_PTR,
BT_PTR_FN_VOID_PTR_PTR, BT_LONG, BT_LONG,
Expand All @@ -511,6 +510,10 @@ DEF_FUNCTION_TYPE_7 (BT_FN_BOOL_BOOL_ULL_ULL_ULL_ULL_ULLPTR_ULLPTR,
BT_ULONGLONG, BT_ULONGLONG,
BT_PTR_ULONGLONG, BT_PTR_ULONGLONG)

DEF_FUNCTION_TYPE_8 (BT_FN_VOID_OMPFN_PTR_UINT_LONG_LONG_LONG_LONG_UINT,
BT_VOID, BT_PTR_FN_VOID_PTR, BT_PTR, BT_UINT,
BT_LONG, BT_LONG, BT_LONG, BT_LONG, BT_UINT)

DEF_FUNCTION_TYPE_VAR_0 (BT_FN_VOID_VAR, BT_VOID)
DEF_FUNCTION_TYPE_VAR_0 (BT_FN_INT_VAR, BT_INT)
DEF_FUNCTION_TYPE_VAR_0 (BT_FN_PTR_VAR, BT_PTR)
Expand Down
102 changes: 102 additions & 0 deletions gcc/c-family/ChangeLog.gomp
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
2013-06-21 Jakub Jelinek <jakub@redhat.com>

* c-omp.c (c_omp_split_clauses): Fix up OMP_CLAUSE_COLLAPSE
handling.

2013-06-14 Jakub Jelinek <jakub@redhat.com>

* c-common.h: Move omp_clause_mask code earlier in the file.
(c_omp_split_clauses): New prototype.
(c_split_parallel_clauses): Removed.
* c-pragma.h (enum pragma_kind): Add
PRAGMA_OMP_DISTRIBUTE_PARALLEL_FOR,
PRAGMA_OMP_DISTRIBUTE_PARALLEL_FOR_SIMD,
PRAGMA_OMP_DISTRIBUTE_SIMD, PRAGMA_OMP_TARGET_TEAMS,
PRAGMA_OMP_TARGET_TEAMS_DISTRIBUTE,
PRAGMA_OMP_TARGET_TEAMS_DISTRIBUTE_PARALLEL_FOR,
PRAGMA_OMP_TARGET_TEAMS_DISTRIBUTE_PARALLEL_FOR_SIMD,
PRAGMA_OMP_TEAMS_DISTRIBUTE,
PRAGMA_OMP_TEAMS_DISTRIBUTE_PARALLEL_FOR,
and PRAGMA_OMP_TEAMS_DISTRIBUTE_PARALLEL_FOR_SIMD.
* c-omp.c: Include c-pragma.h.
(c_omp_split_clauses): New function.
(c_split_parallel_clauses): Remove.

2013-06-12 Jakub Jelinek <jakub@redhat.com>

* c-pragma.h (enum pragma_omp_clause): Add
PRAGMA_OMP_CLAUSE_THREAD_LIMIT.

2013-05-29 Jakub Jelinek <jakub@redhat.com>

* c-common.c (c_common_attribute_table): Add "omp declare target"
attribute.
(handle_omp_declare_target_attribute): New function.

2013-05-09 Jakub Jelinek <jakub@redhat.com>

* c-common.c (c_common_attribute_table): Add "omp declare simd"
attribute.
(handle_omp_declare_simd_attribute): New function.
* c-common.h (c_omp_declare_simd_clauses_to_numbers,
c_omp_declare_simd_clauses_to_decls): Declare.
* c-omp.c (c_omp_declare_simd_clause_cmp,
c_omp_declare_simd_clauses_to_numbers,
c_omp_declare_simd_clauses_to_decls): New functions.

2013-04-30 Jakub Jelinek <jakub@redhat.com>

* c-omp.c (c_finish_omp_atomic): Add seq_cst argument, store it
into OMP_ATOMIC_SEQ_CST bit.
* c-common.h (c_finish_omp_atomic): Adjust prototype.

* c-pragma.c (omp_pragmas): Add PRAGMA_OMP_DISTRIBUTE.

2013-04-10 Jakub Jelinek <jakub@redhat.com>

* c-common.c (DEF_FUNCTION_TYPE_8): Define.
* c-omp.c (c_split_parallel_clauses): Handle OMP_CLAUSE_PROC_BIND.

2013-03-27 Jakub Jelinek <jakub@redhat.com>

* c-omp.c (c_finish_omp_for): Add code argument, pass it down to
make_code.
(c_split_parallel_clauses): Handle OMP_CLAUSE_SAFELEN,
OMP_CLAUSE_ALIGNED and OMP_CLAUSE_LINEAR.
* c-pragma.h (enum pragma_kind): Add PRAGMA_OMP_CANCEL,
PRAGMA_OMP_CANCELLATION_POINT, PRAGMA_OMP_DECLARE_REDUCTION,
PRAGMA_OMP_DECLARE_SIMD, PRAGMA_OMP_DECLARE_TARGET,
PRAGMA_OMP_DISTRIBUTE, PRAGMA_OMP_END_DECLARE_TARGET,
PRAGMA_OMP_FOR_SIMD, PRAGMA_OMP_PARALLEL_FOR_SIMD, PRAGMA_OMP_SIMD,
PRAGMA_OMP_TARGET, PRAGMA_OMP_TARGET_DATA, PRAGMA_OMP_TARGET_UPDATE,
PRAGMA_OMP_TASKGROUP and PRAGMA_OMP_TEAMS.
(enum pragma_omp_clause): Add PRAGMA_OMP_CLAUSE_ALIGNED,
PRAGMA_OMP_CLAUSE_DEPEND, PRAGMA_OMP_CLAUSE_DEVICE,
PRAGMA_OMP_CLAUSE_DIST_SCHEDULE, PRAGMA_OMP_CLAUSE_FOR,
PRAGMA_OMP_CLAUSE_FROM, PRAGMA_OMP_CLAUSE_INBRANCH,
PRAGMA_OMP_CLAUSE_LINEAR, PRAGMA_OMP_CLAUSE_MAP,
PRAGMA_OMP_CLAUSE_NOTINBRANCH, PRAGMA_OMP_CLAUSE_NUM_TEAMS,
PRAGMA_OMP_CLAUSE_PARALLEL, PRAGMA_OMP_CLAUSE_PROC_BIND,
PRAGMA_OMP_CLAUSE_SAFELEN, PRAGMA_OMP_CLAUSE_SECTIONS,
PRAGMA_OMP_CLAUSE_SIMDLEN, PRAGMA_OMP_CLAUSE_TASKGROUP,
PRAGMA_OMP_CLAUSE_TO and PRAGMA_OMP_CLAUSE_UNIFORM.
* c-pragma.c (omp_pragmas): Add new OpenMP 4.0 constructs.
* c-common.h (c_finish_omp_for): Add enum tree_code as second
argument.
(OMP_CLAUSE_MASK_1): Define.
(omp_clause_mask): For HWI >= 64 new typedef for
unsigned HOST_WIDE_INT, otherwise a class with needed ctors and
operators.

2013-03-20 Jakub Jelinek <jakub@redhat.com>

* c-omp.c (c_finish_omp_atomic): Add swapped argument, if true,
build the operation first with rhs, lhs arguments and use NOP_EXPR
build_modify_expr.
* c-common.h (c_finish_omp_atomic): Adjust prototype.

Copyright (C) 2013 Free Software Foundation, Inc.

Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
Loading