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