summaryrefslogtreecommitdiffstats
path: root/libgomp/testsuite/libgomp.graphite
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright years in libgomp/rsandifo2014-01-021-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@206297 138bc75d-0d04-0410-961f-82ee72b054a4
* libgomp: Prepare for testcases without -fopenmp.tschwinge2013-11-071-0/+3
| | | | | | | | | | | | | libgomp/ * testsuite/lib/libgomp.exp (libgomp_init): Don't add -fopenmp to ALWAYS_CFLAGS. * testsuite/libgomp.c++/c++.exp (ALWAYS_CFLAGS): Add -fopenmp. * testsuite/libgomp.c/c.exp (ALWAYS_CFLAGS): Likewise. * testsuite/libgomp.fortran/fortran.exp (ALWAYS_CFLAGS): Likewise. * testsuite/libgomp.graphite/graphite.exp (ALWAYS_CFLAGS): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204519 138bc75d-0d04-0410-961f-82ee72b054a4
* libgomp/tschwinge2013-10-119-14/+14
| | | | | | | | | | | | | | | | | * testsuite/libgomp.graphite/force-parallel-1.c: Expect 4 instead of 5 loopfn matches. * testsuite/libgomp.graphite/force-parallel-2.c: Likewise. * testsuite/libgomp.graphite/force-parallel-3.c: Likewise. * testsuite/libgomp.graphite/force-parallel-4.c: Likewise. * testsuite/libgomp.graphite/force-parallel-5.c: Likewise. * testsuite/libgomp.graphite/force-parallel-6.c: Likewise. * testsuite/libgomp.graphite/force-parallel-7.c: Likewise. * testsuite/libgomp.graphite/force-parallel-8.c: Likewise. * testsuite/libgomp.graphite/force-parallel-9.c: Likewise. As changed in gomp-4_0-branch, r203282. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@203424 138bc75d-0d04-0410-961f-82ee72b054a4
* 2013-06-20 Iain Sandoe <iain@codesourcery.com>mrs2013-06-201-0/+1
| | | | | | | | | | | | | | | Cesar Philippidis <cesar@codesourcery.com> * testsuite/lib/libgomp.exp: Reorder lib loads into dependency order. Do not load_gcc_lib gcc-dg.exp and add a comment as to why. * testsuite/libgomp.c/c.exp: load_gcc_lib gcc-dg.exp. * testsuite/libgomp.fortran/fortran.exp: Likewise. * testsuite/libgomp.graphite/graphite.exp: Likewise. * testsuite/libgomp.c++/c++.exp: load_gcc_lib gcc-dg.exp. Use dg-runtest rather than gfortran-dg-runtest. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@200253 138bc75d-0d04-0410-961f-82ee72b054a4
* Update copyright years in libgomp.rsandifo2013-01-141-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@195166 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-10-24 Dominique d'Humieres <dominiq@lps.ens.fr>rguenth2012-10-241-3/+3
| | | | | | | * testsuite/libgomp.graphite/force-parallel-6.c: Adjust the loops. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192761 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-07-02 Richard Guenther <rguenther@suse.de>rguenth2012-07-024-13/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Michael Matz <matz@suse.de> Tobias Grosser <tobias@grosser.es> Sebastian Pop <sebpop@gmail.com> config/ * cloog.m4: Set up to work against ISL only. * isl.m4: New file. * Makefile.def: Add ISL host module, remove PPL host module. Adjust ClooG host module to use the proper ISL. * Makefile.tpl: Pass ISL include flags instead of PPL ones. * configure.ac: Include config/isl.m4. Add ISL host library, remove PPL. Remove PPL configury, add ISL configury, adjust ClooG configury. * Makefile.in: Regenerated. * configure: Likewise. gcc/ * Makefile.in: Remove PPL flags in favor of ISL ones. (BACKENDLIBS): Remove PPL libs. (INCLUDES): Remove PPL includes in favor of ISL ones. (graphite-clast-to-gimple.o): Remove graphite-dependences.h and graphite-cloog-compat.h dependencies. (graphite-dependences.o): Likewise. (graphite-poly.o): Likewise. * configure.ac: Declare ISL vars instead of PPL ones. * configure: Regenerated. * doc/install.texi: Replace PPL requirement documentation with ISL one. * graphite-blocking.c: Remove PPL code, add ISL equivalent. * graphite-clast-to-gimple.c: Likewise. * graphite-dependences.c: Likewise. * graphite-interchange.c: Likewise. * graphite-poly.h: Likewise. * graphite-poly.c: Likewise. * graphite-sese-to-poly.c: Likewise. * graphite.c: Likewise. * graphite-scop-detection.c: Re-arrange includes. * graphite-cloog-util.c: Remove. * graphite-cloog-util.h: Likewise. * graphite-ppl.h: Likewise. * graphite-ppl.c: Likewise. * graphite-dependences.h: Likewise. libgomp/ * testsuite/libgomp.graphite/force-parallel-4.c: Adjust. * testsuite/libgomp.graphite/force-parallel-5.c: Likewise. * testsuite/libgomp.graphite/force-parallel-7.c: Likewise. * testsuite/libgomp.graphite/force-parallel-8.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189156 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-06-22 Richard Guenther <rguenther@suse.de>rguenth2012-06-222-2/+2
| | | | | | | | | | | | | | | | | | | | | Merge from graphite branch 2011-08-10 Sebastian Pop <sebpop@gmail.com> * graphite-sese-to-poly.c (build_scop_drs): Fix memory leak. 2012-01-13 Tobias Grosser <tobias@grosser.es> * tree-flow.h (parallelized_function_p): Declare. * tree-parloops.c (parallelized_function_p): Export. * graphite.c (graphite_transform_loops): Do not run graphite on already parallel functions. libgomp/ * testsuite/libgomp.graphite/force-parallel-1.c: Adjust. * testsuite/libgomp.graphite/force-parallel-2.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@188885 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libgomp/51132jakub2011-12-066-9/+13
| | | | | | | | | | | | | * testsuite/libgomp.graphite/force-parallel-1.c: Move large arrays to file scope. * testsuite/libgomp.graphite/force-parallel-3.c: Likewise. * testsuite/libgomp.graphite/force-parallel-6.c: Likewise. * testsuite/libgomp.graphite/force-parallel-7.c: Likewise. * testsuite/libgomp.graphite/force-parallel-8.c: Likewise. * testsuite/libgomp.graphite/force-parallel-9.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182050 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix PR49471: canonicalize_loop_ivs should not generate unsigned types.spop2011-07-272-2/+2
| | | | | | | | | | | | | | 2011-07-27 Sebastian Pop <sebastian.pop@amd.com> PR tree-optimization/49471 * tree-ssa-loop-manip.c (canonicalize_loop_ivs): Build an unsigned iv only when the largest type is unsigned. Do not call lang_hooks.types.type_for_size. * testsuite/libgomp.graphite/force-parallel-1.c: Un-xfail. * testsuite/libgomp.graphite/force-parallel-2.c: Adjust pattern. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176838 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix PR47653: do not handle loops using wrapping semantics in graphitespop2011-07-261-1/+1
| | | | | | | | | | | | | | | | | 2011-07-26 Sebastian Pop <sebastian.pop@amd.com> PR middle-end/47653 * graphite-scop-detection.c (graphite_can_represent_loop): Discard loops using wrapping semantics. * gcc.dg/graphite/run-id-pr47653.c: New. * gcc.dg/graphite/interchange-3.c: Do not use unsigned types for induction variables. * gcc.dg/graphite/scop-16.c: Same. * gcc.dg/graphite/scop-17.c: Same. * gcc.dg/graphite/scop-21.c: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176802 138bc75d-0d04-0410-961f-82ee72b054a4
* Adjust failing testsuite pattern.spop2010-09-301-1/+1
| | | | | | | | 2010-09-30 Sebastian Pop <sebastian.pop@amd.com> * testsuite/libgomp.graphite/force-parallel-1.c: Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164814 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix type problems in loop ivs.spop2010-03-082-2/+2
| | | | | | | | | | | | | | | | | | | | | Fix pr42644. Fix pr42130 (dealII). 2010-03-03 Tobias Grosser <grosser@fim.uni-passau.de> * gcc/graphite-clast-to-gimple.c (clast_to_gcc_expression): Also handle conversions from pointer to integers. (gcc_type_for_cloog_iv): Choose the smalles signed integer as an induction variable, to be able to work with code generated by CLooG. * gcc/graphite-sese-to-poly.c (scop_ivs_can_be_represented): New. (build_poly_scop): Bail out if we cannot codegen a loop. * gcc/testsuite/gcc.dg/graphite/id-18.c: New. * gcc/testsuite/gcc.dg/graphite/run-id-pr42644.c: New. * libgomp/testsuite/libgomp.graphite/force-parallel-1.c: Adjust. * libgomp/testsuite/libgomp.graphite/force-parallel-2.c: Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@157286 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix PR42988: handle unknown_dependence.spop2010-02-072-1/+1
| | | | | | | | | | | | | | | 2010-02-07 Sebastian Pop <sebastian.pop@amd.com> PR middle-end/42988 * graphite-dependences.c (dependence_polyhedron): Set PDDR_KIND to unknown_dependence. (graphite_legal_transform_dr): Handle the unknown_dependence. (graphite_carried_dependence_level_k): Same. * testsuite/libgomp.graphite/force-parallel-5.c: Un-XFAILed. * testsuite/libgomp.graphite/pr41118.c: Renamed from pr4118. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@156582 138bc75d-0d04-0410-961f-82ee72b054a4
* Add missing testcases.spop2009-12-231-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | 2009-12-23 Sebastian Pop <sebpop@gmail.com> * g++.dg/graphite/id-1.C: New. * g++.dg/graphite/pr41305.C: New. * gcc.dg/graphite/id-16.c: New. * gcc.dg/graphite/interchange-10.c: New. * gcc.dg/graphite/interchange-11.c: New. * gcc.dg/graphite/interchange-mvt.c: New. * gcc.dg/graphite/pr40281.c: New. * gcc.dg/graphite/run-id-2.c: New. * gcc.dg/graphite/scop-dsyr2k.c: New. * gcc.dg/graphite/scop-dsyrk.c: New. * gcc.dg/graphite/scop-mvt.c: New. * gcc.dg/graphite/scop-sor.c: New. * gfortran.dg/graphite/id-18.f90: New. * gfortran.dg/graphite/interchange-3.f90: New. * gfortran.dg/graphite/pr42050.f90: New. * testsuite/libgomp.graphite/pr4118.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155424 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix PR42135.spop2009-12-181-2/+2
| | | | | | | | | 2009-12-18 Jack Howarth <howarth@bromo.med.uc.edu> PR testsuite/42135 * libgomp.graphite/force-parallel-2.c: Reduce array size. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155337 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-10-09 Sebastian Pop <sebastian.pop@amd.com>spop2009-11-251-1/+1
| | | | | | | | * ChangeLog.graphite: New. * testsuite/libgomp.graphite/graphite.exp (PARALLEL_CFLAGS): Add -fno-loop-block. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154571 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-09-17 Li Feng <nemokingdom@gmail.com>spop2009-11-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | PR middle-end/41118 * graphite-dependences.c (poly_drs_may_alias_p): Adjust definition. (pddr_original_scattering): Make sure 2 pdr2 in the same base object set. (graphite_carried_dependence_level_k): Ditto. * graphite-poly.c (new_poly_dr): Add init of PDR_BASE_OBJECT_SET. * graphite-poly.h (struct poly_dr): Add member dr_base_object_set. (new_poly_dr): Adjust declaration. * graphite-sese-to-poly.c (free_data_refs_aux): New. (free_gimple_bb): Added free_data_refs_aux. (build_poly_dr): Add dr_base_object_set. (partition_drs_to_sets): New. (dr_same_base_object_p): New. (build_alias_set_for_drs): New. (build_base_object_set_for_drs): New. (build_scop_drs): Add build_base_obj_set_for_drs. * graphite-sese-to-poly.h: Added #define for alias set number index and base object set index. * libgomp/testsuite/libgomp.graphite/force-parallel-6.c: Refine tests. * libgomp/testsuite/libgomp.graphite/pr4118.c: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154549 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-10-22 Razya Ladelsky <razya@il.ibm.com>razya2009-10-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cfgloopmanip.c (duplicate_subloops): Export. * tree-parloops.c (loop_parallel_p): Dump if loop is innermost. (transform_to_exit_first_loop): Duplicate bbs starting from header up to loop->latch instead of exit->src. Initialize control variable to the correct number of iterations. (gather_scalar_reductions): Do not register double reductions. (parallelize_loops): Dump which loop is tested. Indicate whether the parallelized loop is inner or not. Remove the innermost-loop requirement. * cfgloop.h (duplicate_subloops): Export. * tree-cfg.c (add_phi_args_after_redirect): New function. (gimple_duplicate_sese_tail): Remove the no-subloops constraint. Call duplicate_subloops. Update number of iterations at the exit condition. Don't redirect nexits always to the loop exit. Redirect copied edges from latch to the loop exit. * testsuite/libgomp.graphite/force-parallel-2.c: Adjust scan. * testsuite/gcc.dg/autopar/outer-1.c: New testcase. * testsuite/gcc.dg/autopar/outer-2.c: New testcase. * testsuite/gcc.dg/autopar/outer-3.c: New testcase. * testsuite/gcc.dg/autopar/outer-4.c: New testcase. * testsuite/gcc.dg/autopar/outer-5.c: New testcase. * testsuite/gcc.dg/autopar/outer-6.c: New testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@153457 138bc75d-0d04-0410-961f-82ee72b054a4
* 2009-09-17 Alexander Monakov <amonakov@ispras.ru>amonakov2009-09-171-0/+13
| | | | | | | | | | | | | gcc: * graphite-sese-to-poly.c (pdr_add_data_dimensions): Add bounds only for ARRAY_REFs. Use array_ref_{low,up}_bound to determine bounds. libgomp: * testsuite/libgomp.graphite/bounds.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151802 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/testsuite/dje2009-08-1410-0/+398
* gcc.dg/graphite/graphite_autopar: Move to libgomp testsuite. libgomp/ * testsuite/libgomp.graphite: Move from gcc.dg/graphite. * testsuite/libgomp.graphite/graphite_autopar.exp: Delete. * testsuite/libgomp.graphite/graphite.exp: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150755 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud