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