gcc-ia16-elf-tkchia:aldyh/cilkplus-simd-rewrite

Last commit made on 2013-04-19
Get this branch:
git clone -b aldyh/cilkplus-simd-rewrite https://git.launchpad.net/gcc-ia16-elf-tkchia

Branch merges

Branch information

Name:
aldyh/cilkplus-simd-rewrite
Repository:
lp:gcc-ia16-elf-tkchia

Recent commits

671052d... by Aldy Hernandez <email address hidden>

New tests for vectorlength and linear clauses, and corresponding code
to match.

cd7cb45... by Aldy Hernandez <email address hidden>

Merge remote-tracking branch 'origin/cilkplus' into cilkplus-simd-rewrite

e2d763a... by Aldy Hernandez <email address hidden>

omp-low.c changes to make the new pragma simd clauses play nice with OpenMP.

010645f... by Aldy Hernandez <email address hidden>

Initial rewrite of <#pragma simd> clause parsing and handling.

The goal here is to use the existing OMP_CLAUSE* infrastructure by
adding OMP_CLAUSES in ``enum omp_clause_code'' and everything
associated with it.

We also want to reuse the OpenMP parsing and handling bits for the
private, firstprivate, lastprivate, and reduction clauses, since
according to the specs, the syntax and semantics are exactly the same.

This is still not working (at all), as we still need to engineer a
mechanism to move these clauses from gimple to ``struct loop'', at
least until Richi makes loop preservation happens much earlier. As a
proof of concept, I'll probably hack something to move the OMP_CLAUSE*
information to the BBs and then to ``struct loop'' as is currently
implemented, at least to make sure things are still working.

5210884... by bviyer <bviyer@138bc75d-0d04-0410-961f-82ee72b054a4>

Fixed a bug of adding the call expr that has array notations twice.

cp/ChangeLog.cilkplus
+ (fix_unary_array_notation_exprs): Replaced appending to statement lists
+ with pushing and popping of statements along with add statement.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/cilkplus@198077 138bc75d-0d04-0410-961f-82ee72b054a4

840da9f... by Aldy Hernandez <email address hidden>

Remove some fixmes and update some tests after verifying on the
CilkPlus forum.

bcea332... by bviyer <bviyer@138bc75d-0d04-0410-961f-82ee72b054a4>

Fixed a couple bugs:
1. Fixed bug of switching true and false in reduction functions.
2. Also fixed a bug of having reduction functions as parms for reduction
functions in C.
gcc/cp/ChangeLog.cilkplus
+2013-04-18 Balaji V. Iyer <email address hidden>
+
+ * cp-array-notation.c (fix_builtin_array_notation_fn): Fixed a bug of
+ switching the true and false condition in array notation reduction
+ functions.
+

gcc/ChangeLog.cilkplus
+2013-04-18 Balaji V. Iyer <email address hidden>
+
+ * 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.
+

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/cilkplus@198062 138bc75d-0d04-0410-961f-82ee72b054a4

446c4f5... by bviyer <bviyer@138bc75d-0d04-0410-961f-82ee72b054a4>

Fixed a bug of setting the initial max and min value for REDUCE_MIN and
REDUCE_MAX.

gcc/cp/ChangeLog.cilkplus
2013-04-17 Balaji V. Iyer <email address hidden>

        * cp-array-notation.c (build_x_array_notation_expr): Added a check for
        array notation length mismatch. Also added a check for CALL_EXPR.
        (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 function.

gcc/ChangeLog.cilkplus
2013-04-17 Balaji V. Iyer <email address hidden>

        * c/c-array-notation.c (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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/cilkplus@198041 138bc75d-0d04-0410-961f-82ee72b054a4

518ec74... by Aldy Hernandez <email address hidden>

Misc cleanups, plus document remaining items for _Cilk_for parsing.

acf542e... by bviyer <bviyer@138bc75d-0d04-0410-961f-82ee72b054a4>

Added support for array notations between arrays and check for length
mismatch.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/cilkplus@198038 138bc75d-0d04-0410-961f-82ee72b054a4