aboutsummaryrefslogtreecommitdiff
path: root/gcc/ChangeLog.cilkplus
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ChangeLog.cilkplus')
-rw-r--r--gcc/ChangeLog.cilkplus64
1 files changed, 64 insertions, 0 deletions
diff --git a/gcc/ChangeLog.cilkplus b/gcc/ChangeLog.cilkplus
index e6f2604675f..51eb4aaf6fe 100644
--- a/gcc/ChangeLog.cilkplus
+++ b/gcc/ChangeLog.cilkplus
@@ -1,3 +1,67 @@
+2013-04-19 Balaji V. Iyer <balaji.v.iyer@intel.com>
+
+ * c/c-array-notation.c (fix_builtin_array_notation_fn): Added a check
+ for array notation functions inside array notations. If so, return an
+ error.
+ (build_array_notation_expr): Fixed a bug and popped a statement list.
+ (build_array_notation_expr): Added a check for length mismatch. Also
+ changed loading array_list so that array refs can be used with array
+ notations. Finally, store array notation components into variable only
+ if it is not a INTEGER constant.
+ (find_rank): Changed the computation method so that array ref can be
+ used with array notations.
+ (length_mismatch_in_expr_p): New function.
+ (fix_builtin_array_notation_fn): Added a check to see if max/min value
+ is available for the type. If so, set it as the starting point for
+ min and max reduction functions.
+ * c/Make-lang.in (C_AND_OBJC_OBJS): Added c/c-pragma-simd.o.
+ * c/c-typeck.c (c_finish_loop): Added new parameter to pass in pragma
+ simd information.
+ * c/c-parser.c (c_parser_for_statement): Likewise.
+ (c_parser_simd_pragma): added CILKPLUS_PRAGMA_SIMD case. Removed
+ PRAGMA_SIMD_ASSERT, PRAGMA_SIMD_VECTORLENGTH, PRAGMA_SIMD_PRIVATE,
+ PRAGMA_SIMD_LINEAR cases.
+ (same_var_in_multiple_lists_p): New function.
+ (c_parser_simd_construct): Likewise.
+ (c_parser_simd_assert): Changed the function to use vecs intead of
+ mallocs, linked-list and TREE_LIST. Also, added a parameter to pass in
+ pragma simd information.
+ (c_parser_simd_vectorlength): Likewise.
+ (c_parser_simd_reduction): Likewise.
+ (c_parser_simd_linear): Likewise.
+ (c_parser_simd_private): Likewise.
+ * pragma_simd.c (psv_find_node): Changed the function to use vecs
+ instead of mallocs, linked-list and TREE_LIST.
+ (clause_resolved_p): Likewise.
+ (pragma_simd_assert_requested_p): Likewise.
+ (pragma_simd_verify_clauses): Likewise.
+ (set_OK_for_certain_clause): Likewise.
+ (psv_find_node): Likewise.
+ (pragma_simd_acceptable_vlength_p): Likewise.
+ (check_off_reduction_var): Likewise.
+ (find_linear_step_size): Likewise.
+ (all_reductions_satisfied_p): Likewise.
+ (pragma_simd_is_private_var_p): Renamed from pragma_simd_is_private_var.
+ (p_simd_nodes_clear): New function.
+ (p_simd_head_insert): Likewise.
+ (pragma_simd_is_linear_var_p): Likewise.
+ (dump_pragma_simd_values_vec): Likewise.
+ (psv_head_insert): Remove.
+ (insert_reduction_values): Likewise.
+ (same_var_in_multiple_lists_p): Likewise.
+ * tree-vectorizer.c (vectorize_loops): Removed function call
+ pragma_simd_vectorize_loop_p.
+ * tree.h (struct pragma_simd_values): Replaced dynamic arrays with
+ vecs.
+ (tree_label_decl): Made pragma_simd_index unsigned instead of signed.
+ * cfgloop.h (struct loop): Likewise.
+ * tree-vect-loop.c (vect_analyze_scalar_cycles_1): Added a check for
+ verbosity of vectorizer, and if so then emit debug information.
+ (vect_create_epilog_for_reduction): Added a call to remove reduction
+ var when a reduction has occurred.
+ * gimple.h (struct gimple_statement): Likewise.
+ * c/c-pragma-simd.c: New file.
+
2013-04-05 Balaji V. Iyer <balaji.v.iyer@intel.com>
* c/c-array-notation.c (build_array_notation_expr): Added support to