X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=libgomp%2FChangeLog;h=6af961d93b0f78bbd54918bf8b3fb65f1cb2195a;hb=4aaa72ed8765e5706560ff109a1e59a9dc5a8c47;hp=c6d9ffd9c95d6d3853d03cf9dc90f789a53dd5bf;hpb=bed7a04c6936826dd7911b3584d3f9f858e2325b;p=pf3gnuchains%2Fgcc-fork.git diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index c6d9ffd9c95..6af961d93b0 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,3 +1,204 @@ +2011-12-09 Alan Modra + + PR libgomp/51376 + * task.c (GOMP_taskwait): Don't access task->children outside of + task_lock mutex region. + (GOMP_task): Likewise. + +2011-12-06 Jakub Jelinek + + PR libgomp/51132 + * 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. + +2011-12-02 Alan Modra + + * config/linux/affinity.c: Use atomic rather than sync builtin. + * config/linux/lock.c: Likewise. + * config/linux/ptrlock.h: Likewise. + * config/linux/ptrlock.c: Likewise. + * config/linux/ptrlock.h (gomp_ptrlock_set): Always write here.. + * config/linux/ptrlock.c (gomp_ptrlock_set_slow): ..not here. + * config/linux/futex.h (atomic_write_barrier): Delete unused function. + * config/linux/alpha/futex.h (atomic_write_barrier): Likewise. + * config/linux/ia64/futex.h (atomic_write_barrier): Likewise. + * config/linux/mips/futex.h (atomic_write_barrier): Likewise. + * config/linux/powerpc/futex.h (atomic_write_barrier): Likewise. + * config/linux/s390/futex.h (atomic_write_barrier): Likewise. + * config/linux/sparc/futex.h (atomic_write_barrier): Likewise. + * config/linux/x86/futex.h (atomic_write_barrier): Likewise. + +2011-11-30 Alan Modra + + PR libgomp/51298 + * config/linux/bar.h: Use atomic rather than sync builtins. + * config/linux/bar.c: Likewise. Add missing acquire + synchronisation on generation field. + * task.c (gomp_barrier_handle_tasks): Regain lock so as to not + double unlock. + +2011-11-30 Alan Modra + + * ordered.c (gomp_ordered_sync): Add MEMMODEL_ACQ_REL fence. + * critical.c (GOMP_critical_start): Add MEMMODEL_RELEASE fence. + * config/linux/mutex.h: Use atomic rather than sync builtins. + * config/linux/mutex.c: Likewise. Comment. Use -1 for waiting state. + * config/linux/omp-lock.h: Comment fix. + * config/linux/arm/mutex.h: Delete. + * config/linux/powerpc/mutex.h: Delete. + * config/linux/ia64/mutex.h: Delete. + * config/linux/mips/mutex.h: Delete. + +2011-11-30 Alan Modra + + PR libgomp/51249 + * config/linux/sem.h: Rewrite. + * config/linux/sem.c: Rewrite. + +2011-11-28 Richard Henderson + + * libgomp.h (enum memmodel): New. + +2011-11-21 Andreas Tobler + + * configure: Regenerate. + +2011-10-10 Matthias Klose + + * config/posix95: Remove empty directory. + +2011-08-26 Jakub Jelinek + + * testsuite/libgomp.fortran/threadprivate4.f90: New test. + +2011-08-19 Jakub Jelinek + + PR fortran/49792 + * testsuite/libgomp.fortran/pr49792-1.f90: New test. + * testsuite/libgomp.fortran/pr49792-2.f90: New test. + +2011-08-08 Rainer Orth + + * config/posix95/lock.c, posix95/omp-lock.h: Remove. + +2011-08-05 Rainer Orth + + PR libgomp/49965 + * testsuite/libgomp.c++/task-8.C: Replaced err by errval. + +2011-08-03 Uros Bizjak + + * config/linux/proc.h: New. + * config/linux/proc.c: Include "proc.h". Do not include . + (gomp_cpuset_popcount): Rename from cpuset_popcount. No more static. + (gomp_init_num_threads): Update call to cpuset_popcount. + (get_num_procs): Ditto. + * config/linux/affinity.c (gomp_init_affinity): Call + gomp_cpuset_popcount. + +2011-08-02 Jakub Jelinek + + PR fortran/42041 + PR fortran/46752 + * omp.h.in (omp_in_final): New prototype. + * omp_lib.f90.in (omp_in_final): New interface. + (omp_integer_kind, omp_logical_kind): Remove + and replace all its uses in the module with 4. + (openmp_version): Change to 201107. + * omp_lib.h.in (omp_sched_static, omp_sched_dynamic, + omp_sched_guided, omp_sched_auto): Use omp_sched_kind + kind for the parameters. + (omp_in_final): New external. + (openmp_version): Change to 201107. + * task.c (omp_in_final): New function. + (gomp_init_task): Initialize final_task. + (GOMP_task): Remove unused attribute from flags. Handle final + tasks. + (GOMP_taskyield): New function. + (omp_in_final): Return true if if (false) or final (true) task + or descendant of final (true). + * fortran.c (omp_in_final_): New function. + * libgomp.map (OMP_3.1): Export omp_in_final and omp_in_final_. + (GOMP_3.0): Export GOMP_taskyield. + * env.c (gomp_nthreads_var_list, gomp_nthreads_var_list_len): New + variables. + (parse_unsigned_long_list): New function. + (initialize_env): Use it for OMP_NUM_THREADS. Call parse_boolean + with "OMP_PROC_BIND". If OMP_PROC_BIND=true, call gomp_init_affinity + even if parse_affinity returned false. + * config/linux/affinity.c (gomp_init_affinity): Handle + gomp_cpu_affinity_len == 0. + * libgomp_g.h (GOMP_taskyield): New prototype. + * libgomp.h (struct gomp_task): Add final_task field. + (gomp_nthreads_var_list, gomp_nthreads_var_list_len): New externs. + * team.c (gomp_team_start): Override new task's nthreads_var icv + if list form OMP_NUM_THREADS has been used and it has value for + the new nesting level. + + * testsuite/libgomp.c/atomic-11.c: New test. + * testsuite/libgomp.c/atomic-12.c: New test. + * testsuite/libgomp.c/atomic-13.c: New test. + * testsuite/libgomp.c/atomic-14.c: New test. + * testsuite/libgomp.c/reduction-6.c: New test. + * testsuite/libgomp.c/task-5.c: New test. + * testsuite/libgomp.c++/atomic-2.C: New test. + * testsuite/libgomp.c++/atomic-3.C: New test. + * testsuite/libgomp.c++/atomic-4.C: New test. + * testsuite/libgomp.c++/atomic-5.C: New test. + * testsuite/libgomp.c++/atomic-6.C: New test. + * testsuite/libgomp.c++/atomic-7.C: New test. + * testsuite/libgomp.c++/atomic-8.C: New test. + * testsuite/libgomp.c++/atomic-9.C: New test. + * testsuite/libgomp.c++/task-8.C: New test. + * testsuite/libgomp.c++/reduction-4.C: New test. + * testsuite/libgomp.fortran/allocatable7.f90: New test. + * testsuite/libgomp.fortran/allocatable8.f90: New test. + * testsuite/libgomp.fortran/crayptr3.f90: New test. + * testsuite/libgomp.fortran/omp_atomic3.f90: New test. + * testsuite/libgomp.fortran/omp_atomic4.f90: New test. + * testsuite/libgomp.fortran/pointer1.f90: New test. + * testsuite/libgomp.fortran/pointer2.f90: New test. + * testsuite/libgomp.fortran/task4.f90: New test. + +2011-08-02 Tobias Burnus + + * libgomp.texi: Update OpenMP spec references to 3.1. + (omp_in_final,OMP_PROC_BIND): New sections. + (OMP_NUM_THREADS): Document that the value can be now a list. + (GOMP_STACKSIZE,GOMP_CPU_AFFINITY): Update @ref. + +2011-08-02 H.J. Lu + + * config/linux/x86/futex.h: Check __x86_64__ instead of + __LP64__. + +2011-07-29 Jakub Jelinek + + PR middle-end/49897 + PR middle-end/49898 + * testsuite/libgomp.c/pr49897-1.c: New test. + * testsuite/libgomp.c/pr49897-2.c: New test. + * testsuite/libgomp.c/pr49898-1.c: New test. + * testsuite/libgomp.c/pr49898-2.c: New test. + +2011-07-28 H.J. Lu + + * testsuite/lib/libgomp.exp (libgomp_init): Add -march=i486 + for ia32 instead of ilp32. + + * testsuite/libgomp.c/atomic-1.c: Require ia32 instead of ilp32. + * testsuite/libgomp.c/atomic-6.c: Likewise. + +2011-07-23 Sebastian Pop + + * testsuite/libgomp.graphite/force-parallel-1.c: Un-xfail. + * testsuite/libgomp.graphite/force-parallel-2.c: Adjust pattern. + 2011-07-25 Rainer Orth PR libgomp/45351 @@ -177,7 +378,7 @@ Tobias Burnus PR fortran/32049 - * configure.ac: + * configure.ac: * configure: Regenerate. 2010-10-06 Marcus Shawcroft @@ -941,7 +1142,7 @@ (gomp_new_thread_pool, gomp_free_pool_helper, gomp_free_thread): New functions. (gomp_team_start): Create new pool if current thread doesn't have - one. Use pool fields instead of global gomp_* variables. + one. Use pool fields instead of global gomp_* variables. Initialize thread_pool field for new threads. Clear single_count. Change last argument from ws to team, don't create new team, set ts.work_share to &team->work_shares[0] and clear @@ -1173,7 +1374,7 @@ inlines. * config/posix/bar.c (gomp_barrier_init): Clear generation field. (gomp_barrier_wait_end): Change second argument to - gomp_barrier_state_t. + gomp_barrier_state_t. (gomp_team_barrier_wait, gomp_team_barrier_wait_end, gomp_team_barrier_wake): New functions. * config/linux/mutex.c: Include wait.h instead of libgomp.h and