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