]>
Commit | Line | Data |
---|---|---|
b39dea08 ILT |
1 | 2009-01-30 Ian Lance Taylor <iant@google.com> |
2 | ||
3 | * acinclude.m4 (LIBCOMP_CHECK_LINKER_FEATURES): Set | |
4 | libgomp_ld_is_gold. Get gold version number. | |
5 | (LIBGOMP_ENABLE_SYMVERS): Gold always support symbol versioning. | |
6 | * configure: Rebuild. | |
7 | ||
72c66596 IS |
8 | 2009-01-19 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk> |
9 | ||
10 | * testsuite/lib/libgomp.exp: Add -B option for targets that | |
11 | use libgfortran.a%s in their specs. | |
12 | ||
876080ff JJ |
13 | 2009-01-07 Jakub Jelinek <jakub@redhat.com> |
14 | ||
15 | PR libgomp/38086 | |
16 | * acinclude.m4 (HAVE_AS_SYMVER_DIRECTIVE): New check. | |
17 | * libgomp.h (LIBGOMP_GNU_SYMBOL_VERSIONING): Undefine if | |
18 | HAVE_AS_SYMVER_DIRECTIVE is not defined. | |
19 | * configure: Regenerated. | |
20 | * config.h.in: Likewise. | |
21 | ||
e4ebaef3 JJ |
22 | 2008-12-28 Jakub Jelinek <jakub@redhat.com> |
23 | ||
24 | PR c++/38650 | |
25 | * testsuite/libgomp.c/pr38650.c: New test. | |
26 | * testsuite/libgomp.c++/pr38650.C: New test. | |
27 | ||
382017a6 JJ |
28 | 2008-12-27 Jakub Jelinek <jakub@redhat.com> |
29 | ||
30 | * testsuite/libgomp.c/collapse-1.c (main): Add private(k) clause. | |
31 | ||
79644b27 UB |
32 | 2008-12-26 Uros Bizjak <ubizjak@gmail.com> |
33 | ||
34 | * testsuite/libgomp.c/atomic-6.c: Add -mieee for alpha*-*-* targets. | |
35 | ||
baafc534 RW |
36 | 2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
37 | ||
38 | * configure: Regenerate. | |
39 | ||
d9c194cb JJ |
40 | 2008-12-08 Jakub Jelinek <jakub@redhat.com> |
41 | ||
42 | PR middle-end/36802 | |
43 | * testsuite/libgomp.c/pr36802-1.c: New test. | |
44 | * testsuite/libgomp.c/pr36802-2.c: New test. | |
45 | * testsuite/libgomp.c/pr36802-3.c: New test. | |
46 | ||
86a182bf JJ |
47 | 2008-12-01 Janis Johnson <janis187@us.ibm.com> |
48 | ||
49 | PR libgomp/38270 | |
50 | * config/linux/powerpc/mutex.h: New. | |
51 | ||
956adfaf JJ |
52 | 2008-12-01 Jakub Jelinek <jakub@redhat.com> |
53 | ||
a2d4cdc9 JJ |
54 | PR c++/38257 |
55 | * testsuite/libgomp.c++/for-7.C: New test. | |
56 | ||
956adfaf JJ |
57 | PR c++/38348 |
58 | * testsuite/libgomp.c++/for-6.C: New test. | |
59 | ||
d4038ca2 JJ |
60 | 2008-11-26 Janis Johnson <janis187@us.ibm.com> |
61 | ||
62 | PR testsuite/28870 | |
63 | * testsuite/lib/libgomp.exp: Include new timeout library files. | |
64 | (libgomp_target_compile): Set timeout value from new proc. | |
65 | ||
8b159eea SE |
66 | 2008-11-13 Steve Ellcey <sje@cup.hp.com> |
67 | ||
68 | PR libgomp/37938 | |
69 | * config/linux/ia64/mutex.h: New. | |
70 | ||
5c6ed53a TB |
71 | 2008-11-04 Tobias Burnus <burnus@net-b.de> |
72 | ||
73 | PR libgomp/37935 | |
74 | * libgomp.texi (Runtime library routines, environment variables): | |
75 | Update for OpenMP version 3.0. | |
76 | ||
6b4a97ed PG |
77 | 2008-09-26 Peter O'Gorman <pogma@thewrittenword.com> |
78 | Steve Ellcey <sje@cup.hp.com> | |
79 | ||
80 | * configure: Regenerate for new libtool. | |
81 | * Makefile.in: Ditto. | |
82 | * testsuite/Makefile.in: Ditto. | |
83 | ||
e2b34106 JJ |
84 | 2008-09-19 Jakub Jelinek <jakub@redhat.com> |
85 | Andreas Tobler <a.tobler@schweiz.org> | |
86 | ||
87 | * config/bsd/proc.c: New file. | |
8c3b3600 | 88 | * configure.tgt (*-*-darwin*): Use config_path "bsd posix". |
e2b34106 JJ |
89 | * configure.ac: Check for header <sys/sysctl.h> |
90 | * configure: Regenerate. | |
91 | * config.h.in: Likewise. | |
92 | ||
3606b8bf JJ |
93 | 2008-09-05 Janis Johnson <janis187@us.ibm.com> |
94 | ||
95 | * testsuite/ligbomp.c/c.exp: Unset lang_test_file only if it exists. | |
96 | ||
6528b88d AL |
97 | 2008-08-31 Aaron W. LaFramboise <aaronavay62@aaronwl.com> |
98 | ||
99 | * Makefile.am (libgomp_la_LDFLAGS): Add -no-undefined. | |
100 | * Makefile.in: Regenerated. | |
101 | * testsuite/Makefile.in: Regenerated. | |
102 | ||
d9b14b12 | 103 | 2008-08-21 Nathan Froyd <froydnj@codesourcery.com> |
8c9570df NF |
104 | |
105 | * testsuite/libgomp.exp (libgomp_init): Only set things that | |
106 | depend on blddir if blddir exists. | |
107 | (libgomp_target_compile): Likewise. | |
108 | * testsuite/libgomp.c++/c++.exp: Likewise. | |
109 | * testsuite/libgomp.fortran/fortran.exp: Likewise. | |
110 | ||
70b1e376 RW |
111 | 2008-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
112 | ||
113 | * libgomp.texi: Update to GFDL 1.2. Update copyright years. | |
114 | Do not list GPL as Invariant Section. | |
115 | ||
318e8c3f IG |
116 | 2008-07-28 Ilie Garbacea <ilie@mips.com> |
117 | Chao-ying Fu <fu@mips.com> | |
118 | ||
119 | * configure.tgt: Enable futex for MIPS. | |
120 | * config/linux/mips/futex.h: New file. | |
121 | ||
4db72361 JJ |
122 | 2008-07-16 Jakub Jelinek <jakub@redhat.com> |
123 | ||
124 | * team.c (gomp_team_end): Free team immediately if it has | |
125 | just one thread. | |
126 | ||
87bd23b8 DE |
127 | 2008-07-08 David Edelsohn <edelsohn@gnu.org> |
128 | ||
129 | * testsuite/libgomp.c++/c++.exp: Append multilib library path. | |
130 | * testsuite/libgomp.fortran/fortran.exp: Same. | |
131 | * testsuite/libgomp.c/c.exp: Same. | |
132 | * testsuite/lib/libgomp.exp: Append AIX libgcc pthread multilib | |
133 | directory to library path first. | |
134 | ||
323ff903 KW |
135 | 2008-06-29 Krister Walfridsson <krister.walfridsson@gmail.com> |
136 | ||
137 | * env.c (parse_stacksize): Add cast to avoid warning. | |
138 | (parse_spincount): Likewise. | |
139 | ||
b357f682 JJ |
140 | 2008-06-27 Jakub Jelinek <jakub@redhat.com> |
141 | ||
ca2b1311 JJ |
142 | * testsuite/libgomp.c/loop-10.c: New test. |
143 | * libgomp.c/loop-3.c (main): Add lastprivate clause. | |
144 | * libgomp.c++/loop-6.C (main): Likewise. | |
145 | ||
b357f682 JJ |
146 | PR debug/36617 |
147 | * testsuite/libgomp.c/debug-1.c: New test. | |
148 | ||
09a46078 JJ |
149 | 2008-06-19 Jakub Jelinek <jakub@redhat.com> |
150 | ||
151 | * testsuite/libgomp.c/nqueens-1.c: New test. | |
152 | ||
2368a460 JJ |
153 | PR c++/36523 |
154 | * testsuite/libgomp.c++/task-7.C: New function. | |
155 | ||
18c04407 RW |
156 | 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
157 | ||
158 | * configure: Regenerate. | |
159 | ||
9c4e59e0 JDA |
160 | 2008-06-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
161 | ||
162 | * env.c (initialize_env): Always initialize gomp_remaining_threads_lock | |
163 | mutex when HAVE_SYNC_BUILTINS isn't defined. | |
164 | ||
6ccde948 RW |
165 | 2008-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
166 | ||
167 | * libgomp.texi (omp_test_lock): Fix typo. | |
168 | ||
b896f9fd TB |
169 | 2008-06-12 Tobias Burnus <burnus@net-b.de> |
170 | ||
171 | * omp_lib.f90.in: Add "implicit none". | |
172 | ||
c34938a8 JJ |
173 | 2008-06-12 Jakub Jelinek <jakub@redhat.com> |
174 | ||
175 | PR middle-end/36506 | |
176 | * testsuite/libgomp.c/reduction-5.c: New test. | |
177 | ||
976e44e3 JJ |
178 | 2008-06-11 Jakub Jelinek <jakub@redhat.com> |
179 | ||
5f836cbb JJ |
180 | * libgomp.h (struct gomp_task): Add in_tied_task field. |
181 | * task.c (gomp_init_task): Initialize it. | |
182 | (GOMP_task): Likewise. Call gomp_team_barrier_set_task_pending | |
183 | unconditionally. Don't call gomp_team_barrier_wake if | |
184 | current task is implicit or if(0) from implicit and number of | |
185 | running tasks is equal to nthreads - 1. | |
186 | ||
01501fc8 JJ |
187 | PR libgomp/36471 |
188 | * omp_lib.f90.in (omp_get_ancestor_thread_num_8, | |
189 | omp_get_team_size_8): Fix pastos. | |
190 | ||
976e44e3 JJ |
191 | PR libgomp/36469 |
192 | * configure.ac: Add AC_CHECK_FUNCS (strtoull). | |
193 | * configure: Regenerated. | |
194 | * config.h.in: Regenerated. | |
195 | * env.c (strtoull): Define to strtoul if HAVE_STRTOULL is not | |
196 | defined. | |
197 | ||
e919209b AT |
198 | 2008-06-06 Andreas Tobler <a.tobler@schweiz.org> |
199 | ||
200 | PR bootstrap/36452 | |
201 | * loop_ull.c (GOMP_loop_ull_static_start): Adjust API. | |
202 | (GOMP_loop_ull_dynamic_start): Likewise. | |
203 | (GOMP_loop_ull_guided_start): Likewise. | |
204 | (GOMP_loop_ull_ordered_static_start): Likewise. | |
205 | (GOMP_loop_ull_ordered_dynamic_start): Likewise. | |
206 | (GOMP_loop_ull_ordered_guided_start): Likewise. | |
207 | ||
a68ab351 JJ |
208 | 2008-06-06 Jakub Jelinek <jakub@redhat.com> |
209 | Richard Henderson <rth@redhat.com> | |
210 | Ulrich Drepper <drepper@redhat.com> | |
211 | Jakob Blomer <jakob.blomer@ira.uka.de> | |
212 | ||
213 | * configure.ac (LIBGOMP_GNU_SYMBOL_VERSIONING): New AC_DEFINE. | |
214 | Substitute also OMP_*LOCK_25*. | |
215 | * configure: Regenerated. | |
216 | * config.h.in: Regenerated. | |
217 | * Makefile.am (libgomp_la_SOURCES): Add loop_ull.c, iter_ull.c, | |
218 | ptrlock.c and task.c. | |
219 | * Makefile.in: Regenerated. | |
220 | * testsuite/Makefile.in: Regenerated. | |
221 | * task.c: New file. | |
222 | * loop_ull.c: New file. | |
223 | * iter_ull.c: New file. | |
224 | * libgomp.h: Include ptrlock.h. | |
225 | (enum gomp_task_kind): New type. | |
226 | (struct gomp_team): Add task_lock, task_queue, task_count, | |
227 | task_running_count, single_count fields. Add | |
228 | work_share_list_free_lock ifndef HAVE_SYNC_BUILTINS. | |
229 | Remove work_share_lock, generation_mask, | |
230 | oldest_live_gen, num_live_gen and init_work_shares fields, add | |
231 | work work_share_list_alloc, work_share_list_free and work_share_chunk | |
232 | fields. Change work_shares from pointer to pointers into an array. | |
233 | Change ordered_release field into gomp_sem_t ** from flexible array | |
234 | member. Add implicit_task and initial_work_shares fields. | |
235 | Move close to the end of the struct. | |
236 | (struct gomp_team_state): Add single_count, last_work_share, | |
237 | active_level and level fields, remove work_share_generation. | |
238 | (gomp_barrier_handle_tasks): New prototype. | |
239 | (gomp_finish_task): New inline function. | |
240 | (struct gomp_work_share): Move chunk_size, end, incr into | |
241 | transparent union/struct, add chunk_size_ull, end_ll, incr_ll and | |
242 | next_ll fields. Reshuffle fields. Add next_alloc, | |
243 | next_ws, next_free and inline_ordered_team_ids fields, change | |
244 | ordered_team_ids into pointer from flexible array member. | |
245 | Add mode field. Put lock and next into a different cache line | |
246 | from most of the write-once fields. | |
247 | (gomp_iter_ull_static_next, gomp_iter_ull_dynamic_next_locked, | |
248 | gomp_iter_ull_guided_next_locked, gomp_iter_ull_dynamic_next, | |
249 | gomp_iter_ull_guided_next): New prototypes. | |
250 | (gomp_new_icv): New prototype. | |
251 | (struct gomp_thread): Add thread_pool and task fields. | |
252 | (struct gomp_thread_pool): New type. | |
253 | (gomp_new_team): New prototype. | |
254 | (gomp_team_start): Change type of last argument. | |
255 | (gomp_new_work_share): Removed. | |
256 | (gomp_init_work_share, gomp_fini_work_share): New prototypes. | |
257 | (gomp_work_share_init_done): New static inline. | |
258 | (gomp_throttled_spin_count_var, gomp_available_cpus, | |
259 | gomp_managed_threads): New extern decls. | |
260 | (gomp_init_task): New prototype. | |
261 | (gomp_spin_count_var): New extern var decl. | |
262 | (LIBGOMP_GNU_SYMBOL_VERSIONING): Undef if no visibility | |
263 | or no alias support, or if not PIC. | |
264 | (gomp_init_lock_30, gomp_destroy_lock_30, gomp_set_lock_30, | |
265 | gomp_unset_lock_30, gomp_test_lock_30, gomp_init_nest_lock_30, | |
266 | gomp_destroy_nest_lock_30, gomp_set_nest_lock_30, | |
267 | gomp_unset_nest_lock_30, gomp_test_nest_lock_30, gomp_init_lock_25, | |
268 | gomp_destroy_lock_25, gomp_set_lock_25, gomp_unset_lock_25, | |
269 | gomp_test_lock_25, gomp_init_nest_lock_25, gomp_destroy_nest_lock_25, | |
270 | gomp_set_nest_lock_25, gomp_unset_nest_lock_25, | |
271 | gomp_test_nest_lock_25): New prototypes. | |
272 | (omp_lock_symver, strong_alias): Define. | |
273 | (gomp_remaining_threads_count, gomp_remaining_threads_lock): New | |
274 | decls. | |
275 | (gomp_end_task): New. | |
276 | (struct gomp_task_icv, gomp_global_icv): New. | |
277 | (gomp_thread_limit_var, gomp_max_active_levels_var): New. | |
278 | (struct gomp_task): New. | |
279 | (gomp_nthreads_var, gomp_dyn_var, gomp_nest_var, | |
280 | gomp_run_sched_var, gomp_run_sched_chunk): Remove. | |
281 | (gomp_icv): New. | |
282 | (gomp_schedule_type): Reorder enum to match | |
283 | omp_sched_t. | |
284 | * team.c (struct gomp_thread_start_data): Add thread_pool and task | |
285 | fields. | |
286 | (gomp_thread_start): Add gomp_team_barrier_wait call. | |
287 | For non-nested case remove clearing of docked thread thr fields. | |
288 | Use pool fields instead of global gomp_* variables. Use | |
289 | gomp_barrier_wait_last when needed. Initialize ts.active_level. | |
290 | Create tasks for each member thread. | |
291 | (free_team): Only destroy team barrier, task_lock here and free it. | |
292 | (gomp_free_thread): Free last_team if non-NULL. | |
293 | (gomp_team_end): Call gomp_team_barrier_wait instead of | |
294 | gomp_barrier_wait. For nested case call one extra | |
295 | gomp_barrier_wait. Move here some destruction from free_team. | |
296 | Call free_team on pool->last_team if any, rather than freeing | |
297 | current team. Destroy work_share_list_free_lock ifndef | |
298 | HAVE_SYNC_BUILTINS. | |
299 | (gomp_new_icv): New function. | |
300 | (gomp_threads, gomp_threads_size, gomp_threads_used, | |
301 | gomp_threads_dock): Removed. | |
302 | (gomp_thread_destructor): New variable. | |
303 | (gomp_new_thread_pool, gomp_free_pool_helper, gomp_free_thread): New | |
304 | functions. | |
305 | (gomp_team_start): Create new pool if current thread doesn't have | |
306 | one. Use pool fields instead of global gomp_* variables. | |
307 | Initialize thread_pool field for new threads. Clear single_count. | |
308 | Change last argument from ws to team, don't create | |
309 | new team, set ts.work_share to &team->work_shares[0] and clear | |
310 | ts.last_work_share. Don't clear ts.work_share_generation. | |
311 | If number of threads changed, adjust atomically gomp_managed_threads. | |
312 | Use gomp_init_task instead of gomp_new_task, | |
313 | set thr->task to the corresponding implicit_task array entry. | |
314 | Create tasks for each member thread. Initialize ts.level. | |
315 | (initialize_team): Call pthread_key_create on | |
316 | gomp_thread_destructor. | |
317 | (team_destructor): New function. | |
318 | (new_team): Removed. | |
319 | (gomp_new_team): New function. | |
320 | (free_team): Free gomp_work_share blocks chained through next_alloc, | |
321 | instead of freeing work_shares and destroying work_share_lock. | |
322 | (gomp_team_end): Call gomp_fini_work_share. If number of threads | |
323 | changed, adjust atomically gomp_managed_threads. Use gomp_end_task. | |
324 | * barrier.c (GOMP_barrier): Call gomp_team_barrier_wait instead | |
325 | of gomp_barrier_wait. | |
326 | * single.c (GOMP_single_copy_start): Call gomp_team_barrier_wait | |
327 | instead of gomp_barrier_wait. Call gomp_work_share_init_done | |
328 | if gomp_work_share_start returned true. Don't unlock ws->lock. | |
329 | (GOMP_single_copy_end): Call gomp_team_barrier_wait instead | |
330 | of gomp_barrier_wait. | |
331 | (GOMP_single_start): Rewritten if HAVE_SYNC_BUILTINS. Call | |
332 | gomp_work_share_init_done if gomp_work_share_start returned true. | |
333 | Don't unlock ws->lock. | |
334 | * work.c: Include stddef.h. | |
335 | (free_work_share): Use work_share_list_free_lock instead | |
336 | of atomic chaining ifndef HAVE_SYNC_BUILTINS. Add team argument. | |
337 | Call gomp_fini_work_share and then either free ws if orphaned, or | |
338 | put it into work_share_list_free list of the current team. | |
339 | (alloc_work_share, gomp_init_work_share, gomp_fini_work_share): New | |
340 | functions. | |
341 | (gomp_work_share_start, gomp_work_share_end, | |
342 | gomp_work_share_end_nowait): Rewritten. | |
343 | * omp_lib.f90.in Change some tabs to spaces to prevent warnings. | |
344 | (openmp_version): Set to 200805. | |
345 | (omp_sched_kind, omp_sched_static, omp_sched_dynamic, | |
346 | omp_sched_guided, omp_sched_auto): New parameters. | |
347 | (omp_set_schedule, omp_get_schedule, omp_get_thread_limit, | |
348 | omp_set_max_active_levels, omp_get_max_active_levels, | |
349 | omp_get_level, omp_get_ancestor_thread_num, omp_get_team_size, | |
350 | omp_get_active_level): New interfaces. | |
351 | * omp_lib.h.in (openmp_version): Set to 200805. | |
352 | (omp_sched_kind, omp_sched_static, omp_sched_dynamic, | |
353 | omp_sched_guided, omp_sched_auto): New parameters. | |
354 | (omp_set_schedule, omp_get_schedule, omp_get_thread_limit, | |
355 | omp_set_max_active_levels, omp_get_max_active_levels, | |
356 | omp_get_level, omp_get_ancestor_thread_num, omp_get_team_size, | |
357 | omp_get_active_level): New externals. | |
358 | * loop.c: Include limits.h. | |
359 | (GOMP_loop_runtime_next, GOMP_loop_ordered_runtime_next): Handle | |
360 | GFS_AUTO. | |
361 | (GOMP_loop_runtime_start, GOMP_loop_ordered_runtime_start): | |
362 | Likewise. Use gomp_icv. | |
363 | (gomp_loop_static_start, gomp_loop_dynamic_start): Clear | |
364 | ts.static_trip here. | |
365 | (gomp_loop_static_start, gomp_loop_ordered_static_start): Call | |
366 | gomp_work_share_init_done after gomp_loop_init. Don't unlock ws->lock. | |
367 | (gomp_loop_dynamic_start, gomp_loop_guided_start): Call | |
368 | gomp_work_share_init_done after gomp_loop_init. If HAVE_SYNC_BUILTINS, | |
369 | don't unlock ws->lock, otherwise lock it. | |
370 | (gomp_loop_ordered_dynamic_start, gomp_loop_ordered_guided_start): Call | |
371 | gomp_work_share_init_done after gomp_loop_init. Lock ws->lock. | |
372 | (gomp_parallel_loop_start): Call gomp_new_team instead of | |
373 | gomp_new_work_share. Call gomp_loop_init on &team->work_shares[0]. | |
374 | Adjust gomp_team_start caller. Pass 0 as second argument to | |
375 | gomp_resolve_num_threads. | |
376 | (gomp_loop_init): For GFS_DYNAMIC, multiply ws->chunk_size by incr. | |
377 | If adding ws->chunk_size nthreads + 1 times after end won't | |
378 | overflow, set ws->mode to 1. | |
379 | * libgomp_g.h (GOMP_loop_ull_static_start, GOMP_loop_ull_dynamic_start, | |
380 | GOMP_loop_ull_guided_start, GOMP_loop_ull_runtime_start, | |
381 | GOMP_loop_ull_ordered_static_start, | |
382 | GOMP_loop_ull_ordered_dynamic_start, | |
383 | GOMP_loop_ull_ordered_guided_start, | |
384 | GOMP_loop_ull_ordered_runtime_start, GOMP_loop_ull_static_next, | |
385 | GOMP_loop_ull_dynamic_next, GOMP_loop_ull_guided_next, | |
386 | GOMP_loop_ull_runtime_next, GOMP_loop_ull_ordered_static_next, | |
387 | GOMP_loop_ull_ordered_dynamic_next, GOMP_loop_ull_ordered_guided_next, | |
388 | GOMP_loop_ull_ordered_runtime_next, GOMP_task, GOMP_taskwait): New | |
389 | prototypes. | |
390 | * libgomp.map: Export lock routines also @@OMP_2.0. | |
391 | (GOMP_loop_ordered_dynamic_first, | |
392 | GOMP_loop_ordered_guided_first, GOMP_loop_ordered_runtime_first, | |
393 | GOMP_loop_ordered_static_first): Remove. | |
394 | (GOMP_loop_ull_dynamic_next, GOMP_loop_ull_dynamic_start, | |
395 | GOMP_loop_ull_guided_next, GOMP_loop_ull_guided_start, | |
396 | GOMP_loop_ull_ordered_dynamic_next, | |
397 | GOMP_loop_ull_ordered_dynamic_start, | |
398 | GOMP_loop_ull_ordered_guided_next, | |
399 | GOMP_loop_ull_ordered_guided_start, | |
400 | GOMP_loop_ull_ordered_runtime_next, | |
401 | GOMP_loop_ull_ordered_runtime_start, | |
402 | GOMP_loop_ull_ordered_static_next, | |
403 | GOMP_loop_ull_ordered_static_start, | |
404 | GOMP_loop_ull_runtime_next, GOMP_loop_ull_runtime_start, | |
405 | GOMP_loop_ull_static_next, GOMP_loop_ull_static_start, | |
406 | GOMP_task, GOMP_taskwait): Export @@GOMP_2.0. | |
407 | (omp_set_schedule, omp_get_schedule, | |
408 | omp_get_thread_limit, omp_set_max_active_levels, | |
409 | omp_get_max_active_levels, omp_get_level, | |
410 | omp_get_ancestor_thread_num, omp_get_team_size, omp_get_active_level, | |
411 | omp_set_schedule_, omp_set_schedule_8_, | |
412 | omp_get_schedule_, omp_get_schedule_8_, omp_get_thread_limit_, | |
413 | omp_set_max_active_levels_, omp_set_max_active_levels_8_, | |
414 | omp_get_max_active_levels_, omp_get_level_, | |
415 | omp_get_ancestor_thread_num_, omp_get_ancestor_thread_num_8_, | |
416 | omp_get_team_size_, omp_get_team_size_8_, omp_get_active_level_): | |
417 | New exports @@OMP_3.0. | |
418 | * omp.h.in (omp_sched_t): New type. | |
419 | (omp_set_schedule, omp_get_schedule, omp_get_thread_limit, | |
420 | omp_set_max_active_levels, omp_get_max_active_levels, | |
421 | omp_get_level, omp_get_ancestor_thread_num, omp_get_team_size, | |
422 | omp_get_active_level): New prototypes. | |
423 | * env.c (gomp_spin_count_var, gomp_throttled_spin_count_var, | |
424 | gomp_available_cpus, gomp_managed_threads, gomp_max_active_levels_var, | |
425 | gomp_thread_limit_var, gomp_remaining_threads_count, | |
426 | gomp_remaining_threads_lock): New variables. | |
427 | (parse_spincount): New function. | |
428 | (initialize_env): Call gomp_init_num_threads unconditionally. | |
429 | Initialize gomp_available_cpus. Call parse_spincount, | |
430 | initialize gomp_{,throttled_}spin_count_var | |
431 | depending on presence and value of OMP_WAIT_POLICY and | |
432 | GOMP_SPINCOUNT env vars. Handle GOMP_BLOCKTIME env var. | |
433 | Handle OMP_WAIT_POLICY, OMP_MAX_ACTIVE_LEVELS, | |
434 | OMP_THREAD_LIMIT, OMP_STACKSIZE env vars. Handle unit specification | |
435 | for GOMP_STACKSIZE. Initialize gomp_remaining_threads_count and | |
436 | gomp_remaining_threads_lock if needed. Use gomp_global_icv. | |
437 | (gomp_nthreads_var, gomp_dyn_var, gomp_nest_var, | |
438 | gomp_run_sched_var, gomp_run_sched_chunk): Remove. | |
439 | (gomp_global_icv): New. | |
440 | (parse_schedule): Use it. Parse "auto". | |
441 | (omp_set_num_threads): Use gomp_icv. | |
442 | (omp_set_dynamic, omp_get_dynamic, omp_set_nested, omp_get_nested): | |
443 | Likewise. | |
444 | (omp_get_max_threads): Move from parallel.c. | |
445 | (omp_set_schedule, omp_get_schedule, omp_get_thread_limit, | |
446 | omp_set_max_active_levels, omp_get_max_active_levels): New functions, | |
447 | add ialias. | |
448 | (parse_stacksize, parse_wait_policy): New functions. | |
449 | * fortran.c: Rewrite lock wrappers, if symbol versioning provide | |
450 | both wrappers for compatibility and new locks. | |
451 | (omp_set_schedule, omp_get_schedule, | |
452 | omp_get_thread_limit, omp_set_max_active_levels, | |
453 | omp_get_max_active_levels, omp_get_level, | |
454 | omp_get_ancestor_thread_num, omp_get_team_size, | |
455 | omp_get_active_level): New ialias_redirect. | |
456 | (omp_set_schedule_, omp_set_schedule_8_, | |
457 | omp_get_schedule_, omp_get_schedule_8_, omp_get_thread_limit_, | |
458 | omp_set_max_active_levels_, omp_set_max_active_levels_8_, | |
459 | omp_get_max_active_levels_, omp_get_level_, | |
460 | omp_get_ancestor_thread_num_, omp_get_ancestor_thread_num_8_, | |
461 | omp_get_team_size_, omp_get_team_size_8_, omp_get_active_level_): | |
462 | New functions. | |
463 | * parallel.c: Include limits.h. | |
464 | (gomp_resolve_num_threads): Add count argument. Rewritten. | |
465 | (GOMP_parallel_start): Call gomp_new_team and pass that as last | |
466 | argument to gomp_team_start. Pass 0 as second argument to | |
467 | gomp_resolve_num_threads. | |
468 | (GOMP_parallel_end): Decrease gomp_remaining_threads_count | |
469 | if gomp_thread_limit_var != ULONG_MAX. | |
470 | (omp_in_parallel): Implement using ts.active_level. | |
471 | (omp_get_max_threads): Move to env.c. | |
472 | (omp_get_level, omp_get_ancestor_thread_num, | |
473 | omp_get_team_size, omp_get_active_level): New functions, | |
474 | add ialias. | |
475 | * sections.c (GOMP_sections_start): Call gomp_work_share_init_done | |
476 | after gomp_sections_init. If HAVE_SYNC_BUILTINS, call | |
477 | gomp_iter_dynamic_next instead of the _locked variant and don't take | |
478 | lock around it, otherwise acquire it before calling | |
479 | gomp_iter_dynamic_next_locked. | |
480 | (GOMP_sections_next): If HAVE_SYNC_BUILTINS, call | |
481 | gomp_iter_dynamic_next instead of the _locked variant and don't take | |
482 | lock around it. | |
483 | (GOMP_parallel_sections_start): Call gomp_new_team instead of | |
484 | gomp_new_work_share. Call gomp_sections_init on &team->work_shares[0]. | |
485 | Adjust gomp_team_start caller. Pass count as second argument to | |
486 | gomp_resolve_num_threads, don't adjust num_threads after the call. | |
487 | Use gomp_icv. | |
488 | * iter.c (gomp_iter_dynamic_next_locked): Don't multiply | |
489 | ws->chunk_size by incr. | |
490 | (gomp_iter_dynamic_next): Likewise. If ws->mode, use more efficient | |
491 | code. | |
492 | * libgomp_f.h.in (omp_lock_25_arg_t, omp_nest_lock_25_arg_t): New | |
493 | types. | |
494 | (omp_lock_25_arg, omp_nest_lock_25_arg): New macros. | |
495 | (omp_check_defines): Check even the compat defines. | |
496 | * config/linux/ptrlock.c: New file. | |
497 | * config/linux/ptrlock.h: New file. | |
498 | * config/linux/wait.h: New file. | |
499 | * config/posix/ptrlock.c: New file. | |
500 | * config/posix/ptrlock.h: New file. | |
501 | * config/linux/bar.h (gomp_team_barrier_wait, | |
502 | gomp_team_barrier_wait_end, gomp_team_barrier_wake): New prototypes. | |
503 | (gomp_team_barrier_set_task_pending, | |
504 | gomp_team_barrier_clear_task_pending, | |
505 | gomp_team_barrier_set_waiting_for_tasks, | |
506 | gomp_team_barrier_waiting_for_tasks, | |
507 | gomp_team_barrier_done): New inlines. | |
508 | (gomp_barrier_t): Rewritten. | |
509 | (gomp_barrier_state_t): New typedef. | |
510 | (gomp_barrier_init, gomp_barrier_reinit, gomp_barrier_destroy, | |
511 | gomp_barrier_wait_start): Rewritten. | |
512 | (gomp_barrier_wait_end): Change second argument to | |
513 | gomp_barrier_state_t. | |
514 | (gomp_barrier_last_thread, gomp_barrier_wait_last): New static | |
515 | inlines. | |
516 | * config/linux/bar.c: Include wait.h instead of libgomp.h and | |
517 | futex.h. | |
518 | (gomp_barrier_wait_end): Rewritten. | |
519 | (gomp_team_barrier_wait, gomp_team_barrier_wait_end, | |
520 | gomp_team_barrier_wake, gomp_barrier_wait_last): New functions. | |
521 | * config/posix/bar.h (gomp_barrier_t): Add generation field. | |
522 | (gomp_barrier_state_t): New typedef. | |
523 | (gomp_team_barrier_wait, | |
524 | gomp_team_barrier_wait_end, gomp_team_barrier_wake): New prototypes. | |
525 | (gomp_barrier_wait_start): Or all but low 2 bits from generation | |
526 | into the return value. Return gomp_barrier_state_t. | |
527 | (gomp_team_barrier_set_task_pending, | |
528 | gomp_team_barrier_clear_task_pending, | |
529 | gomp_team_barrier_set_waiting_for_tasks, | |
530 | gomp_team_barrier_waiting_for_tasks, | |
531 | gomp_team_barrier_done): New inlines. | |
532 | (gomp_barrier_wait_end): Change second argument to | |
533 | gomp_barrier_state_t. | |
534 | (gomp_barrier_last_thread, gomp_barrier_wait_last): New static | |
535 | inlines. | |
536 | * config/posix/bar.c (gomp_barrier_init): Clear generation field. | |
537 | (gomp_barrier_wait_end): Change second argument to | |
538 | gomp_barrier_state_t. | |
539 | (gomp_team_barrier_wait, gomp_team_barrier_wait_end, | |
540 | gomp_team_barrier_wake): New functions. | |
541 | * config/linux/mutex.c: Include wait.h instead of libgomp.h and | |
542 | futex.h. | |
543 | (gomp_futex_wake, gomp_futex_wait): New variables. | |
544 | (gomp_mutex_lock_slow): Call do_wait instead of futex_wait. | |
545 | * config/linux/lock.c: Rewrite to make locks task owned, | |
546 | for backwards compatibility provide the old entrypoints | |
547 | if symbol versioning. Include wait.h instead of libgomp.h and | |
548 | futex.h. | |
549 | (gomp_set_nest_lock_25): Call do_wait instead of futex_wait. | |
550 | * config/posix95/lock.c: Rewrite to make locks task owned, | |
551 | for backwards compatibility provide the old entrypoints | |
552 | if symbol versioning. | |
553 | * config/posix/lock.c: Rewrite to make locks task owned, | |
554 | for backwards compatibility provide the old entrypoints | |
555 | if symbol versioning. | |
556 | * config/linux/proc.c (gomp_init_num_threads): Use gomp_global_icv. | |
557 | (get_num_procs, gomp_dynamic_max_threads): Use gomp_icv. | |
558 | * config/posix/proc.c, config/mingw32/proc.c: Similarly. | |
559 | * config/linux/powerpc/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove. | |
560 | (sys_futex0): Return error code. | |
561 | (futex_wake, futex_wait): If ENOSYS was returned, clear | |
562 | FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry. | |
563 | (cpu_relax, atomic_write_barrier): New static inlines. | |
564 | * config/linux/alpha/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove. | |
565 | (futex_wake, futex_wait): If ENOSYS was returned, clear | |
566 | FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry. | |
567 | (cpu_relax, atomic_write_barrier): New static inlines. | |
568 | * config/linux/x86/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove. | |
569 | (sys_futex0): Return error code. | |
570 | (futex_wake, futex_wait): If ENOSYS was returned, clear | |
571 | FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry. | |
572 | (cpu_relax, atomic_write_barrier): New static inlines. | |
573 | * config/linux/s390/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove. | |
574 | (sys_futex0): Return error code. | |
575 | (futex_wake, futex_wait): If ENOSYS was returned, clear | |
576 | FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry. | |
577 | (cpu_relax, atomic_write_barrier): New static inlines. | |
578 | * config/linux/ia64/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove. | |
579 | (sys_futex0): Return error code. | |
580 | (futex_wake, futex_wait): If ENOSYS was returned, clear | |
581 | FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry. | |
582 | (cpu_relax, atomic_write_barrier): New static inlines. | |
583 | * config/linux/sparc/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove. | |
584 | (sys_futex0): Return error code. | |
585 | (futex_wake, futex_wait): If ENOSYS was returned, clear | |
586 | FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry. | |
587 | (cpu_relax, atomic_write_barrier): New static inlines. | |
588 | * config/linux/sem.c: Include wait.h instead of libgomp.h and | |
589 | futex.h. | |
590 | (gomp_sem_wait_slow): Call do_wait instead of futex_wait. | |
591 | * config/linux/affinity.c: Assume HAVE_SYNC_BUILTINS. | |
592 | * config/linux/omp-lock.h (omp_lock_25_t, omp_nest_lock_25_t): New | |
593 | types. | |
594 | (omp_nest_lock_t): Change owner into void *, add lock field. | |
595 | * config/posix95/omp-lock.h: Include semaphore.h. | |
596 | (omp_lock_25_t, omp_nest_lock_25_t): New types. | |
597 | (omp_lock_t): Use sem_t instead of mutex if semaphores | |
598 | aren't broken. | |
599 | (omp_nest_lock_t): Likewise. Change owner to void *. | |
600 | * config/posix/omp-lock.h: Include semaphore.h. | |
601 | (omp_lock_25_t, omp_nest_lock_25_t): New types. | |
602 | (omp_lock_t): Use sem_t instead of mutex if semaphores | |
603 | aren't broken. | |
604 | (omp_nest_lock_t): Likewise. Add owner field. | |
605 | ||
606 | 2008-06-06 Jakub Jelinek <jakub@redhat.com> | |
607 | ||
608 | * testsuite/libgomp.c/collapse-1.c: New test. | |
609 | * testsuite/libgomp.c/collapse-2.c: New test. | |
610 | * testsuite/libgomp.c/collapse-3.c: New test. | |
611 | * testsuite/libgomp.c/icv-1.c: New test. | |
612 | * testsuite/libgomp.c/icv-2.c: New test. | |
613 | * testsuite/libgomp.c/lib-2.c: New test. | |
614 | * testsuite/libgomp.c/lock-1.c: New test. | |
615 | * testsuite/libgomp.c/lock-2.c: New test. | |
616 | * testsuite/libgomp.c/lock-3.c: New test. | |
617 | * testsuite/libgomp.c/loop-4.c: New test. | |
618 | * testsuite/libgomp.c/loop-5.c: New test. | |
619 | * testsuite/libgomp.c/loop-6.c: New test. | |
620 | * testsuite/libgomp.c/loop-7.c: New test. | |
621 | * testsuite/libgomp.c/loop-8.c: New test. | |
622 | * testsuite/libgomp.c/loop-9.c: New test. | |
623 | * testsuite/libgomp.c/nested-3.c: New test. | |
624 | * testsuite/libgomp.c/nestedfn-6.c: New test. | |
625 | * testsuite/libgomp.c/sort-1.c: New test. | |
626 | * testsuite/libgomp.c/task-1.c: New test. | |
627 | * testsuite/libgomp.c/task-2.c: New test. | |
628 | * testsuite/libgomp.c/task-3.c: New test. | |
629 | * testsuite/libgomp.c/task-4.c: New test. | |
630 | * testsuite/libgomp.c++/c++.exp: Add libstdc++-v3 build includes | |
631 | to C++ testsuite default compiler options. | |
632 | * testsuite/libgomp.c++/collapse-1.C: New test. | |
633 | * testsuite/libgomp.c++/collapse-2.C: New test. | |
634 | * testsuite/libgomp.c++/ctor-10.C: New test. | |
635 | * testsuite/libgomp.c++/for-1.C: New test. | |
636 | * testsuite/libgomp.c++/for-2.C: New test. | |
637 | * testsuite/libgomp.c++/for-3.C: New test. | |
638 | * testsuite/libgomp.c++/for-4.C: New test. | |
639 | * testsuite/libgomp.c++/for-5.C: New test. | |
640 | * testsuite/libgomp.c++/loop-8.C: New test. | |
641 | * testsuite/libgomp.c++/loop-9.C: New test. | |
642 | * testsuite/libgomp.c++/loop-10.C: New test. | |
643 | * testsuite/libgomp.c++/task-1.C: New test. | |
644 | * testsuite/libgomp.c++/task-2.C: New test. | |
645 | * testsuite/libgomp.c++/task-3.C: New test. | |
646 | * testsuite/libgomp.c++/task-4.C: New test. | |
647 | * testsuite/libgomp.c++/task-5.C: New test. | |
648 | * testsuite/libgomp.c++/task-6.C: New test. | |
649 | * testsuite/libgomp.fortran/allocatable1.f90: New test. | |
650 | * testsuite/libgomp.fortran/allocatable2.f90: New test. | |
651 | * testsuite/libgomp.fortran/allocatable3.f90: New test. | |
652 | * testsuite/libgomp.fortran/allocatable4.f90: New test. | |
653 | * testsuite/libgomp.fortran/collapse1.f90: New test. | |
654 | * testsuite/libgomp.fortran/collapse2.f90: New test. | |
655 | * testsuite/libgomp.fortran/collapse3.f90: New test. | |
656 | * testsuite/libgomp.fortran/collapse4.f90: New test. | |
657 | * testsuite/libgomp.fortran/lastprivate1.f90: New test. | |
658 | * testsuite/libgomp.fortran/lastprivate2.f90: New test. | |
659 | * testsuite/libgomp.fortran/lib4.f90: New test. | |
660 | * testsuite/libgomp.fortran/lock-1.f90: New test. | |
661 | * testsuite/libgomp.fortran/lock-2.f90: New test. | |
662 | * testsuite/libgomp.fortran/nested1.f90: New test. | |
663 | * testsuite/libgomp.fortran/nestedfn4.f90: New test. | |
664 | * testsuite/libgomp.fortran/strassen.f90: New test. | |
665 | * testsuite/libgomp.fortran/tabs1.f90: New test. | |
666 | * testsuite/libgomp.fortran/tabs2.f: New test. | |
667 | * testsuite/libgomp.fortran/task1.f90: New test. | |
668 | * testsuite/libgomp.fortran/task2.f90: New test. | |
669 | * testsuite/libgomp.fortran/vla4.f90: Add dg-warning. | |
670 | * testsuite/libgomp.fortran/vla5.f90: Likewise. | |
671 | * testsuite/libgomp.c/pr26943-2.c: Likewise. | |
672 | * testsuite/libgomp.c/pr26943-3.c: Likewise. | |
673 | * testsuite/libgomp.c/pr26943-4.c: Likewise. | |
674 | ||
7a0112e7 JJ |
675 | 2008-05-23 Jakub Jelinek <jakub@redhat.com> |
676 | ||
677 | PR c++/36308 | |
678 | * testsuite/libgomp.c++/ctor-11.C: New test. | |
679 | * testsuite/libgomp.c++/ctor-12.C: New test. | |
680 | ||
91a5b394 JJ |
681 | 2008-05-15 Janis Johnson <janis187@us.ibm.com> |
682 | ||
683 | * testsuite/lib/libgomp.exp: Load torture-options.exp from gcc lib. | |
684 | ||
c18c98c0 JJ |
685 | 2008-05-07 Jakub Jelinek <jakub@redhat.com> |
686 | ||
687 | PR middle-end/36106 | |
688 | * testsuite/libgomp.c/atomic-5.c: New test. | |
689 | * testsuite/libgomp.c/atomic-6.c: New test. | |
690 | * testsuite/libgomp.c/autopar-1.c: New test. | |
691 | ||
6d26724a RW |
692 | 2008-04-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
693 | ||
694 | * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS) | |
695 | (LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY) | |
696 | (LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT) | |
697 | (LIBGOMP_CHECK_ATTRIBUTE_ALIAS): Fix cache variable names. | |
698 | * configure: Regenerate. | |
699 | * Makefile.in, testsuite/Makefile.in: Likewise. | |
700 | ||
deb984e6 PB |
701 | 2008-04-18 Paolo Bonzini <bonzini@gnu.org> |
702 | ||
703 | PR bootstrap/35457 | |
704 | * aclocal.m4: Regenerate. | |
705 | * configure: Regenerate. | |
706 | ||
9e775963 JJ |
707 | 2008-03-18 Jakub Jelinek <jakub@redhat.com> |
708 | ||
8119fc93 JJ |
709 | PR middle-end/35611 |
710 | * testsuite/libgomp.c/atomic-4.c: New test. | |
711 | ||
9e775963 JJ |
712 | PR libgomp/35625 |
713 | * iter.c (gomp_iter_guided_next_locked): If q > n, set end to ws->end. | |
714 | (gomp_iter_guided_next): Likewise. | |
715 | * testsuite/libgomp.c/pr35625.c: New test. | |
716 | ||
38d24731 RW |
717 | 2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
718 | ||
719 | * aclocal.m4: Regenerate. | |
720 | * configure: Likewise. | |
721 | * Makefile.in: Likewise. | |
722 | * testsuite/Makefile.in: Likewise. | |
723 | ||
d0fb20be JJ |
724 | 2008-03-13 Jakub Jelinek <jakub@redhat.com> |
725 | ||
726 | PR middle-end/35185 | |
727 | * testsuite/libgomp.c++/pr35185.C: New test. | |
728 | ||
7c8f7639 JJ |
729 | 2008-03-12 Jakub Jelinek <jakub@redhat.com> |
730 | ||
731 | PR middle-end/35549 | |
732 | * testsuite/libgomp.c/pr35549.c: New test. | |
733 | ||
251923f5 JJ |
734 | 2008-03-06 Jakub Jelinek <jakub@redhat.com> |
735 | ||
736 | * testsuite/libgomp.c/atomic-3.c: New test. | |
737 | ||
f489fba1 FXC |
738 | 2008-03-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> |
739 | ||
740 | PR fortran/33197 | |
251923f5 | 741 | * testsuite/libgomp.fortran/fortran.exp: Add .f08 and |
f489fba1 FXC |
742 | .F08 file suffixes. |
743 | ||
a1b25e49 PG |
744 | 2008-03-03 Peter O'Gorman <pogma@thewrittenword.com> |
745 | ||
746 | PR libgomp/33131 | |
747 | * configure.ac: Add ACX_HEADER_STRING. | |
748 | * env.c: Include strings.h. | |
749 | * aclocal.m4: Regenerate. | |
750 | * config.h.in: Regenerate. | |
751 | * configure: Regenerate. | |
752 | * Makefile.in: Regenerate. | |
753 | * testsuite/Makefile.in: Regenerate. | |
754 | ||
6837b3b8 JJ |
755 | 2008-02-15 Jakub Jelinek <jakub@redhat.com> |
756 | ||
ac84c062 JJ |
757 | PR middle-end/35196 |
758 | * testsuite/libgomp.c/pr35196.c: New test. | |
759 | ||
6837b3b8 JJ |
760 | PR middle-end/35130 |
761 | * testsuite/libgomp.fortran/pr35130.f90: New test. | |
762 | * testsuite/libgomp.c/pr35130.c: New test. | |
763 | ||
c256730c JJ |
764 | 2008-01-25 Jakub Jelinek <jakub@redhat.com> |
765 | ||
766 | PR middle-end/33880 | |
767 | * testsuite/libgomp.c/pr33880.c: New test. | |
768 | * testsuite/libgomp.fortran/pr33880.f90: New test. | |
769 | ||
c8e95542 | 770 | 2008-01-24 David Edelsohn <edelsohn@gnu.org> |
d653fdfb DE |
771 | |
772 | * configure: Regenerate. | |
773 | ||
0f3e711e JJ |
774 | 2008-01-08 Jakub Jelinek <jakub@redhat.com> |
775 | ||
776 | * configure.ac: Move futex checking into ../config/futex.m4. | |
777 | * configure: Rebuilt. | |
778 | * aclocal.m4: Rebuilt. | |
779 | * Makefile.in: Rebuilt. | |
780 | ||
781 | * configure.tgt: Rename have_tls to gcc_cv_have_tls to match | |
782 | 2007-10-15 ../config/tls.m4 change. | |
783 | ||
5259c813 JJ |
784 | 2007-12-19 Jakub Jelinek <jakub@redhat.com> |
785 | ||
786 | PR c++/34513 | |
787 | * testsuite/libgomp.c/pr34513.c: New test. | |
788 | * testsuite/libgomp.c++/pr34513.C: New test. | |
789 | ||
ae8d8879 JH |
790 | 2007-12-17 Jack Howarth <howarth@bromo.med.uc.edu> |
791 | ||
792 | PR target/32765 | |
793 | * testsuite/libgomp.fortran/crayptr2.f90: Move dg-options for darwin. | |
794 | ||
2b4cf991 JJ |
795 | 2007-12-04 Jakub Jelinek <jakub@redhat.com> |
796 | ||
797 | * omp.h.in (__GOMP_NOTHROW): Define. Use it on omp_* prototypes. | |
798 | ||
d2dda7fe JJ |
799 | 2007-12-03 Jakub Jelinek <jakub@redhat.com> |
800 | ||
801 | * testsuite/libgomp.c/private-1.c: New test. | |
802 | ||
d683ec81 PB |
803 | 2007-11-29 Andris Pavenis <andris.pavenis@iki.fi> |
804 | Paolo Bonzini <bonzini@gnu.org> | |
805 | ||
806 | * Makefile.am: Use space as vpath separator. Use 'vpath %' | |
807 | instead of 'VPATH ='. | |
808 | * Makefile.in: Regenerate. | |
809 | ||
a7415017 MK |
810 | 2007-11-23 Matthias Klose <doko@ubuntu.com> |
811 | ||
812 | * configure.ac: Adjust makeinfo version check. | |
813 | * configure: Regenerate. | |
814 | ||
78e47463 JJ |
815 | 2007-11-10 Jakub Jelinek <jakub@redhat.com> |
816 | ||
817 | PR fortran/34020 | |
818 | * testsuite/libgomp.fortran/pr34020.f90: New test. | |
819 | ||
239371f9 JJ |
820 | 2007-11-06 Jakub Jelinek <jakub@redhat.com> |
821 | ||
822 | PR c++/33894 | |
823 | * testsuite/libgomp.c++/atomic-1.C: New test. | |
824 | ||
98a5fa94 JJ |
825 | 2007-10-25 Jakub Jelinek <jakub@redhat.com> |
826 | ||
827 | PR libgomp/33275 | |
828 | * testsuite/libgomp.fortran/omp_parse3.f90 (test_threadprivate): | |
829 | Make x and y integers rather than (implicit) reals. Add private (j) | |
830 | clause to the last omp parallel. | |
831 | ||
3afcaaf4 MR |
832 | 2007-10-15 Maciej W. Rozycki <macro@linux-mips.org> |
833 | ||
834 | * configure: Regenerate following changes to ../config/tls.m4. | |
835 | ||
bd69daef JJ |
836 | 2007-09-28 Jakub Jelinek <jakub@redhat.com> |
837 | ||
838 | * testsuite/libgomp.fortran/stack.f90: New test. | |
839 | ||
1d0bd356 DS |
840 | 2007-09-10 Danny Smith <dannysmith@users.sourceforge.net> |
841 | ||
842 | * config/mingw32/proc.c: New file. | |
843 | ||
b3172cab UB |
844 | 2007-09-05 Uros Bizjak <ubizjak@gmail.com> |
845 | ||
846 | * testsuite/libgomp.c/atomic-1.c: Include cpuid.h for i386 targets. | |
847 | (main): Use __get_cpuid to get i386 target fetaures. | |
848 | * testsuite/libgomp.c/atomic-2.c: Include cpuid.h for x86_64 targets. | |
849 | (main): Use __get_cpuid to get x86_64 target fetaures. | |
850 | ||
6da17392 JH |
851 | 2007-08-15 Jack Howarth <howarth@bromo.med.uc.edu> |
852 | ||
853 | PR target/32765 | |
854 | * testsuite/libgomp.fortran/pr32550.f90: Use -static-libgcc on Darwin. | |
855 | * testsuite/libgomp.fortran/crayptr2.f90: Likwise. | |
856 | ||
e1c82219 JJ |
857 | 2007-07-12 Jakub Jelinek <jakub@redhat.com> |
858 | ||
859 | PR fortran/32550 | |
860 | * testsuite/libgomp.fortran/pr32550.f90: New test. | |
861 | * testsuite/libgomp.fortran/crayptr2.f90: New test. | |
862 | ||
12a27363 L |
863 | 2007-07-05 H.J. Lu <hongjiu.lu@intel.com> |
864 | ||
865 | * aclocal.m4: Regenerated. | |
866 | ||
5349080d TB |
867 | 2007-07-05 Tobias Burnus <burnus@net-b.de> |
868 | ||
869 | PR fortran/32359 | |
870 | * testsuite/libgomp.fortran/pr32359.f90: New. | |
871 | ||
4f9c450c JJ |
872 | 2007-07-02 Jakub Jelinek <jakub@redhat.com> |
873 | ||
874 | PR libgomp/32468 | |
875 | * sections.c (GOMP_parallel_sections_start): Only decrease | |
876 | number of threads to COUNT if dyn_var is true. | |
877 | * testsuite/libgomp.c/pr32468.c: New test. | |
878 | ||
28c67ed7 RO |
879 | 2007-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
880 | ||
881 | PR libgomp/26308 | |
882 | * config/posix/lock.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX. | |
883 | ||
64964499 JJ |
884 | 2007-06-21 Jakub Jelinek <jakub@redhat.com> |
885 | ||
886 | PR middle-end/32362 | |
887 | * testsuite/libgomp.c/pr32362-1.c: New test. | |
888 | * testsuite/libgomp.c/pr32362-2.c: New test. | |
889 | * testsuite/libgomp.c/pr32362-3.c: New test. | |
890 | ||
46d8fbd1 JJ |
891 | 2007-06-07 Jakub Jelinek <jakub@redhat.com> |
892 | ||
893 | * team.c (gomp_team_start): Fix setting up thread_attr | |
894 | stack size. | |
895 | ||
82a6cadf PB |
896 | 2007-06-02 Paolo Bonzini <bonzini@gnu.org> |
897 | ||
898 | * configure: Regenerate. | |
899 | ||
1cf3d07d SE |
900 | 2007-05-23 Steve Ellcey <sje@cup.hp.com> |
901 | ||
902 | * Makefile.in: Regenerate. | |
903 | * configure: Regenerate. | |
904 | * aclocal.m4: Regenerate. | |
905 | * testsuite/Makefile.in: Regenerate. | |
906 | ||
12aac30b JJ |
907 | 2007-05-04 Jakub Jelinek <jakub@redhat.com> |
908 | ||
909 | * config/linux/proc.c: New file. | |
910 | ||
f1028b02 JJ |
911 | PR libgomp/28482 |
912 | * configure.tgt: Don't link with -Wl,-z,nodlopen even on Linux. | |
913 | ||
06785a48 DF |
914 | 2007-04-19 Daniel Franke <franke.daniel@gmail.com> |
915 | ||
916 | * libgomp.texi (GOMP_CPU_AFFINITY): Updated. | |
917 | ||
b3b08ba0 MK |
918 | 2007-04-16 Matthias Klose <doko@debian.org> |
919 | ||
920 | * configure.tgt (i[456]86-*-linux*): Only add ia32 specific | |
921 | flags if not building with -m64. | |
922 | * testsuite/lib/libgomp-dg.exp (libgomp_init): Don't add -march | |
923 | flag for i?86-*-* targets, if current target matches -m64. | |
924 | ||
6b2c5ce0 SE |
925 | 2007-04-14 Steve Ellcey <sje@cup.hp.com> |
926 | ||
927 | * Makefile.am: Add -I .. to ACLOCAL_AMFLAGS. | |
928 | * Makefile.in: Regenerate. | |
929 | ||
dd56fe7c JDA |
930 | 2007-04-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
931 | ||
932 | PR testsuite/31369 | |
933 | * testsuite/libgomp.c++/c++.exp: Don't use concat when setting | |
934 | ld_library_path. | |
935 | * testsuite/libgomp.fortran/fortran.exp: Likewise. | |
936 | ||
a0884cf0 JJ |
937 | 2007-04-04 Jakub Jelinek <jakub@redhat.com> |
938 | ||
939 | * libgomp.h (gomp_cpu_affinity, gomp_cpu_affinity_len): New extern | |
940 | decls. | |
941 | (gomp_init_affinity, gomp_init_thread_affinity): New prototypes. | |
942 | * env.c (gomp_cpu_affinity, gomp_cpu_affinity_len): New variables. | |
943 | (parse_affinity): New function. | |
944 | (initialize_env): Call it and gomp_init_affinity. | |
945 | * team.c (gomp_team_start): If gomp_cpu_affinity != NULL, | |
946 | create new pthread_attr_t and call gomp_init_thread_affinity | |
947 | on it for each thread before passing the attribute to pthread_create. | |
948 | * config/linux/affinity.c: New file. | |
949 | * config/posix/affinity.c: New file. | |
950 | * configure.ac (HAVE_PTHREAD_AFFINITY_NP): New test. | |
951 | * configure: Rebuilt. | |
952 | * config.h.in: Rebuilt. | |
953 | * Makefile.am (libgomp_la_SOURCES): Add affinity.c. | |
954 | * Makefile.in: Rebuilt. | |
955 | ||
1850744b AT |
956 | 2007-03-23 Andreas Tobler <a.tobler@schweiz.org> |
957 | ||
958 | * testsuite/lib/libgomp.exp (libgomp_init): Add -shared-libgcc for | |
959 | *-*-darwin*. | |
960 | * testsuite/libgomp.c++/c++.exp: Look for shared libstdc++ library | |
961 | and use it if found. | |
962 | ||
516f1ed8 UB |
963 | 2007-03-18 Uros Bizjak <ubizjak@gmail.com> |
964 | ||
965 | * testsuite/config/default.exp: New file. | |
966 | * testsuite/lib/libgomp.exp: New file. | |
967 | * testsuite/lib/libgomp.dg (load_gcc_lib, libgomp_init, | |
968 | libgomp_target_compile, libgomp_option_help, libgomp_option_proc, | |
969 | load_lib *, load_gcc_lib *): Move to libgomp.exp. | |
970 | (libgomp_load): Remove. | |
971 | * testsuite/lib/libgomp.exp (libgomp_init): Compute | |
972 | always_ld_library_path, not ld_library_path. Set additional_flags | |
973 | to -march=i486 for ilp32 x86_64-*-* and i386-*-* targets. | |
974 | (target_compile): Do not call libgomp_init. Append lang_library_path | |
975 | and lang_link_flags to options. | |
976 | * testsuite/libgomp.c/c.exp: Set DEFAULT_FLAGS to -O2. Set | |
977 | ld_library_path from always_ld_library_path. Set LD_LIBRARY_PATH | |
978 | here. | |
979 | * testsuite/libgomp.c++/c++.exp: Set ld_library_path from | |
980 | always_ld_library_path. Set LD_LIBRARY_PATH here. | |
981 | * testsuite/libgomp.fortran/fortran.exp: Ditto. | |
982 | * testsuite/libgomp.c/atomic-1.c: Set dg-options to | |
983 | "-O2 -march=pentium" for ilp32 x86 targets. Simplify check for | |
984 | CX8 flag. | |
985 | * testsuite/libgomp.c/atomic-2.c: Set dg-options to "-O2 -mcx16" for | |
986 | lp64 x86 targets. Do not check for SSE3 bit. Do not define bit_SSE3. | |
987 | * testsuite/libgomp.c/pr29947-1.c: Remove default dg-options. | |
988 | * testsuite/libgomp.c/pr29947-1.c: Ditto. | |
989 | * testsuite/libgomp.c/atomic-10.c: Ditto. | |
990 | ||
2ada56f5 JJ |
991 | 2007-03-21 Jakub Jelinek <jakub@redhat.com> |
992 | ||
993 | * testsuite/libgomp.fortran/appendix-a/a.22.8.f90: Add | |
994 | dg-final cleanup-modules line. | |
995 | * testsuite/libgomp.fortran/appendix-a/a.40.1.f90: Likewise. | |
996 | * testsuite/libgomp.fortran/appendix-a/a.31.5.f90: Likewise. | |
997 | * testsuite/libgomp.fortran/appendix-a/a.31.4.f90: Likewise. | |
998 | * testsuite/libgomp.fortran/threadprivate2.f90: Likewise. | |
999 | * testsuite/libgomp.fortran/reduction5.f90: Likewise. | |
1000 | * testsuite/libgomp.fortran/threadprivate3.f90: Likewise. | |
1001 | * testsuite/libgomp.fortran/threadprivate1.f90: Likewise. | |
1002 | ||
f210f1cd AS |
1003 | 2007-03-18 Andreas Schwab <schwab@suse.de> |
1004 | ||
1005 | * acinclude.m4: Adjust regular expression for ld version | |
1006 | extraction. | |
1007 | * configure: Regenerate. | |
1008 | ||
c4dc950d BM |
1009 | 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com> |
1010 | ||
1011 | * Makefile.am: Add install-pdf target as copied from | |
1012 | automake v1.10 rules. | |
1013 | * Makefile.in: Regenerate | |
1014 | ||
e02a048f JJ |
1015 | 2007-02-07 Jakub Jelinek <jakub@redhat.com> |
1016 | ||
78e075d4 JJ |
1017 | PR libgomp/28486 |
1018 | * configure: Regenerate. | |
1019 | ||
e02a048f JJ |
1020 | PR c++/30703 |
1021 | * testsuite/libgomp.c++/pr30703.C: New test. | |
1022 | ||
60def7ed JJ |
1023 | 2007-02-02 Jakub Jelinek <jakub@redhat.com> |
1024 | ||
1025 | Revert: | |
1026 | 2006-07-05 Eric Christopher <echristo@apple.com> | |
1027 | * configure.ac: Depend addition of -pthread on host OS. | |
1028 | * configure: Regenerate. | |
1029 | ||
f1b0882e RW |
1030 | 2007-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
1031 | ||
1032 | * libgomp.texi: Fix spacing after abbreviations. | |
1033 | ||
748b9d7c DF |
1034 | 2007-01-31 Daniel Franke <franke.daniel@gmail.com> |
1035 | ||
1036 | PR libgomp/30546 | |
1037 | * configure.ac: Add check for makeinfo | |
1038 | * Makefile.am: Redefined target libgomp.info, build libgomp.info only | |
1039 | if an appropiate version of makeinfo is found. | |
1040 | * aclocal.m4: Regenerated. | |
1041 | * configure: Regenerated. | |
1042 | * Makefile.in: Regenerated. | |
1043 | * testsuite/Makefile.in: Regenerated. | |
1044 | ||
14734fc7 DF |
1045 | 2007-01-29 Daniel Franke <franke.daniel@gmail.com> |
1046 | ||
1047 | PR libgomp/30540 | |
1048 | * libgomp.texi: More about implementation-dependent settings. | |
1049 | ||
7befd5d2 TB |
1050 | 2007-01-26 Tobias Burnus <burnus@net-b.de> |
1051 | ||
1052 | * testsuite/libgomp.fortran/fortran.exp: Support .f03 extension. | |
1053 | ||
4288fea2 JJ |
1054 | 2007-01-24 Jakub Jelinek <jakub@redhat.com> |
1055 | ||
1056 | PR middle-end/30494 | |
1057 | * testsuite/libgomp.c/pr30494.c: New test. | |
1058 | ||
627ab4b8 TT |
1059 | 2007-01-15 Tom Tromey <tromey@redhat.com> |
1060 | ||
1061 | * configure: Rebuilt. | |
1062 | * configure.ac: Fixed comment. | |
1063 | ||
7c2b7f45 DF |
1064 | 2007-01-14 Daniel Franke <franke.daniel@gmail.com> |
1065 | ||
1066 | * libgomp.texi: Document implementation specific default values of | |
1067 | environment variables. | |
1068 | ||
3721b9e1 DF |
1069 | 2006-12-21 Daniel Franke <franke.daniel@gmail.com> |
1070 | ||
1071 | PR libgomp/28209 | |
1072 | * libgomp.texi: New file. | |
1073 | * configure.ac: Add --enable-generated-files-in-srcdir option. | |
1074 | * Makefile.am: Add info, dvi, pdf, html targets. On request, copy | |
1075 | files to srcdir. | |
1076 | * Makefile.in: Regenerated. | |
1077 | * config.h.in: Regenerated. | |
1078 | * testsuite/Makefile.in: Regenerated. | |
1079 | * NOTES: Removed. | |
1080 | ||
62bd6216 DF |
1081 | 2006-12-04 Daniel Franke <franke.daniel@gmail.com> |
1082 | ||
1083 | PR libgomp/29949 | |
1084 | * env.c (omp_set_num_threads): Set illegal thread count to 1. | |
1085 | ||
aad741f4 EB |
1086 | 2006-12-04 Eric Botcazou <ebotcazou@libertysurf.fr> |
1087 | ||
1088 | * configure: Regenerate. | |
1089 | ||
22568cc6 JJ |
1090 | 2006-12-04 Jakub Jelinek <jakub@redhat.com> |
1091 | ||
1092 | PR libgomp/29947 | |
1093 | * loop.c (gomp_loop_init): Make parameters signed. Set ws->end to | |
1094 | start if there shouldn't be any loop iterations. | |
1095 | (gomp_loop_ordered_static_start): Remove start == end test. | |
1096 | * testsuite/libgomp.c/pr29947-1.c: New test. | |
1097 | * testsuite/libgomp.c/pr29947-2.c: New test. | |
1098 | ||
a9690009 EB |
1099 | 2006-12-02 Eric Botcazou <ebotcazou@libertysurf.fr> |
1100 | ||
1101 | * configure.tgt: Force initial-exec TLS model on Linux only. | |
1102 | ||
597c25e6 DJ |
1103 | 2006-11-13 Daniel Jacobowitz <dan@codesourcery.com> |
1104 | ||
1105 | * configure: Regenerated. | |
1106 | ||
6acf0b38 UB |
1107 | 2006-11-09 Uros Bizjak <ubizjak@gmail.com> |
1108 | ||
1109 | * env.c (parse_schedule): Reject out of range values. | |
1110 | (parse_unsigned_long): Reject out of range, negative or zero values. | |
1111 | ||
a7a53ca5 JJ |
1112 | 2006-10-29 Jakub Jelinek <jakub@redhat.com> |
1113 | ||
1114 | PR fortran/29629 | |
1115 | * testsuite/libgomp.fortran/pr29629.f90: New test. | |
1116 | ||
6d4d216a EB |
1117 | 2006-10-24 Eric Botcazou <ebotcazou@libertysurf.fr> |
1118 | ||
1119 | PR libgomp/29494 | |
1120 | * configure.tgt: Use posix95 configuration for Solaris 2.5.1 and 2.6. | |
1121 | * config/posix95: New directory. | |
1122 | * config/posix95/omp-lock.h: New file. | |
1123 | * config/posix95/lock.c: Likewise. | |
1124 | ||
5b043f08 GK |
1125 | 2006-10-14 Geoffrey Keating <geoffk@apple.com> |
1126 | ||
1127 | * aclocal.m4: Regenerate. | |
1128 | * configure: Regenerate. | |
1129 | ||
b50019f0 DS |
1130 | 2006-10-05 Danny Smith <dannysmith@users.sourceforge.net> |
1131 | ||
1132 | * testsuite/libgomp.c/barrier-1.c: Change timestamp tests from | |
1133 | '<' to '<='. | |
1134 | ||
8887708e DS |
1135 | 2006-10-05 Danny Smith <dannysmith@users.sourceforge.net> |
1136 | ||
1137 | * acinclude.m4 (HAVE_ATTRIBUTE_ALIAS): Remove __USER_LABEL_PREFIX__ from | |
1138 | test. | |
1139 | * configure: Regenerate. | |
1140 | * fortran.c (ialias_redirect): Add __USER_LABEL_PREFIX__ to alias. | |
1141 | ||
9b9e4cd6 JJ |
1142 | 2006-09-26 Jakub Jelinek <jakub@redhat.com> |
1143 | ||
a70ad3bb JJ |
1144 | PR middle-end/25261 |
1145 | PR middle-end/28790 | |
1146 | * testsuite/libgomp.c/nestedfn-4.c: New test. | |
1147 | * testsuite/libgomp.c/nestedfn-5.c: New test. | |
1148 | * testsuite/libgomp.fortran/nestedfn3.f90: New test. | |
1149 | ||
9b9e4cd6 JJ |
1150 | PR fortran/29097 |
1151 | * testsuite/libgomp.fortran/condinc1.f: New test. | |
1152 | * testsuite/libgomp.fortran/condinc2.f: New test. | |
1153 | * testsuite/libgomp.fortran/condinc3.f90: New test. | |
1154 | * testsuite/libgomp.fortran/condinc4.f90: New test. | |
1155 | * testsuite/libgomp.fortran/condinc1.inc: New file. | |
1156 | ||
2fb31455 TT |
1157 | 2006-09-18 Tom Tromey <tromey@redhat.com> |
1158 | ||
1159 | * configure: Rebuilt. | |
1160 | ||
c663e301 JM |
1161 | 2006-09-13 Joseph S. Myers <joseph@codesourcery.com> |
1162 | ||
1163 | PR c/28768 | |
1164 | PR preprocessor/14634 | |
1165 | * configure.ac (HAVE_CLOCK_GETTIME): Add missing second argument | |
1166 | to AC_DEFINE. | |
1167 | * configure: Regenerate. | |
1168 | ||
38371be9 SK |
1169 | 2006-09-08 Steven G. Kargl <kargl@gcc.gnu.org> |
1170 | ||
1171 | * testsuite/libgomp.fortran/reduction3.f90: Change | |
1172 | -2147483648 to -huge(i)-1 to avoid overflow. | |
1173 | * testsuite/libgomp.fortran/reduction4.f90: Change | |
1174 | Z'ffffffff' to not(0) to avoid overflow. | |
1175 | ||
571d5ac5 JM |
1176 | 2006-08-26 Joseph S. Myers <joseph@codesourcery.com> |
1177 | ||
1178 | PR libgomp/25938 | |
1179 | * Makefile.am (libsubincludedir): New. | |
1180 | (nodist_include_HEADERS): Rename to nodist_libsubinclude_HEADERS. | |
1181 | * Makefile.in: Regenerate. | |
1182 | ||
89b3e3cd JJ |
1183 | 2006-08-17 Jakub Jelinek <jakub@redhat.com> |
1184 | ||
1185 | PR libgomp/28725 | |
1186 | * env.c: Include ctype.h. | |
1187 | (parse_schedule, parse_unsigned_long, parse_boolean): Allow | |
1188 | leading and/or trailing whitespace and compare strings case | |
1189 | insensitively. | |
1190 | ||
742fae05 JJ |
1191 | 2006-07-16 Jakub Jelinek <jakub@redhat.com> |
1192 | ||
1193 | PR fortran/28390 | |
1194 | * testsuite/libgomp.fortran/pr28390.f: New test. | |
1195 | ||
a1daed2d EC |
1196 | 2006-07-05 Eric Christopher <echristo@apple.com> |
1197 | ||
1198 | * configure.ac: Depend addition of -pthread on host OS. | |
1199 | * configure: Regenerate. | |
1200 | ||
5d7b5199 JJ |
1201 | 2006-06-21 Jakub Jelinek <jakub@redhat.com> |
1202 | ||
1203 | * critical.c (GOMP_critical_name_start): Fix *pptr initialization | |
1204 | when gomp_mutex_t is larger than pointer and HAVE_SYNC_BUILTINS is | |
1205 | defined. | |
1206 | ||
fe5568e9 JJ |
1207 | 2006-06-20 Jakub Jelinek <jakub@redhat.com> |
1208 | ||
1209 | PR libgomp/26175 | |
1210 | PR libgomp/26477 | |
1211 | * configure.ac: If neither --enable-linux-futex nor | |
1212 | --disable-linux-futex is passed, determine the default by checking | |
1213 | for compiling and/or running against NPTL. With --enable-linux-futex, | |
1214 | check if SYS_gettid and SYS_futex are defined. | |
1215 | * configure: Rebuilt. | |
1216 | ||
c3b11a40 RH |
1217 | 2006-06-14 Richard Henderson <rth@redhat.com> |
1218 | ||
1219 | PR libgomp/28008 | |
1220 | * env.c (initialize_env): Avoid using PTHREAD_STACK_MIN when | |
1221 | undefined. Use GOMP_STACKSIZE not OMP_STACKSIZE for environment. | |
1222 | ||
d0d1b24d RH |
1223 | 2006-06-09 Richard Henderson <rth@redhat.com> |
1224 | ||
1225 | * env.c (gomp_nthreads_var): Change to unsigned long. | |
1226 | (gomp_run_sched_chunk): Likewise. | |
1227 | (parse_unsigned_long): Rename from parse_num_threads and generalize. | |
1228 | (initialize_env): Initialize gomp_thread_attr. | |
1229 | * libgomp.h (gomp_nthreads_var): Update decl. | |
1230 | (gomp_run_sched_chunk): Likewise. | |
1231 | (gomp_thread_attr): Declare. | |
1232 | * team.c (gomp_thread_attr): Export. | |
1233 | (initialize_team): Don't initialize it. | |
1234 | ||
cd75853e JJ |
1235 | 2006-06-09 Jakub Jelinek <jakub@redhat.com> |
1236 | ||
1237 | PR fortran/27916 | |
1238 | * testsuite/libgomp.fortran/pr27916-1.f90: New test. | |
1239 | * testsuite/libgomp.fortran/pr27916-2.f90: New test. | |
1240 | ||
33815e0c FXC |
1241 | 2006-06-06 Francois-Xavier Coudert <coudert@clipper.ens.fr> |
1242 | ||
1243 | * config/mingw32/time.c: New file. | |
1244 | * configure.tgt: Use it. | |
1245 | ||
6667de0d CD |
1246 | 2006-05-23 Carlos O'Donell <carlos@codesourcery.com> |
1247 | ||
1248 | * Makefile.am: Add install-html target. Add install-html to .PHONY | |
1249 | * Makefile.in: Regenerate. | |
1250 | ||
e962c46b JDA |
1251 | 2006-05-22 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
1252 | ||
1253 | PR libgomp/27612 | |
1254 | * testsuite/libgomp.c/sections-1.c: Require sync_int_long. | |
1255 | * testsuite/libgomp.c/critical-1.c: Likewise. | |
1256 | * testsuite/libgomp.c/loop-1.c: Likewise. | |
1257 | * testsuite/libgomp.c/loop-2.c: Likewise. | |
1258 | * testsuite/libgomp.c/single-1.c: Likewise. | |
1259 | * testsuite/libgomp.c/ordered-1.c: Likewise. | |
1260 | * testsuite/libgomp.c/ordered-2.c: Likewise. | |
1261 | ||
eeb1d9e0 JJ |
1262 | 2006-05-15 Jakub Jelinek <jakub@redhat.com> |
1263 | ||
1264 | PR middle-end/27416 | |
1265 | * libgomp.fortran/pr27416-1.f90: New test. | |
1266 | ||
693d710f JJ |
1267 | 2006-05-03 Jakub Jelinek <jakub@redhat.com> |
1268 | ||
1269 | PR fortran/27395 | |
1270 | * testsuite/libgomp.fortran/pr27395-1.f90: New test. | |
1271 | * testsuite/libgomp.fortran/pr27395-2.f90: New test. | |
1272 | ||
8ca5b2a2 JJ |
1273 | 2006-05-02 Jakub Jelinek <jakub@redhat.com> |
1274 | ||
1275 | PR c++/26943 | |
1276 | * testsuite/libgomp.c/pr26943-1.c: New test. | |
1277 | * testsuite/libgomp.c/pr26943-2.c: New test. | |
1278 | * testsuite/libgomp.c/pr26943-3.c: New test. | |
1279 | * testsuite/libgomp.c/pr26943-4.c: New test. | |
1280 | * testsuite/libgomp.c++/pr27337.C: Remove barrier. | |
1281 | * testsuite/libgomp.c++/pr26943.C: New test. | |
1282 | ||
077b0dfb JJ |
1283 | 2006-05-02 Jakub Jelinek <jakub@redhat.com> |
1284 | ||
1285 | PR middle-end/27337 | |
1286 | * testsuite/libgomp.c++/pr27337.C: New test. | |
1287 | ||
91b6c26d JJ |
1288 | 2006-04-26 Jakub Jelinek <jakub@redhat.com> |
1289 | ||
1290 | PR c/26171 | |
1291 | * testsuite/libgomp.c/pr26171.c: New test. | |
1292 | ||
60e1758f RH |
1293 | 2006-04-25 Richard Henderson <rth@redhat.com> |
1294 | ||
1295 | PR libgomp/25865 | |
1296 | * configure.ac: Use GCC_CHECK_TLS. | |
1297 | * acinclude.m4 (LIBGOMP_CHECK_TLS): Remove. | |
1298 | * Makefile.in, aclocal.m4, configure: Regenerate. | |
1299 | ||
615baed7 MK |
1300 | 2006-04-10 Matthias Klose <doko@debian.org> |
1301 | ||
1302 | * testsuite/lib/libgomp.exp (libgomp_init): Recognize multilib | |
1303 | directory names containing underscores. | |
1304 | ||
fae2b46b JJ |
1305 | 2006-03-21 Jakub Jelinek <jakub@redhat.com> |
1306 | ||
1307 | PR c++/26691 | |
1308 | * testsuite/libgomp.c++/pr26691.C: New test. | |
1309 | ||
11a5f608 JJ |
1310 | 2006-03-13 Jakub Jelinek <jakub@redhat.com> |
1311 | ||
1312 | * testsuite/libgomp.fortran/retval2.f90: New test. | |
1313 | ||
1799e5d5 RH |
1314 | 2006-03-09 Diego Novillo <dnovillo@redhat.com> |
1315 | ||
1316 | * testsuite/libgomp.c++: New directory. | |
1317 | ||
d349482e AT |
1318 | 2006-02-25 Shantonu Sen <ssen@opendarwin.org> |
1319 | ||
1320 | * config/posix/sem.h: Define BROKEN_POSIX_SEMAPHORES functions. | |
1321 | * config/posix/sem.c: Implement the above. | |
1322 | ||
1323 | 2006-02-25 Andreas Tobler <a.tobler@schweiz.ch> | |
1324 | ||
1325 | * configure.ac (HAVE_BROKEN_POSIX_SEMAPHORES): Check for darwin and | |
1326 | define HAVE_BROKEN_POSIX_SEMAPHORES. | |
1327 | * configure: Rebuilt. | |
1328 | * config.h.in: Rebuilt. | |
1329 | ||
124452c9 FXC |
1330 | 2006-02-17 Francois-Xavier Coudert <coudert@clipper.ens.fr> |
1331 | ||
1332 | PR bootstrap/26161 | |
1333 | * configure.ac: Remove AC_CHECK_HEADER for pthread.h. Add comment | |
1334 | for the other pthread check. | |
1335 | * configure: Regenerate. | |
1336 | * config.h.in: Regenerate. | |
1337 | ||
dd8d6dfe JJ |
1338 | 2006-02-15 Jakub Jelinek <jakub@redhat.com> |
1339 | ||
1340 | PR libgomp/25938 | |
1341 | PR libgomp/25984 | |
1342 | * Makefile.am (fincludedir): New variable. | |
1343 | (nodist_include_HEADERS): Remove Fortran files. | |
1344 | (nodist_finclude_HEADERS): New variable. | |
1345 | * Makefile.in: Regenerated. | |
1346 | ||
6c7a4dfd JJ |
1347 | 2006-02-13 Jakub Jelinek <jakub@redhat.com> |
1348 | ||
1349 | * testsuite/libgomp.fortran/vla7.f90: Add -w to options. | |
1350 | Remove tests for returning assumed character length arrays. | |
1351 | ||
5142e08b RS |
1352 | 2006-02-12 Roger Sayle <roger@eyesopen.com> |
1353 | John David Anglin <dave@hiauly1.hia.nrc.ca> | |
1354 | ||
1355 | PR libgomp/25936 | |
1356 | * configure.tgt: Link against -lrt for sem_init on HPUX v11 systems. | |
a1daed2d | 1357 | |
5821fba8 UW |
1358 | 2006-02-08 Ulrich Weigand <uweigand@de.ibm.com> |
1359 | ||
1360 | * testsuite/lib/libgomp-dg.exp: Load scanrtl.exp library. | |
1361 | ||
cb2bbc67 EB |
1362 | 2006-02-07 Eric Botcazou <ebotcazou@libertysurf.fr> |
1363 | ||
1364 | * testsuite/lib/libgomp-dg.exp (libgomp_init): Compute multilib related | |
1365 | part of LD_LIBRARY_PATH manually. | |
1366 | ||
f05ee80c L |
1367 | 2006-02-03 H.J. Lu <hongjiu.lu@intel.com> |
1368 | ||
1369 | PR libgomp/25852 | |
1370 | * testsuite/lib/libgomp-dg.exp (blddir): Set it in | |
1371 | libgomp_init. | |
1372 | ||
03b8fe49 PB |
1373 | 2005-01-25 Paolo Bonzini <bonzini@gnu.org> |
1374 | ||
1375 | PR libgomp/25884 | |
f05ee80c L |
1376 | * Makefile.am (omp.h, omp_lib.h, omp_lib.f90, libgomp_f.h): Remove. |
1377 | * configure.ac (PERL): Don't set. | |
1378 | (gstdint.h, omp.h, omp_lib.h, omp_lib.f90, libgomp_f.h): Create here. | |
1379 | (OMP_LOCK_SIZE, OMP_LOCK_ALIGN, OMP_LOCK_KIND, OMP_NEST_LOCK_SIZE, | |
1380 | OMP_NEST_LOCK_ALIGN, OMP_NEST_LOCK_KIND): New substitutions. | |
1381 | * omp.h.in: Wrap the new configure substitutions with @ characters. | |
1382 | * omp_lib.h.in, omp_lib.f90.in, libgomp_f.h.in: Likewise. | |
1383 | * aclocal.m4, configure, Makefile.in: Regenerate. | |
1384 | * mkomp_h.pl: Delete. | |
03b8fe49 | 1385 | |
18cbfd85 PB |
1386 | 2005-01-24 Paolo Bonzini <bonzini@gnu.org> |
1387 | ||
1388 | PR libgomp/25259 | |
1389 | * configure.ac: Use GCC_HEADER_STDINT. | |
1390 | * libgomp.h: Include gstdint.h. | |
1391 | * libgomp_f.h.in: Don't include stdint.h or inttypes.h. | |
1392 | * configure, Makefile.in, testsuite/Makefile.in, aclocal.m4: Rebuild. | |
1393 | ||
c41303c6 RH |
1394 | 2006-01-24 Richard Henderson <rth@redhat.com> |
1395 | ||
1396 | PR libgomp/25942 | |
1397 | * configure.ac: Add AM_MAINTAINER_MODE. | |
1398 | * Makefile.in, aclocal.m4, configure, testsuite/Makefile.in: Rebuild. | |
1399 | ||
149b9553 DN |
1400 | 2006-01-24 Diego Novillo <dnovillo@redhat.com> |
1401 | ||
1402 | * Makefile.in: Regenerate. | |
1403 | * testsuite/Makefile.in: Regenerate. | |
1404 | * aclocal.m4: Regenerate. | |
1405 | ||
192a50ad AT |
1406 | 2006-01-23 Andreas Tobler <a.tobler@schweiz.ch> |
1407 | ||
1408 | * config/posix/proc.c: Conditional include of sys/loadavg.h for | |
1409 | Solaris. | |
1410 | * configure.ac: Add check for loadavg.h. | |
1411 | (link_gomp): Adjust comment. | |
1412 | * configure: Regenerate. | |
1413 | * config.h.in: Regenerate. | |
1414 | ||
a55b8e18 SE |
1415 | 2006-01-21 Steve Ellcey <sje@cup.hp.com> |
1416 | ||
1417 | PR libgomp/25877 | |
1418 | * configure.ac: Remove check for alloca.h. | |
1419 | * configure: Regenerate. | |
1420 | * config.h.in: Regenerate. | |
1421 | * libgomp.h: define gomp_alloca to be __builtin_alloca. | |
1422 | * team.c: Remove use of alloca.h. | |
1423 | Call gomp_alloca instead of alloca. | |
1424 | ||
692eeb34 SE |
1425 | 2006-01-20 Steve Ellcey <sje@cup.hp.com> |
1426 | ||
1427 | PR libgomp/25877 | |
1428 | * team.c: Add include of alloca.h. | |
1429 | * configure.ac: Add check for alloca.h. | |
1430 | * configure: Regenerate. | |
1431 | * config.h.in: Regenerate. | |
1432 | ||
953ff289 DN |
1433 | 2006-01-17 Jakub Jelinek <jakub@redhat.com> |
1434 | ||
1435 | PR fortran/25219 | |
1436 | * testsuite/libgomp.fortran/pr25219.f90: New test. | |
1437 | ||
1438 | 2005-12-05 Uros Bizjak <uros@kss-loka.si> | |
1439 | ||
1440 | * testsuite/libgomp.c/pr24455.c, testsuite/libgomp.c/copyin-1.c, | |
1441 | testsuite/libgomp.c/copyin-2.c, testsuite/libgomp.c/copyin-3.c, | |
1442 | testsuite/libgomp.c++/copyin-1.C, testsuite/libgomp.c++/copyin-2.C, | |
1443 | testsuite/libgomp.c++/ctor-5.C, testsuite/libgomp.c++/ctor-8.C, | |
1444 | testsuite/libgomp.c++/ctor-9.C, testsuite/libgomp.c++/pr24455.C, | |
1445 | testsuite/libgomp.fortran/threadprivate1.f90, | |
1446 | testsuite/libgomp.fortran/threadprivate2.f90, | |
1447 | testsuite/libgomp.fortran/threadprivate3.f90, | |
1448 | testsuite/libgomp.fortran/appendix-a/a.22.7.f9, | |
1449 | testsuite/libgomp.fortran/appendix-a/a.22.8.f9, | |
1450 | testsuite/libgomp.fortran/omp_parse3.f90: Change required | |
1451 | effective-target to TLS runtime. | |
1452 | ||
1453 | * testsuite/libgomp.fortran/pr25162.f: Require | |
1454 | effective-target TLS runtime. | |
1455 | ||
1456 | 2005-12-01 Jakub Jelinek <jakub@redhat.com> | |
1457 | ||
1458 | * testsuite/libgomp.fortran/nestedfn2.f90: New test. | |
1459 | * testsuite/libgomp.c/nestedfn-3.c: New test. | |
1460 | ||
1461 | 2005-11-30 Jakub Jelinek <jakub@redhat.com> | |
1462 | ||
1463 | PR fortran/25162 | |
1464 | * testsuite/libgomp.fortran/pr25162.f: New test. | |
1465 | ||
1466 | 2005-11-28 Jakub Jelinek <jakub@redhat.com> | |
1467 | ||
1468 | * config/posix/time.c (omp_get_wtime, omp_get_wtick): Fall back to | |
1469 | CLOCK_REALTIME if clock_* (CLOCK_MONOTONIC, &ts) call failed. | |
1470 | ||
1471 | 2005-11-25 Jakub Jelinek <jakub@redhat.com> | |
1472 | ||
1473 | * alloc.c, barrier.c, critical.c, env.c, error.c, fortran.c, iter.c, | |
1474 | libgomp.h, libgomp_f.h.in, libgomp_g.h, loop.c, mkomp_h.pl, omp.h.in, | |
1475 | omp_lib.f90.in, omp_lib.h.in, ordered.c, parallel.c, sections.c, | |
1476 | single.c, team.c, work.c, config/linux/alpha/futex.h, | |
1477 | config/linux/bar.c, config/linux/bar.h, config/linux/ia64/futex.h, | |
1478 | config/linux/lock.c, config/linux/mutex.c, config/linux/mutex.h, | |
1479 | config/linux/powerpc/futex.h, config/linux/s390/futex.h, | |
1480 | config/linux/sem.c, config/linux/sem.h, config/linux/sparc/futex.h, | |
1481 | config/linux/x86/futex.h, config/posix/bar.c, config/posix/bar.h, | |
1482 | config/posix/lock.c, config/posix/mutex.h, config/posix/proc.c, | |
1483 | config/posix/sem.c, config/posix/sem.h, config/posix/time.c: Update | |
1484 | FSF address. | |
1485 | ||
1486 | 2005-11-18 Jakub Jelinek <jakub@redhat.com> | |
1487 | ||
1488 | * Makefile.am: Move libgomp_f.h from nodist_include_HEADERS | |
1489 | to nodist_noinst_HEADERS. | |
1490 | * Makefile.in: Rebuilt. | |
1491 | ||
1492 | * config/posix/omp-lock.h (omp_nest_lock_t): Change into struct, | |
1493 | add integer count field. | |
1494 | * config/posix/lock.c (omp_destroy_nest_lock): Adjust for | |
1495 | omp_nest_lock_t type change. | |
1496 | (omp_init_nest_lock): Likewise. Initialize count to 0. | |
1497 | (omp_set_nest_lock): Adjust for omp_nest_lock_t type change. | |
1498 | Increment count. | |
1499 | (omp_unset_nest_lock): Adjust for omp_nest_lock_t type change. | |
1500 | Decrement count. | |
1501 | (omp_test_nest_lock): Adjust for omp_nest_lock_t type change. | |
1502 | Increment count if successful and return the new nesting level. | |
1503 | * config/linux/lock.c (omp_test_nest_lock): Return new nesting level. | |
1504 | * omp_lib.f90.in (omp_test_lock): Fix LOCK argument type. | |
1505 | * testsuite/libgomp.c/lib-1.c: New test. | |
1506 | * testsuite/libgomp.fortran/lib1.f90: New test. | |
1507 | * testsuite/libgomp.fortran/lib2.f: New test. | |
1508 | * testsuite/libgomp.fortran/lib3.f: New test. | |
1509 | ||
1510 | 2005-11-17 Richard Henderson <rth@redhat.com> | |
1511 | ||
1512 | PR 24845 | |
1513 | * Makefile.am (nodist_toolexeclib_HEADERS): New. | |
1514 | * configure.ac (link_gomp): New. Substitute it. | |
1515 | (AC_CONFIG_FILES): Add libgomp.spec. | |
1516 | * libgomp.spec.in: New file. | |
1517 | * Makefile.in, testsuite/Makefile.in, configure: Rebuild. | |
1518 | * testsuite/lib/libgomp-dg.exp: Add -B${blddir}/ to flags. | |
1519 | ||
1520 | 2005-11-18 Jakub Jelinek <jakub@redhat.com> | |
1521 | ||
1522 | * testsuite/libgomp.fortran/reduction1.f90: Adjust for | |
1523 | reduction(-:var) behaving the same as reduction(+:var). | |
1524 | * testsuite/libgomp.c/reduction-4.c: New test. | |
1525 | ||
1526 | 2005-11-15 Uros Bizjak <uros@kss-loka.si> | |
1527 | ||
1528 | * testsuite/libgomp.c/pr24455-1.c, testsuite/libgomp.c/pr24455.c, | |
1529 | testsuite/libgomp.c/copyin-1.c, testsuite/libgomp.c/copyin-2.c, | |
1530 | testsuite/libgomp.c/copyin-3.c, | |
1531 | testsuite/libgomp.c++/copyin-1.C, testsuite/libgomp.c++/copyin-2.C, | |
1532 | testsuite/libgomp.c++/ctor-5.C, testsuite/libgomp.c++/ctor-8.C, | |
1533 | testsuite/libgomp.c++/ctor-9.C, testsuite/libgomp.c++/pr24455-1.C, | |
1534 | testsuite/libgomp.c++/pr24455.C, | |
1535 | testsuite/libgomp.fortran/threadprivate1.f90, | |
1536 | testsuite/libgomp.fortran/threadprivate2.f90, | |
1537 | testsuite/libgomp.fortran/threadprivate3.f90, | |
1538 | testsuite/libgomp.fortran/appendix-a/a.22.7.f9, | |
1539 | testsuite/libgomp.fortran/appendix-a/a.22.8.f9, | |
1540 | testsuite/libgomp.fortran/omp_parse3.f90: Require | |
1541 | effective-target TLS. | |
1542 | ||
1543 | 2005-11-14 Diego Novillo <dnovillo@redhat.com> | |
1544 | ||
1545 | * HEADER: Remove. | |
1546 | ||
1547 | 2005-11-13 Jakub Jelinek <jakub@redhat.com> | |
1548 | ||
1549 | PR libgomp/24797 | |
1550 | * team.c (initialize_team): Pass NULL rather than free as | |
1551 | pthread_key_create destructor. Initialize thread specific data | |
1552 | pointer in initial thread to a static local variable rather than | |
1553 | malloced memory. | |
1554 | ||
1555 | 2005-11-11 Uros Bizjak <uros@kss-loka.si> | |
1556 | ||
1557 | * testsuite/lib/libgomp-dg.exp: Locate libgcc.a and append | |
1558 | its location to ld_library_path. | |
1559 | ||
1560 | 2005-11-10 Diego Novillo <dnovillo@redhat.com> | |
1561 | ||
1562 | * testsuite/libgomp.c/c.exp: Rename from dg.exp. | |
1563 | ||
1564 | 2005-11-10 Diego Novillo <dnovillo@redhat.com> | |
1565 | ||
1566 | * testsuite/libgomp.c: Rename from libgomp.dg. | |
1567 | ||
1568 | 2005-11-09 Diego Novillo <dnovillo@redhat.com> | |
1569 | ||
1570 | * testsuite/libgomp.c++/pr24455.C: Add copyin clause for | |
1571 | threadprivate variable 'i'. | |
1572 | ||
1573 | 2005-11-09 Jakub Jelinek <jakub@redhat.com> | |
1574 | ||
1575 | * config/linux/s390/futex.h: New file. | |
1576 | * configure.tgt: Use it. | |
1577 | ||
1578 | * testsuite/libgomp.fortran/omp_parse4.f90: Move n initialization | |
1579 | before the parallel. | |
1580 | ||
1581 | 2005-11-08 Jakub Jelinek <jakub@redhat.com> | |
1582 | ||
1583 | PR c++/24734 | |
1584 | * testsuite/libgomp.c++/master-1.C: New test. | |
1585 | ||
1586 | 2005-11-07 Jakub Jelinek <jakub@redhat.com> | |
1587 | ||
1588 | * testsuite/libgomp.dg/copyin-3.c: New test. | |
1589 | ||
1590 | 2005-11-07 Jakub Jelinek <jakub@redhat.com> | |
1591 | ||
1592 | * testsuite/libgomp.fortran/retval1.f90: New test. | |
1593 | * testsuite/libgomp.fortran/vla7.f90: New test. | |
1594 | ||
1595 | 2005-11-06 Jakub Jelinek <jakub@redhat.com> | |
1596 | ||
1597 | * testsuite/libgomp.fortran/vla2.f90: New test. | |
1598 | * testsuite/libgomp.fortran/vla3.f90: New test. | |
1599 | * testsuite/libgomp.fortran/vla4.f90: New test. | |
1600 | * testsuite/libgomp.fortran/vla5.f90: New test. | |
1601 | * testsuite/libgomp.fortran/vla6.f90: New test. | |
1602 | ||
1603 | 2005-11-01 Jakub Jelinek <jakub@redhat.com> | |
1604 | ||
1605 | * config/linux/sparc/futex.h: New file. | |
1606 | * configure.tgt: Use it. | |
1607 | * testsuite/lib/libgomp-dg.exp: Use -mcpu=v9 for sparc testing. | |
1608 | ||
1609 | * critical.c: Include stdlib.h. | |
1610 | * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS): Avoid warnings about | |
1611 | ignoring return value. | |
1612 | * configure.ac: Don't put -Wc,-pthread into XCFLAGS until after | |
1613 | LIBGOMP_CHECK_SYNC_BUILTINS check. | |
1614 | * configure: Rebuilt. | |
1615 | ||
1616 | 2005-10-31 Jakub Jelinek <jakub@redhat.com> | |
1617 | ||
1618 | * testsuite/libgomp.fortran/vla1.f90: New test. | |
1619 | ||
1620 | 2005-10-31 Richard Henderson <rth@redhat.com> | |
1621 | ||
1622 | * testsuite/libgomp.fortran/character2.f90: Fix race condition | |
1623 | setting 's' in different threads. | |
1624 | ||
1625 | 2005-10-31 Jakub Jelinek <jakub@redhat.com> | |
1626 | ||
1627 | * libgomp.h (attribute_hidden, ialias): Define. | |
1628 | * config/posix/proc.c (omp_get_num_procs): Add ialias. | |
1629 | * config/posix/time.c (omp_get_wtime, omp_get_wtick): Likewise. | |
1630 | * config/posix/lock.c (omp_init_lock, omp_init_nest_lock, | |
1631 | omp_destroy_lock, omp_destroy_nest_lock, omp_set_lock, | |
1632 | omp_set_nest_lock, omp_unset_lock, omp_unset_nest_lock, | |
1633 | omp_test_lock, omp_test_nest_lock): Likewise. | |
1634 | * config/linux/lock.c (omp_init_lock, omp_init_nest_lock, | |
1635 | omp_destroy_lock, omp_destroy_nest_lock, omp_set_lock, | |
1636 | omp_set_nest_lock, omp_unset_lock, omp_unset_nest_lock, | |
1637 | omp_test_lock, omp_test_nest_lock): Likewise. | |
1638 | * env.c (omp_set_dynamic, omp_set_nested, omp_set_num_threads, | |
1639 | omp_get_dynamic, omp_get_nested): Likewise. | |
1640 | * parallel.c (omp_get_num_threads, omp_get_max_threads, | |
1641 | omp_get_thread_num, omp_in_parallel): Likewise. | |
1642 | * fortran.c (ialias_redirect): Define. | |
1643 | (omp_init_lock, omp_init_nest_lock, omp_destroy_lock, | |
1644 | omp_destroy_nest_lock, omp_set_lock, omp_set_nest_lock, | |
1645 | omp_unset_lock, omp_unset_nest_lock, omp_test_lock, | |
1646 | omp_test_nest_lock, omp_set_dynamic, omp_set_nested, | |
1647 | omp_set_num_threads, omp_get_dynamic, omp_get_nested, | |
1648 | omp_in_parallel, omp_get_max_threads, omp_get_num_procs, | |
1649 | omp_get_num_threads, omp_get_thread_num, omp_get_wtick, | |
1650 | omp_get_wtime): Add ialias_redirect. | |
1651 | ||
1652 | 2005-10-30 Jakub Jelinek <jakub@redhat.com> | |
1653 | ||
1654 | * fortran.c: Include stdlib.h. | |
1655 | ||
1656 | 2005-10-29 Jakub Jelinek <jakub@redhat.com> | |
1657 | ||
1658 | * Makefile.am (env.o, env.lo): Depend on libgomp_f.h. | |
1659 | * Makefile.in: Regenerated. | |
1660 | ||
1661 | 2005-10-28 Jakub Jelinek <jakub@redhat.com> | |
1662 | ||
1663 | * mkomp_h.pl: Remove all -Wc, option prefixes in $COMPILE. | |
1664 | * libgomp_f.h.in (omp_check_defines): New function. | |
1665 | * env.c: Include libgomp_f.h. | |
1666 | (initialize_env): Call omp_check_defines. | |
1667 | ||
1668 | * testsuite/libgomp.dg/copyin-2.c: New test. | |
1669 | * testsuite/libgomp.c++/copyin-2.C: New test. | |
1670 | * testsuite/libgomp.fortran/threadprivate3.f90: New test. | |
1671 | ||
1672 | * testsuite/libgomp.fortran/threadprivate2.f90: New test. | |
1673 | * testsuite/libgomp.fortran/sharing2.f90: New test. | |
1674 | ||
1675 | * testsuite/libgomp.dg/copyin-1.c: New test. | |
1676 | * testsuite/libgomp.c++/copyin-1.C: New test. | |
1677 | ||
1678 | 2005-10-26 Jakub Jelinek <jakub@redhat.com> | |
1679 | ||
1680 | * testsuite/libgomp.fortran/crayptr1.f90: New test. | |
1681 | ||
1682 | * testsuite/libgomp.fortran/workshare1.f90: New test. | |
1683 | ||
1684 | * libgomp.fortran/appendix-a/a.28.5.f90: Change into compile | |
1685 | only test. | |
1686 | * libgomp.fortran/sharing1.f90: New test. | |
1687 | ||
1688 | 2005-10-24 Jakub Jelinek <jakub@redhat.com> | |
1689 | ||
1690 | PR c++/24502 | |
1691 | * testsuite/libgomp.c++/loop-7.C: New test. | |
1692 | ||
1693 | * testsuite/libgomp.dg/nestedfn-2.c: New test. | |
1694 | ||
1695 | * testsuite/libgomp.dg/nestedfn-1.c: New test. | |
1696 | * testsuite/libgomp.fortran/reduction6.f90: New test. | |
1697 | * testsuite/libgomp.fortran/nestedfn1.f90: New test. | |
1698 | ||
1699 | 2005-10-23 Richard Henderson <rth@redhat.com> | |
1700 | ||
1701 | * testsuite/libgomp.c++/ctor-1.C: New. | |
1702 | * testsuite/libgomp.c++/ctor-2.C: New. | |
1703 | * testsuite/libgomp.c++/ctor-3.C: New. | |
1704 | * testsuite/libgomp.c++/ctor-4.C: New. | |
1705 | * testsuite/libgomp.c++/ctor-5.C: New. | |
1706 | * testsuite/libgomp.c++/ctor-6.C: New. | |
1707 | * testsuite/libgomp.c++/ctor-7.C: New. | |
1708 | * testsuite/libgomp.c++/ctor-8.C: New. | |
1709 | * testsuite/libgomp.c++/ctor-9.C: New. | |
1710 | ||
1711 | 2005-10-21 Diego Novillo <dnovillo@redhat.com> | |
1712 | ||
1713 | PR 24455 | |
1714 | * testsuite/libgomp.c++/pr24455-1.C: New test. | |
1715 | * testsuite/libgomp.c++/pr24455.C: New test. | |
1716 | * testsuite/libgomp.dg/pr24455-1.c: New test. | |
1717 | * testsuite/libgomp.dg/pr24455.c: New test. | |
1718 | ||
1719 | 2005-10-20 Richard Henderson <rth@redhat.com> | |
1720 | ||
1721 | * testsuite/libgomp.c++/loop-6.C: New. | |
1722 | * testsuite/libgomp.dg/loop-3.c: New. | |
1723 | ||
1724 | 2005-10-20 Jakub Jelinek <jakub@redhat.com> | |
1725 | ||
1726 | * testsuite/libgomp.fortran/jacobi.f: Don't make i and j | |
1727 | explicitly private. | |
1728 | * testsuite/libgomp.fortran/omp_parse1.f90 (test_do): Make i | |
1729 | explicitly shared. | |
1730 | ||
1731 | 2005-10-19 Diego Novillo <dnovillo@redhat.com> | |
1732 | ||
1733 | * testsuite/libgomp.fortran/jacobi.f: New test. | |
1734 | ||
1735 | 2005-10-19 Richard Henderson <rth@redhat.com> | |
1736 | ||
1737 | * configure.tgt (i?86-linux): Default to with_arch instead of | |
1738 | CFLAGS. Add -mtune to match target_cpu. | |
1739 | (x86_64-linux): Tune to i686. | |
1740 | ||
1741 | * fortran.c (omp_test_nest_lock_): Fix typo. | |
1742 | ||
1743 | 2005-10-19 Jakub Jelinek <jakub@redhat.com> | |
1744 | ||
1745 | * ordered.c (gomp_ordered_first, gomp_ordered_last, gomp_ordered_next, | |
1746 | gomp_ordered_sync): Do nothing if team->nthreads == 1. | |
1747 | * testsuite/libgomp.dg/ordered-3.c: New test. | |
1748 | ||
1749 | * testsuite/libgomp.dg/appendix-a/a.18.1.c: Remove unconditional abort. | |
1750 | Remove volatile keyword. | |
1751 | ||
1752 | * testsuite/libgomp.fortran/appendix-a/a.19.1.f90: Reorder variables | |
1753 | in COMMON block to avoid warnings on 64-bit targets. | |
1754 | ||
1755 | 2005-10-18 Diego Novillo <dnovillo@redhat.com> | |
1756 | ||
1757 | * testsuite/libgomp.dg/shared-3.c: New test. | |
1758 | ||
1759 | 2005-10-18 Jakub Jelinek <jakub@redhat.com> | |
1760 | ||
1761 | * testsuite/libgomp.fortran/appendix-a/a.31.3.f90: Removed. | |
1762 | * testsuite/libgomp.fortran/reduction5.f90: New test. | |
1763 | ||
1764 | 2005-10-18 Jakub Jelinek <jakub@redhat.com> | |
1765 | ||
1766 | * testsuite/libgomp.fortran/appendix-a/a.40.1.f90: Add -ffixed-form to | |
1767 | dg-options. | |
1768 | * testsuite/libgomp.fortran/appendix-a/a.18.1.f90: Likewise. Enable | |
1769 | flush loop now that __sync_synchronize has proper memory barrier. | |
1770 | * testsuite/libgomp.fortran/appendix-a/a.3.1.f90: Fix a typo. | |
1771 | Add -ffixed-form to dg-options. | |
1772 | ||
1773 | 2005-10-17 Diego Novillo <dnovillo@redhat.com> | |
1774 | ||
1775 | * testsuite/libgomp.fortran/fortran.exp: Also gather tests | |
1776 | from subdirectories. | |
1777 | * testsuite/libgomp.fortran/appendix-a/a.15.1.f90: New test. | |
1778 | * testsuite/libgomp.fortran/appendix-a/a.16.1.f90: New test. | |
1779 | * testsuite/libgomp.fortran/appendix-a/a.18.1.f90: New test. | |
1780 | * testsuite/libgomp.fortran/appendix-a/a.19.1.f90: New test. | |
1781 | * testsuite/libgomp.fortran/appendix-a/a.2.1.f90: New test. | |
1782 | * testsuite/libgomp.fortran/appendix-a/a.21.1.f90: New test. | |
1783 | * testsuite/libgomp.fortran/appendix-a/a.22.7.f90: New test. | |
1784 | * testsuite/libgomp.fortran/appendix-a/a.22.8.f90: New test. | |
1785 | * testsuite/libgomp.fortran/appendix-a/a.26.1.f90: New test. | |
1786 | * testsuite/libgomp.fortran/appendix-a/a.28.1.f90: New test. | |
1787 | * testsuite/libgomp.fortran/appendix-a/a.28.2.f90: New test. | |
1788 | * testsuite/libgomp.fortran/appendix-a/a.28.3.f90: New test. | |
1789 | * testsuite/libgomp.fortran/appendix-a/a.28.4.f90: New test. | |
1790 | * testsuite/libgomp.fortran/appendix-a/a.28.5.f90: New test. | |
1791 | * testsuite/libgomp.fortran/appendix-a/a.3.1.f90: New test. | |
1792 | * testsuite/libgomp.fortran/appendix-a/a.31.3.f90: New test. | |
1793 | * testsuite/libgomp.fortran/appendix-a/a.31.4.f90: New test. | |
1794 | * testsuite/libgomp.fortran/appendix-a/a.31.5.f90: New test. | |
1795 | * testsuite/libgomp.fortran/appendix-a/a.33.3.f90: New test. | |
1796 | * testsuite/libgomp.fortran/appendix-a/a.38.1.f90: New test. | |
1797 | * testsuite/libgomp.fortran/appendix-a/a.39.1.f90: New test. | |
1798 | * testsuite/libgomp.fortran/appendix-a/a.4.1.f90: New test. | |
1799 | * testsuite/libgomp.fortran/appendix-a/a.40.1.f90: New test. | |
1800 | * testsuite/libgomp.fortran/appendix-a/a.5.1.f90: New test. | |
1801 | * testsuite/libgomp.fortran/appendix-a/a10.1.f90: New test. | |
1802 | ||
1803 | 2005-10-17 Jakub Jelinek <jakub@redhat.com> | |
1804 | ||
1805 | * testsuite/libgomp.dg/dg.exp: Only unset lang_* if | |
1806 | lang_library_path exists. Use find instead of glob to gather tests. | |
1807 | * testsuite/libgomp.dg/appendix-a/appendix-a.exp: Removed. | |
1808 | ||
1809 | 2005-10-17 Diego Novillo <dnovillo@redhat.com> | |
1810 | ||
1811 | * testsuite/libgomp.dg/appendix-a/a.15.1.c: New test. | |
1812 | * testsuite/libgomp.dg/appendix-a/a.16.1.c: New test. | |
1813 | * testsuite/libgomp.dg/appendix-a/a.18.1.c: New test. | |
1814 | * testsuite/libgomp.dg/appendix-a/a.19.1.c: New test. | |
1815 | * testsuite/libgomp.dg/appendix-a/a.2.1.c: New test. | |
1816 | * testsuite/libgomp.dg/appendix-a/a.21.1.c: New test. | |
1817 | * testsuite/libgomp.dg/appendix-a/a.26.1.c: New test. | |
1818 | * testsuite/libgomp.dg/appendix-a/a.29.1.c: New test. | |
1819 | * testsuite/libgomp.dg/appendix-a/a.3.1.c: New test. | |
1820 | * testsuite/libgomp.dg/appendix-a/a.39.1.c: New test. | |
1821 | * testsuite/libgomp.dg/appendix-a/a.4.1.c: New test. | |
1822 | * testsuite/libgomp.dg/appendix-a/a.5.1.c: New test. | |
1823 | * testsuite/libgomp.dg/appendix-a/appendix-a.exp: New file. | |
1824 | ||
1825 | 2005-10-15 Jakub Jelinek <jakub@redhat.com> | |
1826 | ||
1827 | * testsuite/libgomp.dg/vla-1.c: New test. | |
1828 | ||
1829 | * testsuite/libgomp.fortran/reference2.f90: New test. | |
1830 | ||
1831 | * testsuite/libgomp.fortran/character2.f90: Remove explicit | |
1832 | declaration of omp_get_thread_num. | |
1833 | * testsuite/libgomp.fortran/threadprivate1.f90: Likewise. Add | |
1834 | use omp_lib. | |
1835 | ||
1836 | * testsuite/libgomp.fortran/reduction1.f90: New test. | |
1837 | * testsuite/libgomp.fortran/reduction2.f90: New test. | |
1838 | * testsuite/libgomp.fortran/reduction3.f90: New test. | |
1839 | * testsuite/libgomp.fortran/reduction4.f90: New test. | |
1840 | ||
1841 | 2005-10-13 Richard Henderson <rth@redhat.com> | |
1842 | ||
1843 | * Makefile.am (libgomp_la_SOURCES): Add bar.c. | |
1844 | * Makefile.in: Regenerate. | |
1845 | * barrier.c (GOMP_barrier): Use gomp_barrier_wait. | |
1846 | * libgomp.h: Include bar.h. | |
1847 | (struct gomp_barrier): Remove. | |
1848 | (struct gomp_team): Add barrier. Replace master_barrier with | |
1849 | master_release. Replace threads with ordered_release. | |
1850 | (struct gomp_thread): Replace barrier with release. | |
1851 | * ordered.c (gomp_ordered_first): Update for ordered_release change. | |
1852 | (gomp_ordered_last, gomp_ordered_next, gomp_ordered_static_init, | |
1853 | gomp_ordered_static_next, gomp_ordered_sync): Likewise. | |
1854 | * single.c (GOMP_single_copy_start): Use gomp_barrier_wait. | |
1855 | (GOMP_single_copy_end): Likewise. | |
1856 | * team.c (gomp_threads_dock): New. | |
1857 | (gomp_barrier_init, gomp_barrier_destroy): Remove. | |
1858 | (gomp_thread_start): Use gomp_barrier_wait. | |
1859 | (new_team, free_team): Update for gomp_team changes. | |
1860 | (gomp_team_start): Use gomp_barrier_wait and gomp_barrier_reinit. | |
1861 | (gomp_team_end): Use gomp_barrier_wait. | |
1862 | (initialize_team): Update for gomp_thread changes. | |
1863 | * work.c (gomp_work_share_end): Use gomp_barrier_wait_start. | |
1864 | (gomp_work_share_end_nowait): Use atomic ops when available. | |
1865 | * config/linux/bar.c, config/linux/bar.h: New files. | |
1866 | * config/posix/bar.c, config/posix/bar.h: New files. | |
1867 | ||
1868 | 2005-10-13 Jakub Jelinek <jakub@redhat.com> | |
1869 | ||
1870 | * single.c (GOMP_single_copy_end): Don't segfault if team is NULL. | |
1871 | * testsuite/libgomp.dg/single-2.c: New test. | |
1872 | ||
1873 | * testsuite/libgomp.dg/dg.exp (lang_library_path, lang_test_file, | |
1874 | lang_link_flags): Unset, so that they aren't inherited from previously | |
1875 | sourced *.exp. | |
1876 | ||
1877 | * testsuite/libgomp.fortran/threadprivate1.f90: New test. | |
1878 | ||
1879 | 2005-10-12 Richard Henderson <rth@redhat.com> | |
1880 | ||
1881 | * testsuite/lib/libgomp-dg.exp: Set blddir at toplevel. | |
1882 | (libgomp_init): Use lang_test_file, lang_library_path, and | |
1883 | lang_link_flags, set by the subdirectory files. Add -fopenmp here. | |
1884 | ||
1885 | * testsuite/libgomp.fortran/fortran.exp (lang_library_path): New. | |
1886 | (lang_test_file, lang_link_flags): New. | |
1887 | (DEFAULT_FFLAGS, ALWAYS_CFLAGS, multilibs, blddir): Remove. | |
1888 | ||
1889 | * testsuite/libgomp.c++/c++.exp, testsuite/libgomp.c++/loop-1.C, | |
1890 | testsuite/libgomp.c++/loop-2.C, testsuite/libgomp.c++/loop-3.C, | |
1891 | testsuite/libgomp.c++/loop-4.C, testsuite/libgomp.c++/nested-1.C, | |
1892 | testsuite/libgomp.c++/parallel-1.C, | |
1893 | testsuite/libgomp.c++/reduction-1.C, | |
1894 | testsuite/libgomp.c++/reduction-2.C, | |
1895 | testsuite/libgomp.c++/reduction-3.C, | |
1896 | testsuite/libgomp.c++/sections-1.C, testsuite/libgomp.c++/shared-1.C, | |
1897 | testsuite/libgomp.c++/shared-2.C, testsuite/libgomp.c++/single-1.C, | |
1898 | testsuite/libgomp.c++/single-2.C, testsuite/libgomp.c++/single-3.C: | |
1899 | New files, largely cribbed from the C testsuite. | |
1900 | ||
1901 | 2005-10-12 Jakub Jelinek <jakub@redhat.com> | |
1902 | ||
1903 | * testsuite/libgomp.fortran/character1.f90: New test. | |
1904 | * testsuite/libgomp.fortran/character2.f90: New test. | |
1905 | ||
1906 | * testsuite/libgomp.dg/nested-1.c: New test. | |
1907 | * testsuite/libgomp.dg/nested-2.c: New test. | |
1908 | * testsuite/libgomp.fortran/do1.f90: New test. | |
1909 | * testsuite/libgomp.fortran/do2.f90: New test. | |
1910 | ||
1911 | * testsuite/libgomp.fortran/reference1.f90: New test. | |
1912 | ||
1913 | 2005-10-11 Jakub Jelinek <jakub@redhat.com> | |
1914 | ||
1915 | * testsuite/libgomp.dg/reduction-1.c: New test. | |
1916 | * testsuite/libgomp.dg/reduction-2.c: New test. | |
1917 | * testsuite/libgomp.dg/reduction-3.c: New test. | |
1918 | ||
1919 | 2005-10-10 Jakub Jelinek <jakub@redhat.com> | |
1920 | ||
1921 | * testsuite/libgomp.dg/atomic-1.c: New test. | |
1922 | * testsuite/libgomp.dg/atomic-2.c: New test. | |
1923 | ||
1924 | 2005-10-09 Richard Henderson <rth@redhat.com> | |
1925 | ||
1926 | * critical.c (atomic_lock): New. | |
1927 | (initialize_critical): Initialize it. | |
1928 | (GOMP_atomic_start, GOMP_atomic_end): New. | |
1929 | * libgomp.map: Export them. | |
1930 | * libgomp_g.h: Declare them. | |
1931 | ||
1932 | * testsuite/libgomp.dg/atomic-10.c: Move from gcc testsuite. | |
1933 | ||
1934 | 2005-10-02 Richard Henderson <rth@redhat.com> | |
1935 | ||
1936 | * configure.ac: Move save_CFLAGS hack earlier. Append -Wall/-Werror | |
1937 | to XCFLAGS instead of CFLAGS. | |
1938 | ||
1939 | 2005-09-30 Richard Henderson <rth@redhat.com> | |
1940 | ||
1941 | * configure.ac: Determine whether -pthread or -lpthread is needed. | |
1942 | * Makefile.am (libgomp_la_LDFLAGS): Remove explicit -lpthread. | |
1943 | * Makefine.in, configure: Rebuild. | |
1944 | ||
1945 | 2005-09-28 Richard Henderson <rth@redhat.com> | |
1946 | ||
1947 | * testsuite/libgomp.dg/omp-loop03.c: Fix return code. | |
1948 | * testsuite/libgomp.dg/omp-single-3.c: New test. | |
1949 | ||
1950 | 2005-09-28 Diego Novillo <dnovillo@redhat.com> | |
1951 | ||
1952 | * testsuite/libgomp.dg/omp-single-2.c: New test. | |
1953 | * testsuite/libgomp.dg/shared-2.c: Fix return code. | |
1954 | ||
1955 | 2005-09-27 Richard Henderson <rth@redhat.com> | |
1956 | ||
1957 | * testsuite/libgomp.dg/omp-loop03.c: Add initial barrier. | |
1958 | * testsuite/libgomp.dg/omp-parallel-for.c: Specify static schedule. | |
1959 | ||
1960 | 2005-09-27 Jakub Jelinek <jakub@redhat.com> | |
1961 | ||
1962 | * testsuite/libgomp.dg/omp-loop03.c: New test. | |
1963 | ||
1964 | 2005-09-27 Diego Novillo <dnovillo@redhat.com> | |
1965 | ||
1966 | * testsuite/libgomp.dg/omp-parallel-for.c: New test. | |
1967 | ||
1968 | 2005-09-27 Diego Novillo <dnovillo@redhat.com> | |
1969 | ||
1970 | * testsuite/libgomp.dg/omp-single-1.c: New test. | |
1971 | * testsuite/libgomp.dg/shared-1.c: Return 0. | |
1972 | Add prototype for abort. | |
1973 | * testsuite/libgomp.dg/shared-2.c: Likewise. | |
1974 | ||
1975 | 2005-09-26 Jakub Jelinek <jakub@redhat.com> | |
1976 | ||
1977 | * testsuite/libgomp.fortran/omp_parse3.f90: Fix non-conforming | |
1978 | constructs. | |
1979 | ||
1980 | 2005-09-26 Diego Novillo <dnovillo@redhat.com> | |
1981 | ||
1982 | * testsuite/libgomp.dg/shared-1.c: New test. | |
1983 | * testsuite/libgomp.dg/shared-2.c: New test. | |
1984 | ||
1985 | 2005-09-24 Richard Henderson <rth@redhat.com> | |
1986 | ||
1987 | * testsuite/libgomp.dg/omp_workshare3.c: Mark dg-error. | |
1988 | ||
1989 | 2005-09-24 Richard Henderson <rth@redhat.com> | |
1990 | ||
1991 | * iter.c (gomp_iter_static_next): Round up when computing number | |
1992 | of iterations. Don't bother distributing a remainder equally. | |
1993 | ||
1994 | * testsuite/libgomp.dg/omp-loop01.c (main1): Rename from main. | |
1995 | Don't call srand. Zero b before testing. | |
1996 | (main): New. | |
1997 | ||
1998 | 2005-09-24 Jakub Jelinek <jakub@redhat.com> | |
1999 | ||
2000 | * testsuite/libgomp.fortran/omp_atomic1.f90: New test. | |
2001 | * testsuite/libgomp.fortran/omp_atomic2.f90: New test. | |
2002 | ||
2003 | 2005-09-23 Jakub Jelinek <jakub@redhat.com> | |
2004 | ||
2005 | * testsuite/libgomp.fortran/omp_parse1.f90: Add a test for !$omp do | |
2006 | without !$omp end do, followed immediately by subroutine end. | |
2007 | ||
2008 | 2005-09-23 Diego Novillo <dnovillo@redhat.com> | |
2009 | ||
2010 | * testsuite/libgomp.dg/omp-parallel-if.c: New test. | |
2011 | ||
2012 | 2005-09-22 Richard Henderson <rth@redhat.com> | |
2013 | ||
2014 | * critical.c (GOMP_critical_name_start): Change argument to void**. | |
2015 | Reuse the pointer space if the mutex fits. | |
2016 | (GOMP_critical_name_end): Likewise. | |
2017 | (initialize_critical): Don't define if GOMP_MUTEX_INIT_0. | |
2018 | * libgomp_g.h (GOMP_critical_name_start): Update decl. | |
2019 | (GOMP_critical_name_end): Likewise. | |
2020 | * config/linux/mutex.h (GOMP_MUTEX_INIT_0): New. | |
2021 | * config/posix/mutex.h (GOMP_MUTEX_INIT_0): New. | |
2022 | ||
2023 | 2005-09-20 Richard Henderson <rth@redhat.com> | |
2024 | ||
2025 | * critical.c (GOMP_critical_name_start, GOMP_critical_name_end): New. | |
2026 | (create_lock_lock): New. | |
2027 | (initialize_critical): Initialize it. | |
2028 | * libgomp.map (GOMP_critical_name_start, GOMP_critical_name_end): New. | |
2029 | * libgomp_g.h (GOMP_ordered_start, GOMP_ordered_end): Declare. | |
2030 | ||
2031 | 2005-09-20 Diego Novillo <dnovillo@redhat.com> | |
2032 | ||
2033 | * testsuite/libgom.dg/omp-loop01.c: Include stdio.h. | |
2034 | ||
2035 | 2005-09-20 Diego Novillo <dnovillo@redhat.com> | |
2036 | ||
2037 | * testsuite/libgomp.dg/omp-loop01.c: New test. | |
2038 | * testsuite/libgomp.dg/omp-loop02.c: New test. | |
2039 | ||
2040 | 2005-09-20 Jakub Jelinek <jakub@redhat.com> | |
2041 | ||
2042 | * configure.ac (AC_PROG_FC): Add. | |
2043 | (USE_FORTRAN): New automake conditional. | |
2044 | * configure: Rebuilt. | |
2045 | * Makefile.am (libgomp_la_SOURCES): Add fortran.c. | |
2046 | (nodist_include_HEADERS): Add omp_lib.h, omp_lib.f90 and libgomp_f.h. | |
2047 | If USE_FORTRAN, add also omp_lib.mod and omp_lib_kinds.mod. | |
2048 | Add rules to build them. | |
2049 | * Makefile.in: Rebuilt. | |
2050 | * mkomp_h.pl: Compute and replace also OMP_LOCK_KIND and | |
2051 | OMP_NEST_LOCK_KIND. | |
2052 | * libgomp.map: Add Fortran wrappers. | |
2053 | * libgomp_f.h.in: New file. | |
2054 | * omp_lib.h.in: New file. | |
2055 | * omp_lib.f90.in: New file. | |
2056 | * fortran.c: New file. | |
2057 | * testsuite/lib/libgomp-dg.exp: Load a few more .exp files. | |
2058 | Append libgfortran directory to LD_LIBRARY_PATH if it exists. | |
2059 | Add -Lpath_to_libgfortran and -lgfortran -lgfortranbegin if | |
2060 | libgfortran has been built. | |
2061 | * testsuite/libgomp.fortran/fortran.exp: New file. | |
2062 | * testsuite/libgomp.fortran/omp_cond1.f: New test. | |
2063 | * testsuite/libgomp.fortran/omp_cond2.f: New test. | |
2064 | * testsuite/libgomp.fortran/omp_cond3.F90: New test. | |
2065 | * testsuite/libgomp.fortran/omp_cond4.F90: New test. | |
2066 | * testsuite/libgomp.fortran/omp_hello.f: New test. | |
2067 | * testsuite/libgomp.fortran/omp_orphan.f: New test. | |
2068 | * testsuite/libgomp.fortran/omp_parse1.f90: New test. | |
2069 | * testsuite/libgomp.fortran/omp_parse2.f90: New test. | |
2070 | * testsuite/libgomp.fortran/omp_parse3.f90: New test. | |
2071 | * testsuite/libgomp.fortran/omp_parse4.f90: New test. | |
2072 | * testsuite/libgomp.fortran/omp_reduction.f: New test. | |
2073 | * testsuite/libgomp.fortran/omp_workshare1.f: New test. | |
2074 | * testsuite/libgomp.fortran/omp_workshare2.f: New test. | |
2075 | ||
2076 | 2005-08-30 Richard Henderson <rth@redhat.com> | |
2077 | ||
2078 | * loop.c (GOMP_loop_static_start): Provide fallback wrapper | |
2079 | function for when aliases are not usable. | |
2080 | (GOMP_loop_dynamic_start, GOMP_loop_guided_start, | |
2081 | GOMP_loop_ordered_static_start, GOMP_loop_ordered_dynamic_start, | |
2082 | GOMP_loop_ordered_guided_start, GOMP_loop_static_next, | |
2083 | GOMP_loop_dynamic_next, GOMP_loop_guided_next, | |
2084 | GOMP_loop_ordered_static_next, GOMP_loop_ordered_dynamic_next, | |
2085 | GOMP_loop_ordered_guided_next): Likewise. | |
2086 | * ordered.c (GOMP_ordered_start): Likewise. | |
2087 | ||
2088 | 2005-08-01 Diego Novillo <dnovillo@redhat.com> | |
2089 | ||
2090 | * testsuite/libgomp.dg/dg.exp: Use -O2 for now. | |
2091 | * testsuite/libgomp.dg/omp_hello.c: Fix return code | |
2092 | * testsuite/libgomp.dg/omp_matvec.c: Likewise. | |
2093 | * testsuite/libgomp.dg/omp_orphan.c: Likewise | |
2094 | * testsuite/libgomp.dg/omp_reduction.c: Likewise | |
2095 | * testsuite/libgomp.dg/omp_workshare1.c: Likewise | |
2096 | * testsuite/libgomp.dg/omp_workshare2.c: Likewise | |
2097 | * testsuite/libgomp.dg/omp_workshare3.c: Likewise | |
2098 | * testsuite/libgomp.dg/omp_workshare4.c: Likewise | |
2099 | ||
2100 | 2005-07-07 Eric Christopher <echristo@redhat.com> | |
2101 | Diego Novillo <dnovillo@redhat.com> | |
2102 | ||
2103 | * testsuite/libgomp.dg/dg.exp: Add -fopenmp to DEFAULT_CFLAGS. | |
2104 | * testsuite/libgomp.dg/omp_hello.c: Add standard includes, fix | |
2105 | up code. | |
2106 | * testsuite/libgomp.dg/omp_matvec.c: Ditto. | |
2107 | * testsuite/libgomp.dg/omp_orphan.c: Ditto. | |
2108 | * testsuite/libgomp.dg/omp_reduction.c: Ditto. | |
2109 | * testsuite/libgomp.dg/omp_workshare1.c: Ditto. | |
2110 | * testsuite/libgomp.dg/omp_workshare2.c: Ditto. | |
2111 | * testsuite/libgomp.dg/omp_workshare3.c: Ditto. | |
2112 | * testsuite/libgomp.dg/omp_workshare4.c: Ditto. | |
2113 | ||
2114 | 2005-06-13 Diego Novillo <dnovillo@redhat.com> | |
2115 | ||
2116 | * TOPLEVEL.patch: Remove. | |
2117 | ||
2118 | 2005-05-16 Richard Henderson <rth@redhat.com> | |
2119 | ||
2120 | * configure.ac: Test for clock_gettime. | |
2121 | * config.h.in, configure: Rebuild. | |
2122 | * config/posix/time.c: Use recommended TIME_WITH_SYS_TIME pattern. | |
2123 | (omp_get_wtime): Use clock_gettime if available. | |
2124 | (omp_get_wtick): Use clock_getres if available. | |
2125 | ||
2126 | 2005-05-11 Richard Henderson <rth@redhat.com> | |
2127 | ||
2128 | * config/linux/ia64/futex.h: New file. | |
2129 | * configure.tgt: Use it. | |
2130 | ||
2131 | * team.c (gomp_barrier_init, gomp_barrier_destroy): Mark inline. | |
2132 | ||
2133 | 2005-05-07 Richard Henderson <rth@redhat.com> | |
2134 | ||
2135 | * config/linux/powerpc/futex.h: New file. | |
2136 | * configure.tgt: Use it. | |
2137 | ||
2138 | * config/linux/i486/futex.h: Merge ... | |
2139 | * config/linux/x86_64/futex.h: ... into ... | |
2140 | * config/linux/x86/futex.h: ... here. | |
2141 | * configure.tgt: Update to match. | |
2142 | ||
2143 | 2005-05-06 Richard Henderson <rth@redhat.com> | |
2144 | ||
2145 | * config/linux/alpha/futex.h: Conditionally define SYS_futex. | |
2146 | * config/linux/i486/futex.h: Likewise. | |
2147 | * config/linux/x86_64/futex.h: Likewise. | |
2148 | ||
2149 | * config/linux/lock.c: New file. | |
2150 | * config/linux/omp-lock.h: New file. | |
2151 | ||
2152 | * critical.c, env.h: Don't include omp.h | |
2153 | * config/posix/lock.c: Include libgomp.h instead of omp.h. | |
2154 | * config/posix/time.c: Likewise. | |
2155 | * config/posix/omp-lock.h: New file. | |
2156 | * libgomp.h: Include omp-lock.h and omp.h. | |
2157 | * Makefile.am (nodist_include_HEADERS): New. | |
2158 | (omp.h): New rule. | |
2159 | * configure.ac (PERL): New. | |
2160 | * mkomp_h.pl: New file. | |
2161 | * omp.h.in: Rename from omp.h; replace omp_lock_t and omp_nest_lock_t | |
2162 | with templates. | |
2163 | * Makefile.in, configure, testsuite/Makefile.in: Rebuild. | |
2164 | ||
2165 | * testsuite/lib/libgomp-dg.exp (libgomp_init): Add include into | |
2166 | build directory. Re-add -march=i486 hack. | |
2167 | ||
2168 | * testsuite/lib/libgomp-dg.exp (libgomp_compile_flags): Remove. | |
2169 | (libgomp_link_flags): Remove. | |
2170 | (libgomp_initialized): Remove. | |
2171 | (libgomp_init): Don't protect from reinitialization. Copy code | |
2172 | from libstdc++ for getting the multilib set correctly. | |
2173 | ||
2174 | 2005-05-05 Richard Henderson <rth@redhat.com> | |
2175 | ||
2176 | * config/linux/alpha/futex.h: New file. | |
2177 | * configure.tgt (alpha*-*-linux*): Use it. | |
2178 | ||
2179 | * config/posix/mutex.c: New file. | |
2180 | * config/posix/sem.c: Use libgomp.h. | |
2181 | ||
2182 | * configure.tgt (x86_64-linux): Also test CC for -m32. | |
2183 | * config/linux/x86_64/futex.h (futex_wait): Fix r10 usage. | |
2184 | ||
a1daed2d | 2185 | * testsuite/lib/libgomp-dg.exp (libgomp_link_flags): Add / |
953ff289 DN |
2186 | after $gccpath. |
2187 | ||
2188 | * Makefile.am (SUBDIRS): New. | |
2189 | (libgomp_la_LDFLAGS): Add -lpthread. | |
2190 | * configure.ac (AM_INIT_AUTOMAKE): Enable dependencies. | |
2191 | * Makefile.in, aclocal.m4, config.h.in, configure: Rebuild. | |
2192 | ||
2193 | * libgomp_g.h: New file. | |
2194 | * libgomp.h: Split out all public declarations to libgomp_g.h. | |
2195 | Use pragma GCC visibility instead of ATTRIBUTE_HIDDEN. | |
2196 | * config/linux/mutex.h: Remove ATTRIBUTE_HIDDEN. | |
2197 | * config/linux/sem.h: Likewise. | |
2198 | * config/posix/sem.h: Likewise. | |
2199 | ||
2200 | * Makefile.am (AM_LDFLAGS): New. | |
2201 | (libgomp_version_script): Split out from ... | |
2202 | (libgomp_la_LDFLAGS): ... here. | |
2203 | (libgomp_version_info): New. | |
2204 | * acinclude.m4 (LIBGOMP_CHECK_TLS): Use LIBGOMP_ENABLE. | |
2205 | (LIBGOMP_ENABLE): New. | |
2206 | (LIBGOMP_CHECK_LINKER_FEATURES): New. | |
2207 | (LIBGOMP_ENABLE_SYMVERS): New. | |
2208 | * configure.ac (AC_INIT): Version 1.0. | |
2209 | (enable-version-specific-runtime-libs): Use LIBGOMP_ENABLE. | |
2210 | (enable-linux-futex): Likewise. Rename from enable-futex. | |
2211 | (libtool_VERSION): New. | |
2212 | (LIBGOMP_ENABLE_SYMVERS): Use it. | |
2213 | * configure.tgt: Check with_gnu_ld wrt have_tls optimizations. | |
2214 | * Makefile.in, aclocal.m4, configure: Rebuild. | |
2215 | ||
2216 | * config/linux/mutex.c: Include libgomp.h instead of mutex.h. | |
2217 | (gomp_mutex_unlock_slow): Fix typo. | |
2218 | * config/linux/sem.c: Similarly. | |
2219 | (gomp_sem_post_slow): Fix typo. | |
2220 | * config/linux/sem.h (gomp_sem_post_slow): Fix typo. | |
2221 | * config/linux/i486/futex.h: Remove USE_LINUX_SYSENTER code. | |
2222 | [__PIC__] (sys_futex0): Don't use tmp output in asm. | |
2223 | ||
2224 | * Makefile.am (AM_CFLAGS): Expand with XCFLAGS. | |
2225 | (libgomp_la_LDFLAGS): Add top_srcdir to path. | |
2226 | * acinclude.m4: Copy libtool.m4 stuff from libgfortran. | |
2227 | * configure.ac: Check for getloadavg. Substitute XCFLAGS and | |
2228 | XLDFLAGS. Add XCFLAGS to CFLAGS around LIBGOMP_CHECK_SYNC_BUILTINS. | |
2229 | * configure.tgt: Set XCFLAGS and XLDFLAGS instead of CFLAGS and | |
2230 | LDFLAGS. Pull enable_futex check to top-level. | |
2231 | * libgomp.h: Fix sem.h and mutex.h includes. Define ATTRIBUTE_HIDDEN. | |
2232 | * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate. | |
2233 | ||
2234 | First attempt at real configury. | |
2235 | * Makefile, config.h: Remove file. | |
2236 | * Makefile.am, Makefile.in: New file. | |
2237 | * acinclude.m4 aclocal.m4: New file. | |
2238 | * configure.ac, configure.tgt, configure: New file. | |
2239 | ||
2240 | * config/posix/lock.c: Rename from sys-lock.c. | |
2241 | * config/posix/mutex.h: Rename from sys-mutex.h. | |
2242 | * config/posix/sem.c: Rename from sys-sem.c. | |
2243 | * config/posix/sem.h: Rename from sys-sem.h. | |
2244 | * config/posix/proc.c: Rename from sys-proc.c. | |
2245 | * config/posix/time.c: Rename from sys-proc.c. | |
2246 | ||
2247 | * config/linux/mutex.c: New file. | |
2248 | * config/linux/mutex.h: New file. | |
2249 | * config/linux/sem.c: New file. | |
2250 | * config/linux/sem.h: New file. | |
2251 | * config/linux/i486/futex.h: New file. | |
2252 | * config/linux/x86_64/futex.h: New file. | |
2253 | ||
2254 | 2005-05-04 Richard Henderson <rth@redhat.com> | |
2255 | ||
2256 | * iter.c (gomp_iter_dynamic_next, gomp_iter_guided_next): New. | |
2257 | * libgomp.h: Declare them. | |
2258 | * loop.c (gomp_loop_dynamic_start, gomp_loop_guided_start, | |
2259 | gomp_loop_dynamic_next, gomp_loop_guided_next): Use them. | |
2260 | ||
2261 | 2005-05-04 Richard Henderson <rth@redhat.com> | |
2262 | ||
2263 | * libgomp-1 code drop | |
2264 | ||
2265 | 2005-05-04 Richard Henderson <rth@redhat.com> | |
2266 | ||
2267 | * iter.c (gomp_iter_static_next): Return tri-state on 0. | |
2268 | * ordered.c (gomp_ordered_static_next): Remove not_last argument. | |
2269 | * libgomp.h (struct gomp_team_state): Make static_trip unsigned. | |
2270 | (gomp_iter_static_next): Update. | |
2271 | (gomp_ordered_static_next): Update. | |
2272 | * loop.c (gomp_loop_static_start): Update for gomp_iter_static_next. | |
2273 | (gomp_loop_ordered_static_start): Likewise. Exit early for a | |
2274 | totally empty range. | |
2275 | (gomp_loop_ordered_static_next): Refine test for calling | |
2276 | gomp_ordered_static_next. | |
2277 | * testsuite/ordered-1.c: Add case for more threads than iterations. | |
2278 | ||
2279 | * iter.c (gomp_iter_runtime_next_locked): Remove. | |
2280 | * loop.c (gomp_loop_static_start, gomp_loop_dynamic_start, | |
a1daed2d | 2281 | gomp_loop_guided_start, gomp_loop_ordered_static_start, |
953ff289 DN |
2282 | gomp_loop_ordered_dynamic_start, gomp_loop_ordered_guided_start, |
2283 | gomp_loop_static_next, gomp_loop_dynamic_next, gomp_loop_guided_next, | |
2284 | gomp_loop_ordered_static_next, gomp_loop_ordered_dynamic_next, | |
2285 | gomp_loop_ordered_guided_next): Downcase name, make static, add | |
2286 | an external alias with the old name. | |
2287 | (GOMP_loop_runtime_start, GOMP_loop_ordered_runtime_start, | |
2288 | GOMP_loop_runtime_next, GOMP_loop_ordered_runtime_next): Use a | |
2289 | switch and call one of the above static functions. | |
2290 | * libgomp.h: Update. | |
2291 | ||
2292 | * work.c (gomp_work_share_start): Lock the mutex for !first too. | |
2293 | * loop.c (GOMP_loop_static_start, GOMP_loop_dynamic_start, | |
2294 | GOMP_loop_guided_start, GOMP_loop_runtime_start, | |
2295 | GOMP_loop_ordered_static_start, GOMP_loop_ordered_dynamic_start, | |
2296 | GOMP_loop_ordered_guided_start): Update to match. | |
2297 | * sections.c (GOMP_sections_start): Likewise. | |
2298 | * single.c (GOMP_single_start, GOMP_single_copy_start): Likewise. | |
2299 | ||
2300 | * ordered.c (gomp_ordered_first, gomp_ordered_last, gomp_ordered_next, | |
2301 | gomp_ordered_static_init, gomp_ordered_static_next): Rename s/_loop//. | |
2302 | Use bounds check instead of modulus. | |
2303 | (gomp_ordered_sync): Split out of GOMP_ordered_start. | |
2304 | (gomp_ordered_last): Don't sync with ordered_owner here. | |
2305 | (gomp_ordered_next): Likewise. | |
2306 | (gomp_ordered_static_loop_next): Likewise. | |
2307 | * loop.c, libgomp.h: Update to match. | |
2308 | ||
2309 | * libgomp.h (GOMP_barrier): Declare. | |
2310 | ||
2311 | * testsuite/barrier-1.c: New file. | |
2312 | * testsuite/critical-1.c: New file. | |
2313 | * testsuite/ordered-2.c: New file. | |
2314 | * testsuite/ordered-1.c: New file. | |
2315 | * testsuite/sections-1.c: New file. | |
2316 | * testsuite/single-1.c: New file. | |
2317 | * testsuite/Makefile (TESTS): Add them. | |
2318 | ||
2319 | 2005-05-04 Richard Henderson <rth@redhat.com> | |
2320 | ||
2321 | * libgomp.h (struct gomp_work_share): Add ordered_owner. | |
2322 | * loop.c (GOMP_loop_static_start): If not the startup thread, | |
2323 | acquire the mutex to wait for initialization complete. | |
2324 | (GOMP_loop_ordered_static_start): Likewise. | |
2325 | (GOMP_loop_ordered_runtime_start): Likewise. | |
2326 | (GOMP_loop_ordered_static_first): Remove. | |
2327 | (GOMP_loop_ordered_dynamic_first): Remove. | |
2328 | (GOMP_loop_ordered_guided_first): Remove. | |
2329 | (GOMP_loop_ordered_runtime_first): Remove. | |
2330 | * ordered.c (gomp_ordered_loop_first): Post to own release when | |
2331 | we're the first thread. | |
2332 | (gomp_ordered_loop_last): Wait on release if not owner. | |
2333 | (gomp_ordered_loop_next): Likewise. | |
2334 | (gomp_ordered_static_loop_init): New. | |
2335 | (gomp_ordered_static_loop_next): Use ordered_owner. | |
2336 | (GOMP_ordered_start): Likewise. | |
2337 | * work.c (gomp_new_work_share): Initialize ordered_owner. | |
2338 | ||
2339 | 2005-05-03 Richard Henderson <rth@redhat.com> | |
2340 | ||
2341 | * Makefile (OPT): New. | |
2342 | (CFLAGS): Use it. | |
2343 | ||
2344 | * loop.c (GOMP_loop_end, GOMP_loop_end_nowait): New. | |
2345 | * sections.c (GOMP_sections_end, GOMP_sections_end_nowait): New. | |
2346 | * libgomp.h, libgomp.map, NOTES: Update to match. | |
2347 | ||
2348 | * team.c (struct gomp_thread_start_data): Remove ts, fn, data. | |
2349 | Add initialized and thr members. | |
2350 | (gomp_thread_start): Pause when initially spawned to wait for | |
2351 | the whole team to be created. | |
2352 | (gomp_team_start): Release team members at the end. | |
2353 | ||
2354 | * testsuite/loop-1.c (N): New. Use it instead of hardcoded 100. | |
2355 | (f_foo_1): Use GOMP_loop_end. | |
2356 | (f_foo_2): Use GOMP_loop_end_nowait. | |
2357 | ||
2358 | * testsuite/loop-2.c: New file. | |
2359 | * testsuite/Makefile (TESTS): Add it. | |
2360 | ||
2361 | 2005-05-03 Richard Henderson <rth@redhat.com> | |
2362 | ||
2363 | * iter.c (gomp_iter_static_next): Fix overflow check typo. | |
2364 | (gomp_iter_dynamic_next_locked): Fix overflow check thinko. | |
2365 | * team.c (new_team): Initialize oldest_live_gen to 1 if no | |
2366 | initial work_share. | |
2367 | ||
2368 | * testsuite/Makefile: New file. | |
2369 | * testsuite/loop-1.c: New file. | |
2370 | ||
2371 | 2005-05-03 Richard Henderson <rth@redhat.com> | |
2372 | ||
2373 | Initial implementation and checkin. |