]>
Commit | Line | Data |
---|---|---|
844d9a76 JDA |
1 | 2015-03-21 John David Anglin <danglin@gcc.gnu.org> |
2 | ||
3 | * testsuite/libgomp.oacc-c-c++-common/reduction-4.c: Don't run on | |
4 | hppa*-*-hpux*. | |
5 | ||
9b65e171 JJ |
6 | 2015-03-19 Jakub Jelinek <jakub@redhat.com> |
7 | ||
8 | * testsuite/libgomp.c/target-10.c: New test. | |
9 | * testsuite/libgomp.c++/target-4.C: New test. | |
10 | ||
db397e2e IV |
11 | 2015-03-13 Ilya Verbin <ilya.verbin@intel.com> |
12 | ||
13 | * testsuite/libgomp.fortran/declare-target-1.f90: New test. | |
14 | * testsuite/libgomp.fortran/declare-target-2.f90: New file. | |
15 | ||
cd93945d SH |
16 | 2015-03-13 Sebastian Huber <sebastian.huber@embedded-brains.de> |
17 | ||
18 | * configure.tgt (*-*-rtems*): Use local-exec TLS model. | |
19 | * configure.ac (*-*-rtems*): Assume Pthread is supported. | |
20 | (pthread.h): Check for this header file. | |
21 | * configure: Regenerate. | |
22 | ||
05deba9f TV |
23 | 2015-02-25 Tom de Vries <tom@codesourcery.com> |
24 | ||
25 | * testsuite/libgomp.oacc-c-c++-common/reduction-1.c (DO_PRAGMA) | |
26 | (check_reduction_op, check_reduction_macro, max, min): | |
27 | Declare. | |
28 | (test_reductions_int, test_reductions_minmax, test_reductions_bool): New | |
29 | function. | |
30 | (main): Use new functions. | |
31 | ||
196904d8 IT |
32 | 2015-02-18 Ilya Tocar <ilya.tocar@intel.com> |
33 | ||
34 | * target.c (gomp_load_plugin_for_device): Use const char * instead of | |
35 | char * for variables holding dlerror return values. | |
36 | (DLSYM_OPT): Ditto. | |
37 | ||
a2818955 TS |
38 | 2015-02-17 Thomas Schwinge <thomas@codesourcery.com> |
39 | ||
40 | * libgomp-plugin.c (GOMP_PLUGIN_debug): Fix typo. | |
41 | ||
26f93312 TS |
42 | 2015-02-17 Thomas Schwinge <thomas@codesourcery.com> |
43 | Cesar Philippidis <cesar@codesourcery.com> | |
44 | ||
45 | * oacc-ptx.h (GOACC_INTERNAL_PTX): Add GOACC_tid, GOACC_ntid, | |
46 | GOACC_ctaid, and GOACC_nctaid routines. | |
47 | ||
fa01ffcc JJ |
48 | 2015-02-11 Jakub Jelinek <jakub@redhat.com> |
49 | ||
50 | PR c/64824 | |
51 | * testsuite/libgomp.c/atomic-18.c: New test. | |
52 | * testsuite/libgomp.c++/atomic-16.C: New test. | |
53 | ||
4886ec8e JJ |
54 | 2015-02-04 Jakub Jelinek <jakub@redhat.com> |
55 | ||
56 | PR c/64824 | |
57 | PR c/64868 | |
58 | * testsuite/libgomp.c/pr64824.c: New test. | |
59 | * testsuite/libgomp.c/pr64868.c: New test. | |
60 | * testsuite/libgomp.c++/pr64824.C: New test. | |
61 | * testsuite/libgomp.c++/pr64868.C: New test. | |
62 | ||
02d3e45e DE |
63 | 2015-02-01 David Edelsohn <dje.gcc@gmail.com> |
64 | ||
65 | PR libgomp/64635 | |
66 | * configure.tgt (*-*-aix*): Use standard posix plugin-suffix.h. | |
67 | Link with -lpthread. | |
68 | * config/aix/plugin-suffix.h: Delete. | |
69 | ||
b5f7a6ca JH |
70 | 2015-01-28 Jack Howarth <howarth.at.gcc@gmail.com> |
71 | ||
72 | PR libgomp/64635 | |
73 | * configure.tgt (*-*-aix*): Use config_path "aix posix". | |
74 | (*-*-darwin*): Use config_path "bsd darwin posix". | |
75 | (*-*-hpux*): Use config_path "hpux posix". | |
76 | * target.c: Add include of plugin-suffix.h and use | |
77 | SONAME_SUFFIX macro. | |
78 | * config/aix/plugin-suffix.h: New file. | |
79 | * config/darwin/plugin-suffix.h: New file. | |
80 | * config/hpux/plugin-suffix.h: New file. | |
81 | * config/posix/plugin-suffix.h: New file. | |
82 | ||
b8910447 JJ |
83 | 2015-01-23 Jakub Jelinek <jakub@redhat.com> |
84 | ||
85 | PR middle-end/64734 | |
86 | * libgomp.c/pr64734.c: New test. | |
87 | ||
a0c88d06 TV |
88 | 2015-01-23 Tom de Vries <tom@codesourcery.com> |
89 | ||
90 | PR libgomp/64672 | |
91 | * testsuite/libgomp.oacc-c-c++-common/abort-5.c: New test. | |
92 | ||
1506ae0e TV |
93 | 2015-01-23 Tom de Vries <tom@codesourcery.com> |
94 | ||
95 | PR libgomp/64707 | |
96 | * testsuite/libgomp.c/target-9.c: Add -ftree-parallelize-loops=0 to | |
97 | dg-options. | |
98 | ||
128b26dc TS |
99 | 2015-01-19 Thomas Schwinge <thomas@codesourcery.com> |
100 | ||
bed62c21 | 101 | PR libgomp/64625 |
128b26dc TS |
102 | * libgomp_g.h (GOACC_data_start, GOACC_enter_exit_data) |
103 | (GOACC_parallel, GOACC_update): Remove const_void *offload_table | |
104 | formal parameter. Update all users. | |
105 | * target.c (GOMP_target, GOMP_target_data, GOMP_target_update): | |
106 | Document unused formal parameter. | |
107 | ||
6e36114c TS |
108 | 2015-01-16 Thomas Schwinge <thomas@codesourcery.com> |
109 | ||
110 | * oacc-parallel.c: Don't include <alloca.h>. | |
111 | (GOACC_parallel): Use gomp_alloca instead of alloca. | |
112 | ||
973e9808 GP |
113 | 2015-01-16 Gerald Pfeifer <gerald@pfeifer.com> |
114 | ||
115 | * target.c (num_devices): Guard with PLUGIN_SUPPORT. | |
116 | ||
41dbbb37 TS |
117 | 2015-01-15 Thomas Schwinge <thomas@codesourcery.com> |
118 | James Norris <jnorris@codesourcery.com> | |
119 | Tom de Vries <tom@codesourcery.com> | |
120 | Julian Brown <julian@codesourcery.com> | |
121 | Cesar Philippidis <cesar@codesourcery.com> | |
122 | Nathan Sidwell <nathan@codesourcery.com> | |
123 | Tobias Burnus <burnus@net-b.de> | |
124 | ||
125 | * Makefile.am (search_path): Add $(top_srcdir)/../include. | |
126 | (libgomp_la_SOURCES): Add splay-tree.c, libgomp-plugin.c, | |
127 | oacc-parallel.c, oacc-host.c, oacc-init.c, oacc-mem.c, | |
128 | oacc-async.c, oacc-plugin.c, oacc-cuda.c. | |
129 | [USE_FORTRAN] (libgomp_la_SOURCES): Add openacc.f90. | |
130 | Include $(top_srcdir)/plugin/Makefrag.am. | |
131 | (nodist_libsubinclude_HEADERS): Add openacc.h. | |
132 | [USE_FORTRAN] (nodist_finclude_HEADERS): Add openacc_lib.h, | |
133 | openacc.f90, openacc.mod, openacc_kinds.mod. | |
134 | (omp_lib.mod): Generalize into... | |
135 | (%.mod): ... this new rule. | |
136 | (openacc_kinds.mod, openacc.mod): New rules. | |
137 | * plugin/configfrag.ac: New file. | |
138 | * configure.ac: Move plugin/offloading support into it. Include | |
139 | it. Instantiate testsuite/libgomp-test-support.pt.exp. | |
140 | * plugin/Makefrag.am: New file. | |
141 | * testsuite/Makefile.am (OFFLOAD_TARGETS) | |
142 | (OFFLOAD_ADDITIONAL_OPTIONS, OFFLOAD_ADDITIONAL_LIB_PATHS): Don't | |
143 | export. | |
144 | (libgomp-test-support.exp): New rule. | |
145 | (all-local): Depend on it. | |
146 | * Makefile.in: Regenerate. | |
147 | * testsuite/Makefile.in: Regenerate. | |
148 | * config.h.in: Likewise. | |
149 | * configure: Likewise. | |
150 | * configure.tgt: Harden shell syntax. | |
151 | * env.c: Include "oacc-int.h". | |
152 | (parse_acc_device_type): New function. | |
153 | (gomp_debug_var, goacc_device_type, goacc_device_num): New | |
154 | variables. | |
155 | (initialize_env): Initialize those. Call | |
156 | goacc_runtime_initialize. | |
157 | * error.c (gomp_vdebug, gomp_debug, gomp_vfatal): New functions. | |
158 | (gomp_fatal): Call gomp_vfatal. | |
159 | * libgomp.h: Include "libgomp-plugin.h" and <stdarg.h>. | |
160 | (gomp_debug_var, goacc_device_type, goacc_device_num, gomp_vdebug) | |
161 | (gomp_debug, gomp_verror, gomp_vfatal, gomp_init_targets_once) | |
162 | (splay_tree_node, splay_tree, splay_tree_key) | |
163 | (struct target_mem_desc, struct splay_tree_key_s) | |
164 | (struct gomp_memory_mapping, struct acc_dispatch_t) | |
165 | (struct gomp_device_descr, gomp_acc_insert_pointer) | |
166 | (gomp_acc_remove_pointer, target_mem_desc, gomp_copy_from_async) | |
167 | (gomp_unmap_vars, gomp_init_device, gomp_init_tables) | |
168 | (gomp_free_memmap, gomp_fini_device): New declarations. | |
169 | (gomp_vdebug, gomp_debug): New macros. | |
170 | Include "splay-tree.h". | |
171 | * libgomp.map (OACC_2.0): New symbol version. Use for | |
172 | acc_get_num_devices, acc_get_num_devices_h_, acc_set_device_type, | |
173 | acc_set_device_type_h_, acc_get_device_type, | |
174 | acc_get_device_type_h_, acc_set_device_num, acc_set_device_num_h_, | |
175 | acc_get_device_num, acc_get_device_num_h_, acc_async_test, | |
176 | acc_async_test_h_, acc_async_test_all, acc_async_test_all_h_, | |
177 | acc_wait, acc_wait_h_, acc_wait_async, acc_wait_async_h_, | |
178 | acc_wait_all, acc_wait_all_h_, acc_wait_all_async, | |
179 | acc_wait_all_async_h_, acc_init, acc_init_h_, acc_shutdown, | |
180 | acc_shutdown_h_, acc_on_device, acc_on_device_h_, acc_malloc, | |
181 | acc_free, acc_copyin, acc_copyin_32_h_, acc_copyin_64_h_, | |
182 | acc_copyin_array_h_, acc_present_or_copyin, | |
183 | acc_present_or_copyin_32_h_, acc_present_or_copyin_64_h_, | |
184 | acc_present_or_copyin_array_h_, acc_create, acc_create_32_h_, | |
185 | acc_create_64_h_, acc_create_array_h_, acc_present_or_create, | |
186 | acc_present_or_create_32_h_, acc_present_or_create_64_h_, | |
187 | acc_present_or_create_array_h_, acc_copyout, acc_copyout_32_h_, | |
188 | acc_copyout_64_h_, acc_copyout_array_h_, acc_delete, | |
189 | acc_delete_32_h_, acc_delete_64_h_, acc_delete_array_h_, | |
190 | acc_update_device, acc_update_device_32_h_, | |
191 | acc_update_device_64_h_, acc_update_device_array_h_, | |
192 | acc_update_self, acc_update_self_32_h_, acc_update_self_64_h_, | |
193 | acc_update_self_array_h_, acc_map_data, acc_unmap_data, | |
194 | acc_deviceptr, acc_hostptr, acc_is_present, acc_is_present_32_h_, | |
195 | acc_is_present_64_h_, acc_is_present_array_h_, | |
196 | acc_memcpy_to_device, acc_memcpy_from_device, | |
197 | acc_get_current_cuda_device, acc_get_current_cuda_context, | |
198 | acc_get_cuda_stream, acc_set_cuda_stream. | |
199 | (GOACC_2.0): New symbol version. Use for GOACC_data_end, | |
200 | GOACC_data_start, GOACC_enter_exit_data, GOACC_parallel, | |
201 | GOACC_update, GOACC_wait, GOACC_get_thread_num, | |
202 | GOACC_get_num_threads. | |
203 | (GOMP_PLUGIN_1.0): New symbol version. Use for | |
204 | GOMP_PLUGIN_malloc, GOMP_PLUGIN_malloc_cleared, | |
205 | GOMP_PLUGIN_realloc, GOMP_PLUGIN_debug, GOMP_PLUGIN_error, | |
206 | GOMP_PLUGIN_fatal, GOMP_PLUGIN_async_unmap_vars, | |
207 | GOMP_PLUGIN_acc_thread. | |
208 | * libgomp.texi: Update for OpenACC changes, and GOMP_DEBUG | |
209 | environment variable. | |
210 | * libgomp_g.h (GOACC_data_start, GOACC_data_end) | |
211 | (GOACC_enter_exit_data, GOACC_parallel, GOACC_update, GOACC_wait) | |
212 | (GOACC_get_num_threads, GOACC_get_thread_num): New declarations. | |
213 | * splay-tree.h (splay_tree_lookup, splay_tree_insert) | |
214 | (splay_tree_remove): New declarations. | |
215 | (rotate_left, rotate_right, splay_tree_splay, splay_tree_insert) | |
216 | (splay_tree_remove, splay_tree_lookup): Move into... | |
217 | * splay-tree.c: ... this new file. | |
218 | * target.c: Include "oacc-plugin.h", "oacc-int.h", <assert.h>. | |
219 | (splay_tree_node, splay_tree, splay_tree_key) | |
220 | (struct target_mem_desc, struct splay_tree_key_s) | |
221 | (struct gomp_device_descr): Don't declare. | |
222 | (num_devices_openmp): New variable. | |
223 | (gomp_get_num_devices ): Use it. | |
224 | (gomp_init_targets_once): New function. | |
225 | (gomp_get_num_devices ): Use it. | |
226 | (get_kind, gomp_copy_from_async, gomp_free_memmap) | |
227 | (gomp_fini_device, gomp_register_image_for_device): New functions. | |
228 | (gomp_map_vars): Add devaddrs parameter. | |
229 | (gomp_update): Add mm parameter. | |
230 | (gomp_init_device): Move most of it into... | |
231 | (gomp_init_tables): ... this new function. | |
232 | (gomp_register_images_for_device): Remove function. | |
233 | (splay_compare, gomp_map_vars, gomp_unmap_vars, gomp_init_device): | |
234 | Make them hidden instead of static. | |
235 | (gomp_map_vars_existing, gomp_map_vars, gomp_unmap_vars) | |
236 | (gomp_update, gomp_init_device, GOMP_target, GOMP_target_data) | |
237 | (GOMP_target_end_data, GOMP_target_update) | |
238 | (gomp_load_plugin_for_device, gomp_target_init): Update for | |
239 | OpenACC changes. | |
240 | * oacc-async.c: New file. | |
241 | * oacc-cuda.c: Likewise. | |
242 | * oacc-host.c: Likewise. | |
243 | * oacc-init.c: Likewise. | |
244 | * oacc-int.h: Likewise. | |
245 | * oacc-mem.c: Likewise. | |
246 | * oacc-parallel.c: Likewise. | |
247 | * oacc-plugin.c: Likewise. | |
248 | * oacc-plugin.h: Likewise. | |
249 | * oacc-ptx.h: Likewise. | |
250 | * openacc.f90: Likewise. | |
251 | * openacc.h: Likewise. | |
252 | * openacc_lib.h: Likewise. | |
253 | * plugin/plugin-host.c: Likewise. | |
254 | * plugin/plugin-nvptx.c: Likewise. | |
255 | * libgomp-plugin.c: Likewise. | |
256 | * libgomp-plugin.h: Likewise. | |
257 | * libgomp_target.h: Remove file after merging content into the | |
258 | former file. Update all users. | |
259 | * testsuite/lib/libgomp.exp: Load libgomp-test-support.exp. | |
260 | (offload_targets_s, offload_targets_s_openacc): New variables. | |
261 | (check_effective_target_openacc_nvidia_accel_present) | |
262 | (check_effective_target_openacc_nvidia_accel_selected): New | |
263 | procedures. | |
264 | (libgomp_init): Update for OpenACC changes. | |
265 | * testsuite/libgomp-test-support.exp.in: New file. | |
266 | * testsuite/libgomp.oacc-c++/c++.exp: Likewise. | |
267 | * testsuite/libgomp.oacc-c/c.exp: Likewise. | |
268 | * testsuite/libgomp.oacc-fortran/fortran.exp: Likewise. | |
269 | * testsuite/libgomp.oacc-c-c++-common/abort-1.c: Likewise. | |
270 | * testsuite/libgomp.oacc-c-c++-common/abort-2.c: Likewise. | |
271 | * testsuite/libgomp.oacc-c-c++-common/abort-3.c: Likewise. | |
272 | * testsuite/libgomp.oacc-c-c++-common/abort-4.c: Likewise. | |
273 | * testsuite/libgomp.oacc-c-c++-common/acc_on_device-1.c: Likewise. | |
274 | * testsuite/libgomp.oacc-c-c++-common/asyncwait-1.c: Likewise. | |
275 | * testsuite/libgomp.oacc-c-c++-common/cache-1.c: Likewise. | |
276 | * testsuite/libgomp.oacc-c-c++-common/clauses-1.c: Likewise. | |
277 | * testsuite/libgomp.oacc-c-c++-common/clauses-2.c: Likewise. | |
278 | * testsuite/libgomp.oacc-c-c++-common/collapse-1.c: Likewise. | |
279 | * testsuite/libgomp.oacc-c-c++-common/collapse-2.c: Likewise. | |
280 | * testsuite/libgomp.oacc-c-c++-common/collapse-3.c: Likewise. | |
281 | * testsuite/libgomp.oacc-c-c++-common/collapse-4.c: Likewise. | |
282 | * testsuite/libgomp.oacc-c-c++-common/context-1.c: Likewise. | |
283 | * testsuite/libgomp.oacc-c-c++-common/context-2.c: Likewise. | |
284 | * testsuite/libgomp.oacc-c-c++-common/context-3.c: Likewise. | |
285 | * testsuite/libgomp.oacc-c-c++-common/context-4.c: Likewise. | |
286 | * testsuite/libgomp.oacc-c-c++-common/data-1.c: Likewise. | |
287 | * testsuite/libgomp.oacc-c-c++-common/data-2.c: Likewise. | |
288 | * testsuite/libgomp.oacc-c-c++-common/data-3.c: Likewise. | |
289 | * testsuite/libgomp.oacc-c-c++-common/data-already-1.c: Likewise. | |
290 | * testsuite/libgomp.oacc-c-c++-common/data-already-2.c: Likewise. | |
291 | * testsuite/libgomp.oacc-c-c++-common/data-already-3.c: Likewise. | |
292 | * testsuite/libgomp.oacc-c-c++-common/data-already-4.c: Likewise. | |
293 | * testsuite/libgomp.oacc-c-c++-common/data-already-5.c: Likewise. | |
294 | * testsuite/libgomp.oacc-c-c++-common/data-already-6.c: Likewise. | |
295 | * testsuite/libgomp.oacc-c-c++-common/data-already-7.c: Likewise. | |
296 | * testsuite/libgomp.oacc-c-c++-common/data-already-8.c: Likewise. | |
297 | * testsuite/libgomp.oacc-c-c++-common/deviceptr-1.c: Likewise. | |
298 | * testsuite/libgomp.oacc-c-c++-common/if-1.c: Likewise. | |
299 | * testsuite/libgomp.oacc-c-c++-common/kernels-1.c: Likewise. | |
300 | * testsuite/libgomp.oacc-c-c++-common/kernels-empty.c: Likewise. | |
301 | * testsuite/libgomp.oacc-c-c++-common/lib-1.c: Likewise. | |
302 | * testsuite/libgomp.oacc-c-c++-common/lib-10.c: Likewise. | |
303 | * testsuite/libgomp.oacc-c-c++-common/lib-11.c: Likewise. | |
304 | * testsuite/libgomp.oacc-c-c++-common/lib-12.c: Likewise. | |
305 | * testsuite/libgomp.oacc-c-c++-common/lib-13.c: Likewise. | |
306 | * testsuite/libgomp.oacc-c-c++-common/lib-14.c: Likewise. | |
307 | * testsuite/libgomp.oacc-c-c++-common/lib-15.c: Likewise. | |
308 | * testsuite/libgomp.oacc-c-c++-common/lib-16.c: Likewise. | |
309 | * testsuite/libgomp.oacc-c-c++-common/lib-17.c: Likewise. | |
310 | * testsuite/libgomp.oacc-c-c++-common/lib-18.c: Likewise. | |
311 | * testsuite/libgomp.oacc-c-c++-common/lib-19.c: Likewise. | |
312 | * testsuite/libgomp.oacc-c-c++-common/lib-2.c: Likewise. | |
313 | * testsuite/libgomp.oacc-c-c++-common/lib-20.c: Likewise. | |
314 | * testsuite/libgomp.oacc-c-c++-common/lib-21.c: Likewise. | |
315 | * testsuite/libgomp.oacc-c-c++-common/lib-22.c: Likewise. | |
316 | * testsuite/libgomp.oacc-c-c++-common/lib-23.c: Likewise. | |
317 | * testsuite/libgomp.oacc-c-c++-common/lib-24.c: Likewise. | |
318 | * testsuite/libgomp.oacc-c-c++-common/lib-25.c: Likewise. | |
319 | * testsuite/libgomp.oacc-c-c++-common/lib-26.c: Likewise. | |
320 | * testsuite/libgomp.oacc-c-c++-common/lib-27.c: Likewise. | |
321 | * testsuite/libgomp.oacc-c-c++-common/lib-28.c: Likewise. | |
322 | * testsuite/libgomp.oacc-c-c++-common/lib-29.c: Likewise. | |
323 | * testsuite/libgomp.oacc-c-c++-common/lib-3.c: Likewise. | |
324 | * testsuite/libgomp.oacc-c-c++-common/lib-30.c: Likewise. | |
325 | * testsuite/libgomp.oacc-c-c++-common/lib-31.c: Likewise. | |
326 | * testsuite/libgomp.oacc-c-c++-common/lib-32.c: Likewise. | |
327 | * testsuite/libgomp.oacc-c-c++-common/lib-33.c: Likewise. | |
328 | * testsuite/libgomp.oacc-c-c++-common/lib-34.c: Likewise. | |
329 | * testsuite/libgomp.oacc-c-c++-common/lib-35.c: Likewise. | |
330 | * testsuite/libgomp.oacc-c-c++-common/lib-36.c: Likewise. | |
331 | * testsuite/libgomp.oacc-c-c++-common/lib-37.c: Likewise. | |
332 | * testsuite/libgomp.oacc-c-c++-common/lib-38.c: Likewise. | |
333 | * testsuite/libgomp.oacc-c-c++-common/lib-39.c: Likewise. | |
334 | * testsuite/libgomp.oacc-c-c++-common/lib-4.c: Likewise. | |
335 | * testsuite/libgomp.oacc-c-c++-common/lib-40.c: Likewise. | |
336 | * testsuite/libgomp.oacc-c-c++-common/lib-41.c: Likewise. | |
337 | * testsuite/libgomp.oacc-c-c++-common/lib-42.c: Likewise. | |
338 | * testsuite/libgomp.oacc-c-c++-common/lib-43.c: Likewise. | |
339 | * testsuite/libgomp.oacc-c-c++-common/lib-44.c: Likewise. | |
340 | * testsuite/libgomp.oacc-c-c++-common/lib-45.c: Likewise. | |
341 | * testsuite/libgomp.oacc-c-c++-common/lib-46.c: Likewise. | |
342 | * testsuite/libgomp.oacc-c-c++-common/lib-47.c: Likewise. | |
343 | * testsuite/libgomp.oacc-c-c++-common/lib-48.c: Likewise. | |
344 | * testsuite/libgomp.oacc-c-c++-common/lib-49.c: Likewise. | |
345 | * testsuite/libgomp.oacc-c-c++-common/lib-5.c: Likewise. | |
346 | * testsuite/libgomp.oacc-c-c++-common/lib-50.c: Likewise. | |
347 | * testsuite/libgomp.oacc-c-c++-common/lib-51.c: Likewise. | |
348 | * testsuite/libgomp.oacc-c-c++-common/lib-52.c: Likewise. | |
349 | * testsuite/libgomp.oacc-c-c++-common/lib-53.c: Likewise. | |
350 | * testsuite/libgomp.oacc-c-c++-common/lib-54.c: Likewise. | |
351 | * testsuite/libgomp.oacc-c-c++-common/lib-55.c: Likewise. | |
352 | * testsuite/libgomp.oacc-c-c++-common/lib-56.c: Likewise. | |
353 | * testsuite/libgomp.oacc-c-c++-common/lib-57.c: Likewise. | |
354 | * testsuite/libgomp.oacc-c-c++-common/lib-58.c: Likewise. | |
355 | * testsuite/libgomp.oacc-c-c++-common/lib-59.c: Likewise. | |
356 | * testsuite/libgomp.oacc-c-c++-common/lib-6.c: Likewise. | |
357 | * testsuite/libgomp.oacc-c-c++-common/lib-60.c: Likewise. | |
358 | * testsuite/libgomp.oacc-c-c++-common/lib-61.c: Likewise. | |
359 | * testsuite/libgomp.oacc-c-c++-common/lib-62.c: Likewise. | |
360 | * testsuite/libgomp.oacc-c-c++-common/lib-63.c: Likewise. | |
361 | * testsuite/libgomp.oacc-c-c++-common/lib-64.c: Likewise. | |
362 | * testsuite/libgomp.oacc-c-c++-common/lib-65.c: Likewise. | |
363 | * testsuite/libgomp.oacc-c-c++-common/lib-66.c: Likewise. | |
364 | * testsuite/libgomp.oacc-c-c++-common/lib-67.c: Likewise. | |
365 | * testsuite/libgomp.oacc-c-c++-common/lib-68.c: Likewise. | |
366 | * testsuite/libgomp.oacc-c-c++-common/lib-69.c: Likewise. | |
367 | * testsuite/libgomp.oacc-c-c++-common/lib-7.c: Likewise. | |
368 | * testsuite/libgomp.oacc-c-c++-common/lib-70.c: Likewise. | |
369 | * testsuite/libgomp.oacc-c-c++-common/lib-71.c: Likewise. | |
370 | * testsuite/libgomp.oacc-c-c++-common/lib-72.c: Likewise. | |
371 | * testsuite/libgomp.oacc-c-c++-common/lib-73.c: Likewise. | |
372 | * testsuite/libgomp.oacc-c-c++-common/lib-74.c: Likewise. | |
373 | * testsuite/libgomp.oacc-c-c++-common/lib-75.c: Likewise. | |
374 | * testsuite/libgomp.oacc-c-c++-common/lib-76.c: Likewise. | |
375 | * testsuite/libgomp.oacc-c-c++-common/lib-77.c: Likewise. | |
376 | * testsuite/libgomp.oacc-c-c++-common/lib-78.c: Likewise. | |
377 | * testsuite/libgomp.oacc-c-c++-common/lib-79.c: Likewise. | |
378 | * testsuite/libgomp.oacc-c-c++-common/lib-80.c: Likewise. | |
379 | * testsuite/libgomp.oacc-c-c++-common/lib-81.c: Likewise. | |
380 | * testsuite/libgomp.oacc-c-c++-common/lib-82.c: Likewise. | |
381 | * testsuite/libgomp.oacc-c-c++-common/lib-83.c: Likewise. | |
382 | * testsuite/libgomp.oacc-c-c++-common/lib-84.c: Likewise. | |
383 | * testsuite/libgomp.oacc-c-c++-common/lib-85.c: Likewise. | |
384 | * testsuite/libgomp.oacc-c-c++-common/lib-86.c: Likewise. | |
385 | * testsuite/libgomp.oacc-c-c++-common/lib-87.c: Likewise. | |
386 | * testsuite/libgomp.oacc-c-c++-common/lib-88.c: Likewise. | |
387 | * testsuite/libgomp.oacc-c-c++-common/lib-89.c: Likewise. | |
388 | * testsuite/libgomp.oacc-c-c++-common/lib-9.c: Likewise. | |
389 | * testsuite/libgomp.oacc-c-c++-common/lib-90.c: Likewise. | |
390 | * testsuite/libgomp.oacc-c-c++-common/lib-91.c: Likewise. | |
391 | * testsuite/libgomp.oacc-c-c++-common/lib-92.c: Likewise. | |
392 | * testsuite/libgomp.oacc-c-c++-common/nested-1.c: Likewise. | |
393 | * testsuite/libgomp.oacc-c-c++-common/nested-2.c: Likewise. | |
394 | * testsuite/libgomp.oacc-c-c++-common/offset-1.c: Likewise. | |
395 | * testsuite/libgomp.oacc-c-c++-common/parallel-1.c: Likewise. | |
396 | * testsuite/libgomp.oacc-c-c++-common/parallel-empty.c: Likewise. | |
397 | * testsuite/libgomp.oacc-c-c++-common/pointer-align-1.c: Likewise. | |
398 | * testsuite/libgomp.oacc-c-c++-common/present-1.c: Likewise. | |
399 | * testsuite/libgomp.oacc-c-c++-common/present-2.c: Likewise. | |
400 | * testsuite/libgomp.oacc-c-c++-common/reduction-1.c: Likewise. | |
401 | * testsuite/libgomp.oacc-c-c++-common/reduction-2.c: Likewise. | |
402 | * testsuite/libgomp.oacc-c-c++-common/reduction-3.c: Likewise. | |
403 | * testsuite/libgomp.oacc-c-c++-common/reduction-4.c: Likewise. | |
404 | * testsuite/libgomp.oacc-c-c++-common/reduction-5.c: Likewise. | |
405 | * testsuite/libgomp.oacc-c-c++-common/reduction-initial-1.c: | |
406 | Likewise. | |
407 | * testsuite/libgomp.oacc-c-c++-common/subr.h: Likewise. | |
408 | * testsuite/libgomp.oacc-c-c++-common/subr.ptx: Likewise. | |
409 | * testsuite/libgomp.oacc-c-c++-common/timer.h: Likewise. | |
410 | * testsuite/libgomp.oacc-c-c++-common/update-1-2.c: Likewise. | |
411 | * testsuite/libgomp.oacc-c-c++-common/update-1.c: Likewise. | |
412 | * testsuite/libgomp.oacc-fortran/abort-1.f90: Likewise. | |
413 | * testsuite/libgomp.oacc-fortran/abort-2.f90: Likewise. | |
414 | * testsuite/libgomp.oacc-fortran/acc_on_device-1-1.f90: Likewise. | |
415 | * testsuite/libgomp.oacc-fortran/acc_on_device-1-2.f: Likewise. | |
416 | * testsuite/libgomp.oacc-fortran/acc_on_device-1-3.f: Likewise. | |
417 | * testsuite/libgomp.oacc-fortran/asyncwait-1.f90: Likewise. | |
418 | * testsuite/libgomp.oacc-fortran/asyncwait-2.f90: Likewise. | |
419 | * testsuite/libgomp.oacc-fortran/asyncwait-3.f90: Likewise. | |
420 | * testsuite/libgomp.oacc-fortran/collapse-1.f90: Likewise. | |
421 | * testsuite/libgomp.oacc-fortran/collapse-2.f90: Likewise. | |
422 | * testsuite/libgomp.oacc-fortran/collapse-3.f90: Likewise. | |
423 | * testsuite/libgomp.oacc-fortran/collapse-4.f90: Likewise. | |
424 | * testsuite/libgomp.oacc-fortran/collapse-5.f90: Likewise. | |
425 | * testsuite/libgomp.oacc-fortran/collapse-6.f90: Likewise. | |
426 | * testsuite/libgomp.oacc-fortran/collapse-7.f90: Likewise. | |
427 | * testsuite/libgomp.oacc-fortran/collapse-8.f90: Likewise. | |
428 | * testsuite/libgomp.oacc-fortran/data-1.f90: Likewise. | |
429 | * testsuite/libgomp.oacc-fortran/data-2.f90: Likewise. | |
430 | * testsuite/libgomp.oacc-fortran/data-3.f90: Likewise. | |
431 | * testsuite/libgomp.oacc-fortran/data-4-2.f90: Likewise. | |
432 | * testsuite/libgomp.oacc-fortran/data-4.f90: Likewise. | |
433 | * testsuite/libgomp.oacc-fortran/data-already-1.f: Likewise. | |
434 | * testsuite/libgomp.oacc-fortran/data-already-2.f: Likewise. | |
435 | * testsuite/libgomp.oacc-fortran/data-already-3.f: Likewise. | |
436 | * testsuite/libgomp.oacc-fortran/data-already-4.f: Likewise. | |
437 | * testsuite/libgomp.oacc-fortran/data-already-5.f: Likewise. | |
438 | * testsuite/libgomp.oacc-fortran/data-already-6.f: Likewise. | |
439 | * testsuite/libgomp.oacc-fortran/data-already-7.f: Likewise. | |
440 | * testsuite/libgomp.oacc-fortran/data-already-8.f: Likewise. | |
441 | * testsuite/libgomp.oacc-fortran/lib-1.f90: Likewise. | |
442 | * testsuite/libgomp.oacc-fortran/lib-10.f90: Likewise. | |
443 | * testsuite/libgomp.oacc-fortran/lib-2.f: Likewise. | |
444 | * testsuite/libgomp.oacc-fortran/lib-3.f: Likewise. | |
445 | * testsuite/libgomp.oacc-fortran/lib-4.f90: Likewise. | |
446 | * testsuite/libgomp.oacc-fortran/lib-5.f90: Likewise. | |
447 | * testsuite/libgomp.oacc-fortran/lib-6.f90: Likewise. | |
448 | * testsuite/libgomp.oacc-fortran/lib-7.f90: Likewise. | |
449 | * testsuite/libgomp.oacc-fortran/lib-8.f90: Likewise. | |
450 | * testsuite/libgomp.oacc-fortran/map-1.f90: Likewise. | |
451 | * testsuite/libgomp.oacc-fortran/openacc_version-1.f: Likewise. | |
452 | * testsuite/libgomp.oacc-fortran/openacc_version-2.f90: Likewise. | |
453 | * testsuite/libgomp.oacc-fortran/pointer-align-1.f90: Likewise. | |
454 | * testsuite/libgomp.oacc-fortran/pset-1.f90: Likewise. | |
455 | * testsuite/libgomp.oacc-fortran/reduction-1.f90: Likewise. | |
456 | * testsuite/libgomp.oacc-fortran/reduction-2.f90: Likewise. | |
457 | * testsuite/libgomp.oacc-fortran/reduction-3.f90: Likewise. | |
458 | * testsuite/libgomp.oacc-fortran/reduction-4.f90: Likewise. | |
459 | * testsuite/libgomp.oacc-fortran/reduction-5.f90: Likewise. | |
460 | * testsuite/libgomp.oacc-fortran/reduction-6.f90: Likewise. | |
461 | * testsuite/libgomp.oacc-fortran/routine-1.f90: Likewise. | |
462 | * testsuite/libgomp.oacc-fortran/routine-2.f90: Likewise. | |
463 | * testsuite/libgomp.oacc-fortran/routine-3.f90: Likewise. | |
464 | * testsuite/libgomp.oacc-fortran/routine-4.f90: Likewise. | |
465 | * testsuite/libgomp.oacc-fortran/subarrays-1.f90: Likewise. | |
466 | * testsuite/libgomp.oacc-fortran/subarrays-2.f90: Likewise. | |
467 | ||
f1f3453e TS |
468 | 2015-01-10 Thomas Schwinge <thomas@codesourcery.com> |
469 | Julian Brown <julian@codesourcery.com> | |
470 | David Malcolm <dmalcolm@redhat.com> | |
471 | ||
472 | * configure.ac: Rename libgomp from "GNU OpenMP Runtime Library" | |
473 | to "GNU Offloading and Multi Processing Runtime Library". Change | |
474 | all users. | |
475 | * configure: Regenerate. | |
476 | * libgomp.texi: Update. | |
477 | ||
f9a0eca4 TS |
478 | 2015-01-08 Thomas Schwinge <thomas@codesourcery.com> |
479 | ||
b335ef4e TS |
480 | * configure.ac [tgt_dir] (offload_additional_lib_paths): Also add |
481 | "$tgt_dir/lib32". | |
482 | * configure: Regenerate. | |
483 | ||
f9a0eca4 TS |
484 | * testsuite/lib/libgomp.exp (libgomp_init): Correctly match |
485 | "intelmic" in $offload_targets. | |
486 | ||
b67cd4e3 JJ |
487 | 2015-01-05 Jakub Jelinek <jakub@redhat.com> |
488 | ||
5624e564 JJ |
489 | Update copyright years. |
490 | ||
b67cd4e3 JJ |
491 | * libgomp.texi: Bump @copying's copyright year. |
492 | ||
3b41b583 KT |
493 | 2014-12-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com> |
494 | ||
495 | * testsuite/lib/libgomp.exp: Load target-utils.exp. | |
496 | Move load of target-supportes.exp earlier. | |
497 | ||
2354caec IV |
498 | 2014-12-10 Ilya Verbin <ilya.verbin@intel.com> |
499 | ||
500 | * testsuite/libgomp.c/target-9.c: New test. | |
501 | ||
f50eecba VR |
502 | 2014-12-09 Varvara Rainchik <varvara.rainchik@intel.com> |
503 | ||
504 | * config.h.in: Regenerate. | |
505 | * configure: Regenerate. | |
506 | * configure.ac: Add GCC_CHECK_EMUTLS. | |
507 | * libgomp.h: Add check for USE_EMUTLS: this case | |
508 | is equal to HAVE_TLS. | |
509 | * team.c: Likewise. | |
510 | ||
68bc9270 UB |
511 | 2014-12-03 Uros Bizjak <ubizjak@gmail.com> |
512 | ||
513 | * configure.tgt (x86_64-*-linux*): Tune -m32 multilib to generic. | |
514 | ||
476ff787 AT |
515 | 2014-11-28 Andrey Turetskiy <andrey.turetskiy@intel.com> |
516 | Ilya Verbin <ilya.verbin@intel.com> | |
517 | ||
518 | * testsuite/libgomp.c/target-critical-1.c: New test. | |
519 | ||
31a30e62 JJ |
520 | 2014-11-26 Jakub Jelinek <jakub@redhat.com> |
521 | ||
522 | * testsuite/libgomp.c/examples-4/e.53.4.c: Add -DITESTITERS=20 | |
68bc9270 | 523 | to dg-options unless expensive testing is on. |
31a30e62 JJ |
524 | (TESTITERS): Define to N if not defined. |
525 | (main): Use TESTITERS instead of N. | |
526 | * testsuite/libgomp.c/examples-4/e.55.1.c: Define CHUNKSZ from | |
527 | dg-additional-options depending on whether expensive testing is on. | |
528 | * testsuite/libgomp.fortran/examples-4/e.55.1.f90 (e_55_1_mod): | |
529 | Decrease N to 100000 and CHUNKSZ to 10000. | |
530 | ||
3f9e8f13 JJ |
531 | 2014-11-24 Jakub Jelinek <jakub@redhat.com> |
532 | ||
533 | PR fortran/63938 | |
31a30e62 JJ |
534 | * testsuite/libgomp.fortran/pr63938-1.f90: New test. |
535 | * testsuite/libgomp.fortran/pr63938-2.f90: New test. | |
3f9e8f13 | 536 | |
c8451a46 SE |
537 | 2014-11-21 Steve Ellcey <sellcey@imgtec.com> |
538 | ||
539 | * config/linux/mips/futex.h (SYS_futex): Define if not already done. | |
540 | ||
a699d672 L |
541 | 2014-11-21 H.J. Lu <hongjiu.lu@intel.com> |
542 | ||
543 | PR bootstrap/63784 | |
544 | * configure: Regenerated. | |
545 | ||
4a19f719 UB |
546 | 2014-11-19 Uros Bizjak <ubizjak@gmail.com> |
547 | ||
548 | * testsuite/libgomp.c/examples-4/e.53.5.c: Require | |
549 | vect_simd_clones effective target. | |
550 | * testsuite/libgomp.fortran/examples-4/e.53.5.f90: Ditto. | |
551 | ||
b1bf6c52 JJ |
552 | 2014-11-14 Jakub Jelinek <jakub@redhat.com> |
553 | ||
554 | * libgomp.c/examples-4/e.54.2.c (main): Use N / 8 instead | |
555 | of 32 as block_size. | |
556 | * libgomp.fortran/examples-4/e.54.2.f90 (e_54_1): Use n / 8 | |
557 | instead of 32 as block_size. | |
558 | ||
d64ae614 AT |
559 | 2014-11-13 Andrey Turetskiy <andrey.turetskiy@intel.com> |
560 | Ilya Verbin <ilya.verbin@intel.com> | |
561 | ||
562 | * Makefile.in: Regenerate. | |
563 | * configure: Regenerate. | |
564 | * configure.ac: Set up offload_additional_options, | |
565 | offload_additional_lib_paths and offload_targets. | |
566 | * testsuite/Makefile.am: Export environment variables: OFFLOAD_TARGETS, | |
567 | OFFLOAD_ADDITIONAL_OPTIONS, OFFLOAD_ADDITIONAL_LIB_PATHS. | |
568 | * testsuite/Makefile.in: Regenerate. | |
569 | * testsuite/lib/libgomp.exp (libgomp_init): Append | |
570 | offload_additional_lib_paths to LD_LIBRARY_PATH. Append | |
571 | offload_additional_options to ALWAYS_CFLAGS. Append liboffloadmic | |
572 | build directory to LD_LIBRARY_PATH for intelmic offload targets. | |
573 | ||
122d7303 AT |
574 | 2014-11-13 Andrey Turetskiy <andrey.turetskiy@intel.com> |
575 | Ilya Verbin <ilya.verbin@intel.com> | |
576 | Kirill Yukhin <kirill.yukhin@intel.com> | |
577 | Ilya Tocar <ilya.tocar@intel.com> | |
578 | ||
579 | * testsuite/lib/libgomp.exp | |
580 | (check_effective_target_offload_device): New. | |
581 | * testsuite/libgomp.c++/c++.exp: Include tests from subdirectories. | |
582 | * testsuite/libgomp.c++/examples-4/e.51.5.C: New test. | |
583 | * testsuite/libgomp.c++/examples-4/e.53.2.C: Ditto. | |
584 | * testsuite/libgomp.c/examples-4/e.50.1.c: Ditto. | |
585 | * testsuite/libgomp.c/examples-4/e.50.2.c: Ditto. | |
586 | * testsuite/libgomp.c/examples-4/e.50.3.c: Ditto. | |
587 | * testsuite/libgomp.c/examples-4/e.50.4.c: Ditto. | |
588 | * testsuite/libgomp.c/examples-4/e.50.5.c: Ditto. | |
589 | * testsuite/libgomp.c/examples-4/e.51.1.c: Ditto. | |
590 | * testsuite/libgomp.c/examples-4/e.51.2.c: Ditto. | |
591 | * testsuite/libgomp.c/examples-4/e.51.3.c: Ditto. | |
592 | * testsuite/libgomp.c/examples-4/e.51.4.c: Ditto. | |
593 | * testsuite/libgomp.c/examples-4/e.51.6.c: Ditto. | |
594 | * testsuite/libgomp.c/examples-4/e.51.7.c: Ditto. | |
595 | * testsuite/libgomp.c/examples-4/e.52.1.c: Ditto. | |
596 | * testsuite/libgomp.c/examples-4/e.52.2.c: Ditto. | |
597 | * testsuite/libgomp.c/examples-4/e.53.1.c: Ditto. | |
598 | * testsuite/libgomp.c/examples-4/e.53.3.c: Ditto. | |
599 | * testsuite/libgomp.c/examples-4/e.53.4.c: Ditto. | |
600 | * testsuite/libgomp.c/examples-4/e.53.5.c: Ditto. | |
601 | * testsuite/libgomp.c/examples-4/e.54.2.c: Ditto. | |
602 | * testsuite/libgomp.c/examples-4/e.54.3.c: Ditto. | |
603 | * testsuite/libgomp.c/examples-4/e.54.4.c: Ditto. | |
604 | * testsuite/libgomp.c/examples-4/e.54.5.c: Ditto. | |
605 | * testsuite/libgomp.c/examples-4/e.54.6.c: Ditto. | |
606 | * testsuite/libgomp.c/examples-4/e.55.1.c: Ditto. | |
607 | * testsuite/libgomp.c/examples-4/e.55.2.c: Ditto. | |
608 | * testsuite/libgomp.c/examples-4/e.56.3.c: Ditto. | |
609 | * testsuite/libgomp.c/examples-4/e.56.4.c: Ditto. | |
610 | * testsuite/libgomp.c/examples-4/e.57.1.c: Ditto. | |
611 | * testsuite/libgomp.c/examples-4/e.57.2.c: Ditto. | |
612 | * testsuite/libgomp.c/examples-4/e.57.3.c: Ditto. | |
613 | * testsuite/libgomp.c/target-7.c: Fix test. | |
614 | * testsuite/libgomp.fortran/examples-4/e.50.1.f90: New test. | |
615 | * testsuite/libgomp.fortran/examples-4/e.50.2.f90: Ditto. | |
616 | * testsuite/libgomp.fortran/examples-4/e.50.3.f90: Ditto. | |
617 | * testsuite/libgomp.fortran/examples-4/e.50.4.f90: Ditto. | |
618 | * testsuite/libgomp.fortran/examples-4/e.50.5.f90: Ditto. | |
619 | * testsuite/libgomp.fortran/examples-4/e.51.1.f90: Ditto. | |
620 | * testsuite/libgomp.fortran/examples-4/e.51.2.f90: Ditto. | |
621 | * testsuite/libgomp.fortran/examples-4/e.51.3.f90: Ditto. | |
622 | * testsuite/libgomp.fortran/examples-4/e.51.4.f90: Ditto. | |
623 | * testsuite/libgomp.fortran/examples-4/e.51.5.f90: Ditto. | |
624 | * testsuite/libgomp.fortran/examples-4/e.51.6.f90: Ditto. | |
625 | * testsuite/libgomp.fortran/examples-4/e.51.7.f90: Ditto. | |
626 | * testsuite/libgomp.fortran/examples-4/e.52.1.f90: Ditto. | |
627 | * testsuite/libgomp.fortran/examples-4/e.52.2.f90: Ditto. | |
628 | * testsuite/libgomp.fortran/examples-4/e.53.1.f90: Ditto. | |
629 | * testsuite/libgomp.fortran/examples-4/e.53.2.f90: Ditto. | |
630 | * testsuite/libgomp.fortran/examples-4/e.53.3.f90: Ditto. | |
631 | * testsuite/libgomp.fortran/examples-4/e.53.4.f90: Ditto. | |
632 | * testsuite/libgomp.fortran/examples-4/e.53.5.f90: Ditto. | |
633 | * testsuite/libgomp.fortran/examples-4/e.54.2.f90: Ditto. | |
634 | * testsuite/libgomp.fortran/examples-4/e.54.3.f90: Ditto. | |
635 | * testsuite/libgomp.fortran/examples-4/e.54.4.f90: Ditto. | |
636 | * testsuite/libgomp.fortran/examples-4/e.54.5.f90: Ditto. | |
637 | * testsuite/libgomp.fortran/examples-4/e.54.6.f90: Ditto. | |
638 | * testsuite/libgomp.fortran/examples-4/e.55.1.f90: Ditto. | |
639 | * testsuite/libgomp.fortran/examples-4/e.55.2.f90: Ditto. | |
640 | * testsuite/libgomp.fortran/examples-4/e.56.3.f90: Ditto. | |
641 | * testsuite/libgomp.fortran/examples-4/e.56.4.f90: Ditto. | |
642 | * testsuite/libgomp.fortran/examples-4/e.57.1.f90: Ditto. | |
643 | * testsuite/libgomp.fortran/examples-4/e.57.2.f90: Ditto. | |
644 | * testsuite/libgomp.fortran/examples-4/e.57.3.f90: Ditto. | |
645 | ||
1df3f842 JJ |
646 | 2014-11-13 Jakub Jelinek <jakub@redhat.com> |
647 | Ilya Verbin <ilya.verbin@intel.com> | |
648 | Thomas Schwinge <thomas@codesourcery.com> | |
649 | Andrey Turetskiy <andrey.turetskiy@intel.com> | |
650 | ||
651 | * libgomp.map (GOMP_4.0.1): New symbol version. | |
652 | Add GOMP_offload_register. | |
653 | * libgomp_target.h: New file. | |
654 | * splay-tree.h: New file. | |
655 | * target.c: Include config.h, libgomp_target.h, dlfcn.h, splay-tree.h. | |
656 | (gomp_target_init): New forward declaration. | |
657 | (gomp_is_initialized): New static variable. | |
658 | (splay_tree_node, splay_tree, splay_tree_key): New typedefs. | |
659 | (struct target_mem_desc, struct splay_tree_key_s, offload_image_descr): | |
660 | New structures. | |
661 | (offload_images, num_offload_images, devices, num_devices): New static | |
662 | variables. | |
663 | (splay_compare): New static function. | |
664 | (struct gomp_device_descr): New structure. | |
665 | (gomp_get_num_devices): Call gomp_target_init. | |
666 | (resolve_device, gomp_map_vars_existing, gomp_map_vars, gomp_unmap_tgt) | |
667 | (gomp_unmap_vars, gomp_update, gomp_init_device): New static functions. | |
668 | (GOMP_offload_register): New function. | |
669 | (GOMP_target): Arrange for host callback to be performed in a separate | |
670 | initial thread and contention group, inheriting ICVs from | |
671 | gomp_global_icv etc. Call gomp_map_vars and gomp_unmap_vars. | |
672 | Add device initialization and lookup for target function in splay tree. | |
673 | (GOMP_target_data): Add device initialization and call gomp_map_vars. | |
674 | (GOMP_target_end_data): Call gomp_unmap_vars. | |
675 | (GOMP_target_update): Add device initialization and call gomp_update. | |
676 | (gomp_load_plugin_for_device, gomp_register_images_for_device) | |
677 | (gomp_target_init): New static functions. | |
678 | ||
85c64bbe BS |
679 | 2014-11-13 Bernd Schmidt <bernds@codesourcery.com> |
680 | Thomas Schwinge <thomas@codesourcery.com> | |
681 | Ilya Verbin <ilya.verbin@intel.com> | |
682 | Andrey Turetskiy <andrey.turetskiy@intel.com> | |
683 | ||
684 | * config.h.in: Regenerate. | |
685 | * configure: Regenerate. | |
686 | * configure.ac: Check for libdl, required for plugin support. | |
687 | (PLUGIN_SUPPORT): Define if plugins are supported. | |
688 | (enable_offload_targets): Support Intel MIC targets. | |
689 | (OFFLOAD_TARGETS): List of target names suitable for offloading. | |
690 | ||
ebf6d33b FXC |
691 | 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> |
692 | ||
693 | PR target/63610 | |
694 | * configure: Regenerate. | |
695 | ||
8c768629 RO |
696 | 2014-11-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
697 | ||
698 | * config/posix/lock.c (_XOPEN_SOURCE) Define as 600. | |
699 | ||
c1d62412 MP |
700 | 2014-10-06 Marek Polacek <polacek@redhat.com> |
701 | ||
702 | * testsuite/libgomp.c/affinity-1.c: Include <sys/wait.h>. | |
703 | * testsuite/libgomp.c/nqueens-1.c: Include <stdlib.h>. | |
704 | * testsuite/libgomp.c/thread-limit-1.c: Include <omp.h> | |
705 | * testsuite/libgomp.c/thread-limit-2.c: Likewise. | |
706 | ||
44a0c6cb MP |
707 | 2014-10-06 Marek Polacek <polacek@redhat.com> |
708 | ||
709 | * testsuite/libgomp.c/affinity-1.c: Fix implicit declarations. | |
710 | * testsuite/libgomp.c/nqueens-1.c: Likewise. | |
711 | * testsuite/libgomp.c/pr26943-3.c: Likewise. | |
712 | * testsuite/libgomp.c/pr26943-4.c: Likewise. | |
713 | * testsuite/libgomp.c/pr36802-2.c: Likewise. | |
714 | * testsuite/libgomp.c/pr36802-3.c: Likewise. | |
715 | * testsuite/libgomp.c/thread-limit-1.c: Likewise. | |
716 | * testsuite/libgomp.c/thread-limit-2.c: Likewise. | |
717 | * testsuite/libgomp.c/appendix-a/a.15.1.c: Include <omp.h>. | |
718 | * testsuite/libgomp.c/omp-loop02.c: Fix defaulting to int. | |
719 | * testsuite/libgomp.c/omp-parallel-for.c: Likewise. | |
720 | * testsuite/libgomp.c/omp-parallel-if.c: Likewise. | |
721 | * testsuite/libgomp.c/omp-single-1.c: Likewise. | |
722 | * testsuite/libgomp.c/omp-single-2.c: Likewise. | |
723 | * testsuite/libgomp.c/omp_matvec.c: Likewise. | |
724 | * testsuite/libgomp.c/omp_workshare3.c: Likewise. | |
725 | * testsuite/libgomp.c/omp_workshare4.c: Likewise. | |
726 | * testsuite/libgomp.c/shared-1.c: Fix defaulting to int. Fix implicit | |
727 | declarations. | |
728 | ||
5771c391 JJ |
729 | 2014-10-03 Jakub Jelinek <jakub@redhat.com> |
730 | ||
731 | PR libgomp/61200 | |
732 | * testsuite/libgomp.c/pr61200.c: New test. | |
733 | ||
bce16b88 JJ |
734 | 2014-09-18 Jakub Jelinek <jakub@redhat.com> |
735 | ||
736 | PR c++/63248 | |
737 | * testsuite/libgomp.c++/pr63248.C: New test. | |
738 | ||
3696163c JJ |
739 | 2014-08-04 Jakub Jelinek <jakub@redhat.com> |
740 | ||
741 | * task.c (GOMP_taskgroup_end): If taskgroup->num_children | |
742 | is not zero, but taskgroup->children is NULL and there are | |
743 | any task->children, schedule those instead of waiting. | |
744 | * testsuite/libgomp.c/depend-6.c: New test. | |
745 | * testsuite/libgomp.c/depend-7.c: New test. | |
746 | * testsuite/libgomp.c/depend-8.c: New test. | |
747 | * testsuite/libgomp.c/depend-9.c: New test. | |
748 | * testsuite/libgomp.c/depend-10.c: New test. | |
749 | ||
0494285a JJ |
750 | 2014-08-01 Jakub Jelinek <jakub@redhat.com> |
751 | ||
752 | * libgomp.h (struct gomp_task_depend_entry): Add redundant_out field. | |
753 | (struct gomp_taskwait): New type. | |
754 | (struct gomp_task): Add taskwait and parent_depends_on, remove | |
755 | in_taskwait and taskwait_sem fields. | |
756 | (gomp_finish_task): Don't destroy taskwait_sem. | |
757 | * task.c (gomp_init_task): Don't init in_taskwait, instead init | |
758 | taskwait and parent_depends_on. | |
759 | (GOMP_task): For if (0) tasks with depend clause that depend on | |
760 | earlier tasks don't defer them, instead call | |
761 | gomp_task_maybe_wait_for_dependencies to wait for the dependencies. | |
762 | Initialize redundant_out field, for redundant out entries just | |
763 | move them at the end of linked list instead of removing them | |
764 | completely, and set redundant_out flag instead of redundant. | |
765 | (gomp_task_run_pre): Update last_parent_depends_on if scheduling | |
766 | that task. | |
767 | (gomp_task_run_post_handle_dependers): If parent is in | |
768 | gomp_task_maybe_wait_for_dependencies and newly runnable task | |
769 | is not parent_depends_on, queue it in parent->children linked | |
770 | list after all runnable tasks with parent_depends_on set. | |
771 | Adjust for addition of taskwait indirection. | |
772 | (gomp_task_run_post_remove_parent): If parent is in | |
773 | gomp_task_maybe_wait_for_dependencies and task to be removed | |
774 | is parent_depends_on, decrement n_depend and if needed awake | |
775 | parent. Adjust for addition of taskwait indirection. | |
776 | (GOMP_taskwait): Adjust for addition of taskwait indirection. | |
777 | (gomp_task_maybe_wait_for_dependencies): New function. | |
778 | * testsuite/libgomp.c/depend-5.c: New test. | |
779 | ||
60ab4b44 TB |
780 | 2014-07-13 Tobias Burnus <burnus@net-b.de> |
781 | ||
782 | * testsuite/libgomp.fortran/pr34020.f90: Make compile | |
0494285a | 783 | with TS 18508/Fortran 2015. |
60ab4b44 | 784 | |
773ec47f MP |
785 | 2014-07-06 Marek Polacek <polacek@redhat.com> |
786 | ||
787 | PR c/6940 | |
788 | * testsuite/libgomp.c/appendix-a/a.29.1.c (f): Add dg-warnings. | |
789 | ||
f707da16 JJ |
790 | 2014-07-03 Jakub Jelinek <jakub@redhat.com> |
791 | ||
792 | * testsuite/lib/libgomp.exp (libgomp_target_compile): If $source | |
793 | matches regex $lang_source_re, add $lang_include_flags to options. | |
794 | * testsuite/libgomp.c/c.exp: Unset lang_include_flags. | |
795 | * testsuite/libgomp.c++/c++.exp: Likewise. | |
796 | * testsuite/libgomp.fortran/fortran.exp: Likewise. Set lang_source_re | |
797 | and lang_include_flags instead of adding -fintrinsic-modules-path= to | |
798 | ALWAYS_CFLAGS. | |
799 | * testsuite/libgomp.graphite/graphite.exp: Unset lang_include_flags. | |
800 | ||
07b6c044 TS |
801 | 2014-07-03 Thomas Schwinge <thomas@codesourcery.com> |
802 | ||
803 | * testsuite/libgomp.fortran/fortran.exp: Explain | |
804 | gfortran-dg-runtest usage. | |
805 | ||
da6f124d JJ |
806 | 2014-06-25 Jakub Jelinek <jakub@redhat.com> |
807 | ||
808 | * testsuite/libgomp.fortran/simd5.f90: New test. | |
809 | * testsuite/libgomp.fortran/simd6.f90: New test. | |
810 | * testsuite/libgomp.fortran/simd7.f90: New test. | |
811 | ||
b46ebd6c JJ |
812 | 2014-06-24 Jakub Jelinek <jakub@redhat.com> |
813 | ||
56ad0e38 JJ |
814 | * testsuite/libgomp.c/for-2.c: Define SC to static for |
815 | #pragma omp for simd testing. | |
816 | * testsuite/libgomp.c/for-2.h (SC): Define if not defined. | |
817 | (N(f5), N(f6), N(f7), N(f8), N(f10), N(f12), N(f14)): Use | |
818 | SC macro. | |
819 | * testsuite/libgomp.c/simd-14.c: New test. | |
820 | * testsuite/libgomp.c/simd-15.c: New test. | |
821 | * testsuite/libgomp.c/simd-16.c: New test. | |
822 | * testsuite/libgomp.c/simd-17.c: New test. | |
823 | * testsuite/libgomp.c++/for-10.C: Define SC to static for | |
824 | #pragma omp for simd testing. | |
825 | * testsuite/libgomp.c++/simd10.C: New test. | |
826 | * testsuite/libgomp.c++/simd11.C: New test. | |
827 | * testsuite/libgomp.c++/simd12.C: New test. | |
828 | * testsuite/libgomp.c++/simd13.C: New test. | |
829 | ||
b46ebd6c JJ |
830 | * testsuite/libgomp.fortran/aligned1.f03: New test. |
831 | * testsuite/libgomp.fortran/nestedfn5.f90: New test. | |
832 | * testsuite/libgomp.fortran/target7.f90: Surround loop spawning | |
833 | tasks with !$omp parallel !$omp single. | |
834 | * testsuite/libgomp.fortran/target8.f90: New test. | |
835 | * testsuite/libgomp.fortran/udr4.f90 (foo UDR, bar UDR): Adjust | |
836 | not to use trim in the combiner, instead call elemental function. | |
837 | (fn): New elemental function. | |
838 | * testsuite/libgomp.fortran/udr6.f90 (do_add, dp_add, dp_init): | |
839 | Make elemental. | |
840 | * testsuite/libgomp.fortran/udr7.f90 (omp_priv, omp_orig, omp_out, | |
841 | omp_in): Likewise. | |
842 | * testsuite/libgomp.fortran/udr12.f90: New test. | |
843 | * testsuite/libgomp.fortran/udr13.f90: New test. | |
844 | * testsuite/libgomp.fortran/udr14.f90: New test. | |
845 | * testsuite/libgomp.fortran/udr15.f90: New test. | |
846 | ||
f014c653 JJ |
847 | 2014-06-18 Jakub Jelinek <jakub@redhat.com> |
848 | ||
849 | * omp_lib.f90.in (openmp_version): Set to 201307. | |
850 | * omp_lib.h.in (openmp_version): Likewise. | |
851 | * testsuite/libgomp.c/target-8.c: New test. | |
852 | * testsuite/libgomp.fortran/declare-simd-1.f90: Add notinbranch | |
853 | and inbranch clauses. | |
854 | * testsuite/libgomp.fortran/depend-3.f90: New test. | |
855 | * testsuite/libgomp.fortran/openmp_version-1.f: Adjust for new | |
856 | openmp_version. | |
857 | * testsuite/libgomp.fortran/openmp_version-2.f90: Likewise. | |
858 | * testsuite/libgomp.fortran/target1.f90: New test. | |
859 | * testsuite/libgomp.fortran/target2.f90: New test. | |
860 | * testsuite/libgomp.fortran/target3.f90: New test. | |
861 | * testsuite/libgomp.fortran/target4.f90: New test. | |
862 | * testsuite/libgomp.fortran/target5.f90: New test. | |
863 | * testsuite/libgomp.fortran/target6.f90: New test. | |
864 | * testsuite/libgomp.fortran/target7.f90: New test. | |
865 | ||
92d28cbb JJ |
866 | 2014-06-10 Jakub Jelinek <jakub@redhat.com> |
867 | ||
868 | PR fortran/60928 | |
869 | * testsuite/libgomp.fortran/allocatable9.f90: New test. | |
870 | * testsuite/libgomp.fortran/allocatable10.f90: New test. | |
871 | * testsuite/libgomp.fortran/allocatable11.f90: New test. | |
872 | * testsuite/libgomp.fortran/allocatable12.f90: New test. | |
873 | * testsuite/libgomp.fortran/alloc-comp-1.f90: New test. | |
874 | * testsuite/libgomp.fortran/alloc-comp-2.f90: New test. | |
875 | * testsuite/libgomp.fortran/alloc-comp-3.f90: New test. | |
876 | * testsuite/libgomp.fortran/associate1.f90: New test. | |
877 | * testsuite/libgomp.fortran/associate2.f90: New test. | |
878 | * testsuite/libgomp.fortran/procptr1.f90: New test. | |
879 | ||
5f23671d JJ |
880 | 2014-06-06 Jakub Jelinek <jakub@redhat.com> |
881 | ||
882 | * testsuite/libgomp.fortran/simd1.f90: New test. | |
883 | * testsuite/libgomp.fortran/udr1.f90: New test. | |
884 | * testsuite/libgomp.fortran/udr2.f90: New test. | |
885 | * testsuite/libgomp.fortran/udr3.f90: New test. | |
886 | * testsuite/libgomp.fortran/udr4.f90: New test. | |
887 | * testsuite/libgomp.fortran/udr5.f90: New test. | |
888 | * testsuite/libgomp.fortran/udr6.f90: New test. | |
889 | * testsuite/libgomp.fortran/udr7.f90: New test. | |
890 | * testsuite/libgomp.fortran/udr8.f90: New test. | |
891 | * testsuite/libgomp.fortran/udr9.f90: New test. | |
892 | * testsuite/libgomp.fortran/udr10.f90: New test. | |
893 | * testsuite/libgomp.fortran/udr11.f90: New test. | |
894 | ||
0389fbb5 UB |
895 | 2014-05-27 Uros Bizjak <ubizjak@gmail.com> |
896 | ||
897 | * testsuite/libgomp.fortran/declare-simd-1.f90: Require | |
898 | vect_simd_clones effective target. | |
899 | * testsuite/libgomp.fortran/declare-simd-2.f90: Ditto. | |
900 | ||
decaaec8 JJ |
901 | 2014-05-21 Jakub Jelinek <jakub@redhat.com> |
902 | ||
903 | PR middle-end/61252 | |
904 | * testsuite/libgomp.c++/simd-9.C: New test. | |
905 | ||
72832460 UB |
906 | 2014-05-18 Uros Bizjak <ubizjak@gmail.com> |
907 | ||
908 | * libgomp.texi (Runitme Library Routines): Remove multiple @menu. | |
909 | (Environment Variables) Move OMP_PROC_BIND and OMP_STACKSIZE node | |
910 | texts according to their @menu entry positions. | |
911 | ||
dd2fc525 JJ |
912 | 2014-05-11 Jakub Jelinek <jakub@redhat.com> |
913 | ||
914 | * testsuite/libgomp.fortran/cancel-do-1.f90: New test. | |
915 | * testsuite/libgomp.fortran/cancel-do-2.f90: New test. | |
916 | * testsuite/libgomp.fortran/cancel-parallel-1.f90: New test. | |
917 | * testsuite/libgomp.fortran/cancel-parallel-3.f90: New test. | |
918 | * testsuite/libgomp.fortran/cancel-sections-1.f90: New test. | |
919 | * testsuite/libgomp.fortran/cancel-taskgroup-2.f90: New test. | |
920 | * testsuite/libgomp.fortran/declare-simd-1.f90: New test. | |
921 | * testsuite/libgomp.fortran/declare-simd-2.f90: New test. | |
922 | * testsuite/libgomp.fortran/declare-simd-3.f90: New test. | |
923 | * testsuite/libgomp.fortran/depend-1.f90: New test. | |
924 | * testsuite/libgomp.fortran/depend-2.f90: New test. | |
925 | * testsuite/libgomp.fortran/omp_atomic5.f90: New test. | |
926 | * testsuite/libgomp.fortran/simd1.f90: New test. | |
927 | * testsuite/libgomp.fortran/simd2.f90: New test. | |
928 | * testsuite/libgomp.fortran/simd3.f90: New test. | |
929 | * testsuite/libgomp.fortran/simd4.f90: New test. | |
930 | * testsuite/libgomp.fortran/taskgroup1.f90: New test. | |
931 | ||
95782571 JJ |
932 | 2014-05-02 Jakub Jelinek <jakub@redhat.com> |
933 | ||
934 | * testsuite/libgomp.c/simd-10.c: New test. | |
935 | * testsuite/libgomp.c/simd-11.c: New test. | |
936 | * testsuite/libgomp.c/simd-12.c: New test. | |
937 | * testsuite/libgomp.c/simd-13.c: New test. | |
938 | ||
f7468577 JJ |
939 | 2014-04-24 Jakub Jelinek <jakub@redhat.com> |
940 | ||
42056eac JJ |
941 | * testsuite/libgomp.c++/atomic-14.C: Allow seq_cst and |
942 | atomic type clauses in any order and optional comma in between. | |
943 | * testsuite/libgomp.c++/atomic-15.C: Likewise. | |
944 | * testsuite/libgomp.c/atomic-17.c: Likewise. | |
945 | ||
f7468577 JJ |
946 | * testsuite/libgomp.c/simd-7.c: New test. |
947 | * testsuite/libgomp.c/simd-8.c: New test. | |
948 | * testsuite/libgomp.c/simd-9.c: New test. | |
949 | * testsuite/libgomp.c/loop-16.c: New test. | |
950 | ||
ab18f2f5 RH |
951 | 2014-04-02 Richard Henderson <rth@redhat.com> |
952 | ||
953 | * config/linux/futex.h (futex_wait): Get error value from errno. | |
954 | (futex_wake): Likewise. | |
955 | ||
8bcc90b0 JJ |
956 | 2014-03-25 Jakub Jelinek <jakub@redhat.com> |
957 | ||
958 | PR c++/60331 | |
959 | * testsuite/libgomp.c++/udr-11.C: New test. | |
960 | * testsuite/libgomp.c++/udr-12.C: New test. | |
961 | * testsuite/libgomp.c++/udr-13.C: New test. | |
962 | * testsuite/libgomp.c++/udr-14.C: New test. | |
963 | * testsuite/libgomp.c++/udr-15.C: New test. | |
964 | * testsuite/libgomp.c++/udr-16.C: New test. | |
965 | * testsuite/libgomp.c++/udr-17.C: New test. | |
966 | * testsuite/libgomp.c++/udr-18.C: New test. | |
967 | * testsuite/libgomp.c++/udr-19.C: New test. | |
968 | ||
18d73c7f RS |
969 | 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com> |
970 | ||
971 | Update copyright years | |
972 | ||
f9030485 RS |
973 | 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com> |
974 | ||
975 | * hashtab.h: Use the standard form for the copyright notice. | |
976 | ||
98db73df TB |
977 | 2014-01-02 Tobias Burnus <burnus@net-b.de> |
978 | ||
979 | * libgomp.texi: Bump @copying's copyright year. | |
980 | ||
ae246f7f AT |
981 | 2013-12-17 Andreas Tobler <andreast@gcc.gnu.org> |
982 | ||
983 | * testsuite/libgomp.c/affinity-1.c: Remove alloca.h inlcude. Replace | |
984 | alloca () with __builtin_alloca (). | |
985 | * testsuite/libgomp.c/icv-2.c: Add FreeBSD coverage. | |
986 | * testsuite/libgomp.c/lock-3.c: Likewise. | |
987 | * testsuite/libgomp.c/pr48591.c: Likewise. | |
988 | ||
fa00a5fe JJ |
989 | 2013-12-17 Jakub Jelinek <jakub@redhat.com> |
990 | ||
991 | PR testsuite/59534 | |
992 | * testsuite/libgomp.fortran/retval1.f90 (e5): Avoid non-shortcircuited | |
993 | comparisons. | |
994 | ||
e9792e1d JJ |
995 | 2013-12-16 Jakub Jelinek <jakub@redhat.com> |
996 | ||
997 | PR libgomp/58756 | |
998 | * testsuite/libgomp.c/pr58756.c: New test. | |
999 | ||
cab37c89 JJ |
1000 | 2013-12-12 Jakub Jelinek <jakub@redhat.com> |
1001 | ||
1002 | PR libgomp/59467 | |
1003 | * testsuite/libgomp.fortran/crayptr2.f90: Add private (d) clause to | |
1004 | !$omp parallel. | |
1005 | ||
de14871c TS |
1006 | 2013-11-07 Thomas Schwinge <thomas@codesourcery.com> |
1007 | ||
1707a5de TS |
1008 | * testsuite/lib/libgomp.exp (libgomp_init): Don't add -fopenmp to |
1009 | ALWAYS_CFLAGS. | |
1010 | * testsuite/libgomp.c++/c++.exp (ALWAYS_CFLAGS): Add -fopenmp. | |
1011 | * testsuite/libgomp.c/c.exp (ALWAYS_CFLAGS): Likewise. | |
1012 | * testsuite/libgomp.fortran/fortran.exp (ALWAYS_CFLAGS): Likewise. | |
1013 | * testsuite/libgomp.graphite/graphite.exp (ALWAYS_CFLAGS): | |
1014 | Likewise. | |
1015 | ||
70f05c43 TS |
1016 | * libgomp_g.h: Include <stddef.h> for size_t. |
1017 | ||
de14871c TS |
1018 | * libgomp.spec.in: Update comment about libgomp's dependencies. |
1019 | * configure.ac: Likewise. | |
1020 | * configure: Regenerate. | |
1021 | ||
83fd6c5b TB |
1022 | 2013-10-16 Tobias Burnus <burnus@net-b.de> |
1023 | ||
1024 | * libgomp.texi: (Runtime Library Routines): Update references for | |
1025 | OpenMP 4.0. Add omp_get_cancellation, omp_get_default_device, | |
1026 | omp_get_num_devices, omp_get_num_teams, omp_get_proc_bind, | |
1027 | omp_get_team_num, omp_is_initial_device, omp_set_default_device. | |
1028 | (Environment Variables): Update references for OpenMP 4.0. Add | |
1029 | OMP_CANCELLATION, OMP_DEFAULT_DEVICE, OMP_PLACES. | |
1030 | Move OMP_DISPLAY_ENV and OMP_PROC_BIND up to be in alphabetical | |
1031 | order. | |
1032 | ||
c8673881 JJ |
1033 | 2013-10-14 Jakub Jelinek <jakub@redhat.com> |
1034 | ||
1035 | * env.c (parse_bind_var): Initialize value to avoid | |
1036 | (false positive) warning. | |
1037 | ||
f89163fd JJ |
1038 | 2013-10-12 Jakub Jelinek <jakub@redhat.com> |
1039 | ||
1040 | PR libgomp/58691 | |
1041 | * config/linux/proc.c (gomp_cpuset_popcount): Add unused attribute | |
1042 | to check variable. | |
1043 | (gomp_init_num_threads): Move i variable declaration into | |
1044 | #ifdef CPU_ALLOC_SIZE block. | |
1045 | * config/linux/affinity.c (gomp_affinity_init_level): Test | |
1046 | gomp_places_list_len == 0 rather than gomp_places_list == 0 | |
1047 | when checking for topology reading error. | |
1048 | * team.c (gomp_team_start): Don't handle bind == omp_proc_bind_false. | |
1049 | * env.c (parse_affinity): Add ignore argument, if true, don't populate | |
1050 | gomp_places_list, only parse env var and always return false. | |
1051 | (parse_places_var): Likewise. Don't check gomp_global_icv.bind_var. | |
1052 | (initialize_env): Always parse OMP_PLACES and GOMP_CPU_AFFINITY env | |
1053 | vars, default to OMP_PROC_BIND=true if OMP_PROC_BIND wasn't specified | |
1054 | and either of these variables were parsed correctly into a places | |
1055 | list. | |
1056 | ||
1d340638 TS |
1057 | 2013-10-11 Thomas Schwinge <thomas@codesourcery.com> |
1058 | Jakub Jelinek <jakub@redhat.com> | |
1059 | ||
1060 | * testsuite/libgomp.graphite/force-parallel-1.c: Expect 4 instead | |
1061 | of 5 loopfn matches. | |
1062 | * testsuite/libgomp.graphite/force-parallel-2.c: Likewise. | |
1063 | * testsuite/libgomp.graphite/force-parallel-3.c: Likewise. | |
1064 | * testsuite/libgomp.graphite/force-parallel-4.c: Likewise. | |
1065 | * testsuite/libgomp.graphite/force-parallel-5.c: Likewise. | |
1066 | * testsuite/libgomp.graphite/force-parallel-6.c: Likewise. | |
1067 | * testsuite/libgomp.graphite/force-parallel-7.c: Likewise. | |
1068 | * testsuite/libgomp.graphite/force-parallel-8.c: Likewise. | |
1069 | * testsuite/libgomp.graphite/force-parallel-9.c: Likewise. | |
1070 | ||
71a81c21 TS |
1071 | 2013-10-11 Thomas Schwinge <thomas@codesourcery.com> |
1072 | ||
bd87f731 TS |
1073 | * Makefile.am (omp_lib.mod): Streamline rule. |
1074 | * Makefile.in: Regenerate. | |
1075 | ||
f5745bed TS |
1076 | * libgomp.texi (Runtime Library Routines): C linkage, don't throw |
1077 | exceptions. | |
1078 | ||
b5512c66 TS |
1079 | * testsuite/libgomp.c/lib-1.c (main): Add missing error check. |
1080 | * testsuite/libgomp.fortran/lib1.f90: Likewise. | |
1081 | * testsuite/libgomp.fortran/lib2.f: Likewise. | |
1082 | * testsuite/libgomp.fortran/lib3.f: Likewise. | |
1083 | ||
451c19c4 TS |
1084 | * configure.ac: Typo fix. |
1085 | * configure: Regenerate. | |
1086 | ||
86a6016d TS |
1087 | * testsuite/libgomp.fortran/openmp_version-1.f: New file. |
1088 | * testsuite/libgomp.fortran/openmp_version-2.f90: Likewise. | |
1089 | ||
71a81c21 TS |
1090 | * omp.h.in: Don't touch the user's namespace. |
1091 | ||
acf0174b JJ |
1092 | 2013-10-11 Jakub Jelinek <jakub@redhat.com> |
1093 | Tobias Burnus <burnus@net-b.de> | |
1094 | Richard Henderson <rth@redhat.com> | |
1095 | ||
1096 | * target.c: New file. | |
1097 | * Makefile.am (libgomp_la_SOURCES): Add target.c. | |
1098 | * Makefile.in: Regenerated. | |
1099 | * libgomp_g.h (GOMP_task): Add depend argument. | |
1100 | (GOMP_barrier_cancel, GOMP_loop_end_cancel, | |
1101 | GOMP_sections_end_cancel, GOMP_target, GOMP_target_data, | |
1102 | GOMP_target_end_data, GOMP_target_update, GOMP_teams, | |
1103 | GOMP_parallel_loop_static, GOMP_parallel_loop_dynamic, | |
1104 | GOMP_parallel_loop_guided, GOMP_parallel_loop_runtime, | |
1105 | GOMP_parallel, GOMP_cancel, GOMP_cancellation_point, | |
1106 | GOMP_taskgroup_start, GOMP_taskgroup_end, | |
1107 | GOMP_parallel_sections): New prototypes. | |
1108 | * fortran.c (omp_is_initial_device): Add ialias_redirect. | |
1109 | (omp_is_initial_device_): New function. | |
1110 | (ULP, STR1, STR2, ialias_redirect): Removed. | |
1111 | (omp_get_cancellation_, omp_get_proc_bind_, omp_set_default_device_, | |
1112 | omp_set_default_device_8_, omp_get_default_device_, | |
1113 | omp_get_num_devices_, omp_get_num_teams_, omp_get_team_num_): New | |
1114 | functions. | |
1115 | * libgomp.map (GOMP_barrier_cancel, GOMP_loop_end_cancel, | |
1116 | GOMP_sections_end_cancel, GOMP_target, GOMP_target_data, | |
1117 | GOMP_target_end_data, GOMP_target_update, GOMP_teams): Export | |
1118 | @@GOMP_4.0. | |
1119 | (omp_is_initial_device, omp_is_initial_device_, omp_get_cancellation, | |
1120 | omp_get_cancellation_, omp_get_proc_bind, omp_get_proc_bind_, | |
1121 | omp_set_default_device, omp_set_default_device_, | |
1122 | omp_set_default_device_8_, omp_get_default_device, | |
1123 | omp_get_default_device_, omp_get_num_devices, omp_get_num_devices_, | |
1124 | omp_get_num_teams, omp_get_num_teams_, omp_get_team_num, | |
1125 | omp_get_team_num_): Export @@OMP_4.0. | |
1126 | * team.c (struct gomp_thread_start_data): Add place field. | |
1127 | (gomp_thread_start): Clear thr->thread_pool and | |
1128 | thr->task before returning. Use gomp_team_barrier_wait_final | |
1129 | instead of gomp_team_barrier_wait. Initialize thr->place. | |
1130 | (gomp_new_team): Initialize work_shares_to_free, work_share_cancelled, | |
1131 | team_cancelled and task_queued_count fields. | |
1132 | (gomp_free_pool_helper): Clear thr->thread_pool and thr->task | |
1133 | before calling pthread_exit. | |
1134 | (gomp_free_thread): No longer static. Use | |
1135 | gomp_managed_threads_lock instead of gomp_remaining_threads_lock. | |
1136 | (gomp_team_start): Add flags argument. Set | |
1137 | thr->thread_pool->threads_busy to nthreads immediately after creating | |
1138 | new pool. Use gomp_managed_threads_lock instead of | |
1139 | gomp_remaining_threads_lock. Handle OpenMP 4.0 affinity. | |
1140 | (gomp_team_end): Use gomp_managed_threads_lock instead of | |
1141 | gomp_remaining_threads_lock. Use gomp_team_barrier_wait_final instead | |
1142 | of gomp_team_barrier_wait. If team->team_cancelled, call | |
1143 | gomp_fini_worshare on ws chain starting at team->work_shares_to_free | |
1144 | rather than thr->ts.work_share. | |
1145 | (initialize_team): Don't call gomp_sem_init here. | |
1146 | * sections.c (GOMP_parallel_sections_start): Adjust gomp_team_start | |
1147 | caller. | |
1148 | (GOMP_parallel_sections, GOMP_sections_end_cancel): New functions. | |
1149 | * env.c (gomp_global_icv): Add default_device_var, target_data and | |
1150 | bind_var initializers. | |
1151 | (gomp_cpu_affinity, gomp_cpu_affinity_len): Remove. | |
1152 | (gomp_bind_var_list, gomp_bind_var_list_len, gomp_places_list, | |
1153 | gomp_places_list_len): New variables. | |
1154 | (parse_bind_var, parse_one_place, parse_places_var): New functions. | |
1155 | (parse_affinity): Rewritten to construct OMP_PLACES list with unit | |
1156 | sized places. | |
1157 | (gomp_cancel_var): New global variable. | |
1158 | (parse_int): New function. | |
1159 | (handle_omp_display_env): New function. | |
1160 | (initialize_env): Use it. Initialize default_device_var. | |
1161 | Parse OMP_CANCELLATION env var. Use parse_bind_var to parse | |
1162 | OMP_PROC_BIND instead of parse_boolean. Use parse_places_var for | |
1163 | OMP_PLACES parsing. Don't call parse_affinity if OMP_PLACES has | |
1164 | been successfully parsed (and call gomp_init_affinity in that case). | |
1165 | (omp_get_cancellation, omp_get_proc_bind, omp_set_default_device, | |
1166 | omp_get_default_device, omp_get_num_devices, omp_get_num_teams, | |
1167 | omp_get_team_num, omp_is_initial_device): New functions. | |
1168 | * libgomp.h: Include stdlib.h. | |
1169 | (ialias_ulp, ialias_str1, ialias_str2, ialias_redirect, ialias_call): | |
1170 | Define. | |
1171 | (struct target_mem_desc): Forward declare. | |
1172 | (struct gomp_task_icv): Add default_device_var, target_data, bind_var | |
1173 | and thread_limit_var fields. | |
1174 | (gomp_get_num_devices): New prototype. | |
1175 | (gomp_cancel_var): New extern decl. | |
1176 | (struct gomp_team): Add work_shares_to_free, work_share_cancelled, | |
1177 | team_cancelled and task_queued_count fields. Add comments about | |
1178 | task_{,queued_,running_}count. | |
1179 | (gomp_cancel_kind): New enum. | |
1180 | (gomp_work_share_end_cancel): New prototype. | |
1181 | (struct gomp_task): Add next_taskgroup, prev_taskgroup, taskgroup, | |
1182 | copy_ctors_done, dependers, depend_hash, depend_count, num_dependees | |
1183 | and depend fields. | |
1184 | (struct gomp_taskgroup): New type. | |
1185 | (struct gomp_task_depend_entry, | |
1186 | struct gomp_dependers_vec): New types. | |
1187 | (gomp_finish_task): Free depend_hash if non-NULL. | |
1188 | (struct gomp_team_state): Add place_partition_off | |
1189 | and place_partition_len fields. | |
1190 | (gomp_bind_var_list, gomp_bind_var_list_len, gomp_places_list, | |
1191 | gomp_places_list_len): New extern decls. | |
1192 | (struct gomp_thread): Add place field. | |
1193 | (gomp_cpu_affinity, gomp_cpu_affinity_len): Remove. | |
1194 | (gomp_init_thread_affinity): Add place argument. | |
1195 | (gomp_affinity_alloc, gomp_affinity_init_place, gomp_affinity_add_cpus, | |
1196 | gomp_affinity_remove_cpu, gomp_affinity_copy_place, | |
1197 | gomp_affinity_same_place, gomp_affinity_finalize_place_list, | |
1198 | gomp_affinity_init_level, gomp_affinity_print_place): New | |
1199 | prototypes. | |
1200 | (gomp_team_start): Add flags argument. | |
1201 | (gomp_thread_limit_var, gomp_remaining_threads_count, | |
1202 | gomp_remaining_threads_lock): Remove. | |
1203 | (gomp_managed_threads_lock): New variable. | |
1204 | (struct gomp_thread_pool): Add threads_busy field. | |
1205 | (gomp_free_thread): New prototype. | |
1206 | * task.c: Include hashtab.h. | |
1207 | (hash_entry_type): New typedef. | |
1208 | (htab_alloc, htab_free, htab_hash, htab_eq): New inlines. | |
1209 | (gomp_init_task): Clear dependers, depend_hash, depend_count, | |
1210 | copy_ctors_done and taskgroup fields. | |
1211 | (GOMP_task): Add depend argument, handle depend clauses. If | |
1212 | gomp_team_barrier_cancelled or if it's taskgroup has been | |
1213 | cancelled, don't queue or start new tasks. Set copy_ctors_done | |
1214 | field if needed. Initialize taskgroup field. If copy_ctors_done | |
1215 | and already cancelled, don't discard the task. If taskgroup is | |
1216 | non-NULL, enqueue the task into taskgroup queue. Increment | |
1217 | num_children field in taskgroup. Increment task_queued_count. | |
1218 | (gomp_task_run_pre, gomp_task_run_post_remove_parent, | |
1219 | gomp_task_run_post_remove_taskgroup): New inline functions. | |
1220 | (gomp_task_run_post_handle_depend_hash, | |
1221 | gomp_task_run_post_handle_dependers, | |
1222 | gomp_task_run_post_handle_depend): New functions. | |
1223 | (GOMP_taskwait): Use them. If more than one new tasks | |
1224 | have been queued, wake other threads if needed. | |
1225 | (gomp_barrier_handle_tasks): Likewise. If | |
1226 | gomp_team_barrier_cancelled, don't start any new tasks, just free | |
1227 | all tasks. | |
1228 | (GOMP_taskgroup_start, GOMP_taskgroup_end): New functions. | |
1229 | * omp_lib.f90.in | |
1230 | (omp_proc_bind_kind, omp_proc_bind_false, | |
1231 | omp_proc_bind_true, omp_proc_bind_master, omp_proc_bind_close, | |
1232 | omp_proc_bind_spread): New params. | |
1233 | (omp_get_cancellation, omp_get_proc_bind, omp_set_default_device, | |
1234 | omp_get_default_device, omp_get_num_devices, omp_get_num_teams, | |
1235 | omp_get_team_num, omp_is_initial_device): New interfaces. | |
1236 | (omp_get_dynamic, omp_get_nested, omp_in_parallel, | |
1237 | omp_get_max_threads, omp_get_num_procs, omp_get_num_threads, | |
1238 | omp_get_thread_num, omp_get_thread_limit, omp_set_max_active_levels, | |
1239 | omp_get_max_active_levels, omp_get_level, omp_get_ancestor_thread_num, | |
1240 | omp_get_team_size, omp_get_active_level, omp_in_final): Remove | |
1241 | useless use omp_lib_kinds. | |
1242 | * omp.h.in (omp_proc_bind_t): New typedef. | |
1243 | (omp_get_cancellation, omp_get_proc_bind, omp_set_default_device, | |
1244 | omp_get_default_device, omp_get_num_devices, omp_get_num_teams, | |
1245 | omp_get_team_num, omp_is_initial_device): New prototypes. | |
1246 | * loop.c (gomp_parallel_loop_start): Add flags argument, pass it | |
1247 | through to gomp_team_start. | |
1248 | (GOMP_parallel_loop_static_start, GOMP_parallel_loop_dynamic_start, | |
1249 | GOMP_parallel_loop_guided_start, GOMP_parallel_loop_runtime_start): | |
1250 | Adjust gomp_parallel_loop_start callers. | |
1251 | (GOMP_parallel_loop_static, GOMP_parallel_loop_dynamic, | |
1252 | GOMP_parallel_loop_guided, GOMP_parallel_loop_runtime, | |
1253 | GOMP_loop_end_cancel): New functions. | |
1254 | (GOMP_parallel_end): Add ialias_redirect. | |
1255 | * hashtab.h: New file. | |
1256 | * libgomp.texi (Environment Variables): Minor cleanup, | |
1257 | update section refs to OpenMP 4.0rc2. | |
1258 | (OMP_DISPLAY_ENV, GOMP_SPINCOUNT): Document these | |
1259 | environment variables. | |
1260 | * work.c (gomp_work_share_end, gomp_work_share_end_nowait): Set | |
1261 | team->work_shares_to_free to thr->ts.work_share before calling | |
1262 | free_work_share. | |
1263 | (gomp_work_share_end_cancel): New function. | |
1264 | * config/linux/proc.c: Include errno.h. | |
1265 | (gomp_get_cpuset_size, gomp_cpuset_size, gomp_cpusetp): New variables. | |
1266 | (gomp_cpuset_popcount): Add cpusetsize argument, use it instead of | |
1267 | sizeof (cpu_set_t) to determine number of iterations. Fix up check | |
1268 | extern decl. Use CPU_COUNT_S if available, or CPU_COUNT if | |
1269 | gomp_cpuset_size is sizeof (cpu_set_t). | |
1270 | (gomp_init_num_threads): Initialize gomp_cpuset_size, | |
1271 | gomp_get_cpuset_size and gomp_cpusetp here, use gomp_cpusetp instead | |
1272 | of &cpuset and pass gomp_cpuset_size instead of sizeof (cpu_set_t) | |
1273 | to pthread_getaffinity_np. Free and clear gomp_cpusetp if it didn't | |
1274 | contain any logical CPUs. | |
1275 | (get_num_procs): Don't call pthread_getaffinity_np if gomp_cpusetp | |
1276 | is NULL. Use gomp_cpusetp instead of &cpuset and pass | |
1277 | gomp_get_cpuset_size instead of sizeof (cpu_set_t) to | |
1278 | pthread_getaffinity_np. Check gomp_places_list instead of | |
1279 | gomp_cpu_affinity. Adjust gomp_cpuset_popcount caller. | |
1280 | * config/linux/bar.c (gomp_barrier_wait_end, | |
1281 | gomp_barrier_wait_last): Use BAR_* defines. | |
1282 | (gomp_team_barrier_wait_end): Likewise. Clear BAR_CANCELLED | |
1283 | from state where needed. Set work_share_cancelled to 0 on last | |
1284 | thread. | |
1285 | (gomp_team_barrier_wait_final, gomp_team_barrier_wait_cancel_end, | |
1286 | gomp_team_barrier_wait_cancel, gomp_team_barrier_cancel): New | |
1287 | functions. | |
1288 | * config/linux/proc.h (gomp_cpuset_popcount): Add attribute_hidden. | |
1289 | Add cpusetsize argument. | |
1290 | (gomp_cpuset_size, gomp_cpusetp): Declare. | |
1291 | * config/linux/affinity.c: Include errno.h, stdio.h and string.h. | |
1292 | (affinity_counter): Remove. | |
1293 | (CPU_ISSET_S, CPU_ZERO_S, CPU_SET_S, CPU_CLR_S): Define | |
1294 | if CPU_ALLOC_SIZE isn't defined. | |
1295 | (gomp_init_affinity): Rewritten, if gomp_places_list is NULL, try | |
1296 | silently create OMP_PLACES=threads, if it is non-NULL afterwards, | |
1297 | bind current thread to the first place. | |
1298 | (gomp_init_thread_affinity): Rewritten. Add place argument, just | |
1299 | pthread_setaffinity_np to gomp_places_list[place]. | |
1300 | (gomp_affinity_alloc, gomp_affinity_init_place, gomp_affinity_add_cpus, | |
1301 | gomp_affinity_remove_cpu, gomp_affinity_copy_place, | |
1302 | gomp_affinity_same_place, gomp_affinity_finalize_place_list, | |
1303 | gomp_affinity_init_level, gomp_affinity_print_place): New functions. | |
1304 | * config/linux/bar.h (BAR_TASK_PENDING, BAR_WAS_LAST, | |
1305 | BAR_WAITING_FOR_TASK, BAR_INCR, BAR_CANCELLED): Define. | |
1306 | (gomp_barrier_t): Add awaited_final field. | |
1307 | (gomp_barrier_init): Initialize awaited_final field. | |
1308 | (gomp_team_barrier_wait_final, gomp_team_barrier_wait_cancel, | |
1309 | gomp_team_barrier_wait_cancel_end, gomp_team_barrier_cancel): New | |
1310 | prototypes. | |
1311 | (gomp_barrier_wait_start): Preserve BAR_CANCELLED bit. Use BAR_* | |
1312 | defines. | |
1313 | (gomp_barrier_wait_cancel_start, gomp_team_barrier_wait_final_start, | |
1314 | gomp_team_barrier_cancelled): New inline functions. | |
1315 | (gomp_barrier_last_thread, | |
1316 | gomp_team_barrier_set_task_pending, | |
1317 | gomp_team_barrier_clear_task_pending, | |
1318 | gomp_team_barrier_set_waiting_for_tasks, | |
1319 | gomp_team_barrier_waiting_for_tasks, | |
1320 | gomp_team_barrier_done): Use BAR_* defines. | |
1321 | * config/posix/bar.c (gomp_barrier_init): Clear cancellable field. | |
1322 | (gomp_barrier_wait_end): Use BAR_* defines. | |
1323 | (gomp_team_barrier_wait_end): Clear BAR_CANCELLED from state. | |
1324 | Set work_share_cancelled to 0 on last thread, use __atomic_load_n. | |
1325 | Use BAR_* defines. | |
1326 | (gomp_team_barrier_wait_cancel_end, gomp_team_barrier_wait_cancel, | |
1327 | gomp_team_barrier_cancel): New functions. | |
1328 | * config/posix/affinity.c (gomp_init_thread_affinity): Add place | |
1329 | argument. | |
1330 | (gomp_affinity_alloc, gomp_affinity_init_place, gomp_affinity_add_cpus, | |
1331 | gomp_affinity_remove_cpu, gomp_affinity_copy_place, | |
1332 | gomp_affinity_same_place, gomp_affinity_finalize_place_list, | |
1333 | gomp_affinity_init_level, gomp_affinity_print_place): New stubs. | |
1334 | * config/posix/bar.h (BAR_TASK_PENDING, BAR_WAS_LAST, | |
1335 | BAR_WAITING_FOR_TASK, BAR_INCR, BAR_CANCELLED): Define. | |
1336 | (gomp_barrier_t): Add cancellable field. | |
1337 | (gomp_team_barrier_wait_cancel, gomp_team_barrier_wait_cancel_end, | |
1338 | gomp_team_barrier_cancel): New prototypes. | |
1339 | (gomp_barrier_wait_start): Preserve BAR_CANCELLED bit. | |
1340 | (gomp_barrier_wait_cancel_start, gomp_team_barrier_wait_final, | |
1341 | gomp_team_barrier_cancelled): New inline functions. | |
1342 | (gomp_barrier_wait_start, gomp_barrier_last_thread, | |
1343 | gomp_team_barrier_set_task_pending, | |
1344 | gomp_team_barrier_clear_task_pending, | |
1345 | gomp_team_barrier_set_waiting_for_tasks, | |
1346 | gomp_team_barrier_waiting_for_tasks, | |
1347 | gomp_team_barrier_done): Use BAR_* defines. | |
1348 | * barrier.c (GOMP_barrier_cancel): New function. | |
1349 | * omp_lib.h.in (omp_proc_bind_kind, omp_proc_bind_false, | |
1350 | omp_proc_bind_true, omp_proc_bind_master, omp_proc_bind_close, | |
1351 | omp_proc_bind_spread): New params. | |
1352 | (omp_get_cancellation, omp_get_proc_bind, omp_set_default_device, | |
1353 | omp_get_default_device, omp_get_num_devices, omp_get_num_teams, | |
1354 | omp_get_team_num, omp_is_initial_device): New externals. | |
1355 | * parallel.c (GOMP_parallel, GOMP_cancel, GOMP_cancellation_point): | |
1356 | New functions. | |
1357 | (gomp_resolve_num_threads): Adjust for thread_limit now being in | |
1358 | icv->thread_limit_var. Use UINT_MAX instead of ULONG_MAX as | |
1359 | infinity. If not nested, just return minimum of max_num_threads | |
1360 | and icv->thread_limit_var and if thr->thread_pool, set threads_busy | |
1361 | to the returned value. Otherwise, don't update atomically | |
1362 | gomp_remaining_threads_count, but instead thr->thread_pool->threads_busy. | |
1363 | (GOMP_parallel_end): Adjust for thread_limit now being in | |
1364 | icv->thread_limit_var. Use UINT_MAX instead of ULONG_MAX as | |
1365 | infinity. Adjust threads_busy in the pool rather than | |
1366 | gomp_remaining_threads_count. Remember team->nthreads and call | |
1367 | gomp_team_end before adjusting threads_busy, if not nested | |
1368 | afterwards, just set it to 1 non-atomically. Add ialias. | |
1369 | (GOMP_parallel_start): Adjust gomp_team_start caller. | |
1370 | * testsuite/libgomp.c/atomic-14.c: Add parens to make it valid. | |
1371 | * testsuite/libgomp.c/affinity-1.c: New test. | |
1372 | * testsuite/libgomp.c/atomic-15.c: New test. | |
1373 | * testsuite/libgomp.c/atomic-16.c: New test. | |
1374 | * testsuite/libgomp.c/atomic-17.c: New test. | |
1375 | * testsuite/libgomp.c/cancel-for-1.c: New test. | |
1376 | * testsuite/libgomp.c/cancel-for-2.c: New test. | |
1377 | * testsuite/libgomp.c/cancel-parallel-1.c: New test. | |
1378 | * testsuite/libgomp.c/cancel-parallel-2.c: New test. | |
1379 | * testsuite/libgomp.c/cancel-parallel-3.c: New test. | |
1380 | * testsuite/libgomp.c/cancel-sections-1.c: New test. | |
1381 | * testsuite/libgomp.c/cancel-taskgroup-1.c: New test. | |
1382 | * testsuite/libgomp.c/cancel-taskgroup-2.c: New test. | |
1383 | * testsuite/libgomp.c/depend-1.c: New test. | |
1384 | * testsuite/libgomp.c/depend-2.c: New test. | |
1385 | * testsuite/libgomp.c/depend-3.c: New test. | |
1386 | * testsuite/libgomp.c/depend-4.c: New test. | |
1387 | * testsuite/libgomp.c/for-1.c: New test. | |
1388 | * testsuite/libgomp.c/for-1.h: New file. | |
1389 | * testsuite/libgomp.c/for-2.c: New test. | |
1390 | * testsuite/libgomp.c/for-2.h: New file. | |
1391 | * testsuite/libgomp.c/for-3.c: New test. | |
1392 | * testsuite/libgomp.c/pr58392.c: New test. | |
1393 | * testsuite/libgomp.c/simd-1.c: New test. | |
1394 | * testsuite/libgomp.c/simd-2.c: New test. | |
1395 | * testsuite/libgomp.c/simd-3.c: New test. | |
1396 | * testsuite/libgomp.c/simd-4.c: New test. | |
1397 | * testsuite/libgomp.c/simd-5.c: New test. | |
1398 | * testsuite/libgomp.c/simd-6.c: New test. | |
1399 | * testsuite/libgomp.c/target-1.c: New test. | |
1400 | * testsuite/libgomp.c/target-2.c: New test. | |
1401 | * testsuite/libgomp.c/target-3.c: New test. | |
1402 | * testsuite/libgomp.c/target-4.c: New test. | |
1403 | * testsuite/libgomp.c/target-5.c: New test. | |
1404 | * testsuite/libgomp.c/target-6.c: New test. | |
1405 | * testsuite/libgomp.c/target-7.c: New test. | |
1406 | * testsuite/libgomp.c/taskgroup-1.c: New test. | |
1407 | * testsuite/libgomp.c/thread-limit-1.c: New test. | |
1408 | * testsuite/libgomp.c/thread-limit-2.c: New test. | |
1409 | * testsuite/libgomp.c/thread-limit-3.c: New test. | |
1410 | * testsuite/libgomp.c/udr-1.c: New test. | |
1411 | * testsuite/libgomp.c/udr-2.c: New test. | |
1412 | * testsuite/libgomp.c/udr-3.c: New test. | |
1413 | * testsuite/libgomp.c++/affinity-1.C: New test. | |
1414 | * testsuite/libgomp.c++/atomic-10.C: New test. | |
1415 | * testsuite/libgomp.c++/atomic-11.C: New test. | |
1416 | * testsuite/libgomp.c++/atomic-12.C: New test. | |
1417 | * testsuite/libgomp.c++/atomic-13.C: New test. | |
1418 | * testsuite/libgomp.c++/atomic-14.C: New test. | |
1419 | * testsuite/libgomp.c++/atomic-15.C: New test. | |
1420 | * testsuite/libgomp.c++/cancel-for-1.C: New test. | |
1421 | * testsuite/libgomp.c++/cancel-for-2.C: New test. | |
1422 | * testsuite/libgomp.c++/cancel-parallel-1.C: New test. | |
1423 | * testsuite/libgomp.c++/cancel-parallel-2.C: New test. | |
1424 | * testsuite/libgomp.c++/cancel-parallel-3.C: New test. | |
1425 | * testsuite/libgomp.c++/cancel-sections-1.C: New test. | |
1426 | * testsuite/libgomp.c++/cancel-taskgroup-1.C: New test. | |
1427 | * testsuite/libgomp.c++/cancel-taskgroup-2.C: New test. | |
1428 | * testsuite/libgomp.c++/cancel-taskgroup-3.C: New test. | |
1429 | * testsuite/libgomp.c++/cancel-test.h: New file. | |
1430 | * testsuite/libgomp.c++/for-9.C: New test. | |
1431 | * testsuite/libgomp.c++/for-10.C: New test. | |
1432 | * testsuite/libgomp.c++/for-11.C: New test. | |
1433 | * testsuite/libgomp.c++/simd-1.C: New test. | |
1434 | * testsuite/libgomp.c++/simd-2.C: New test. | |
1435 | * testsuite/libgomp.c++/simd-3.C: New test. | |
1436 | * testsuite/libgomp.c++/simd-4.C: New test. | |
1437 | * testsuite/libgomp.c++/simd-5.C: New test. | |
1438 | * testsuite/libgomp.c++/simd-6.C: New test. | |
1439 | * testsuite/libgomp.c++/simd-7.C: New test. | |
1440 | * testsuite/libgomp.c++/simd-8.C: New test. | |
1441 | * testsuite/libgomp.c++/target-1.C: New test. | |
1442 | * testsuite/libgomp.c++/target-2.C: New test. | |
1443 | * testsuite/libgomp.c++/target-2-aux.cc: New file. | |
1444 | * testsuite/libgomp.c++/target-3.C: New test. | |
1445 | * testsuite/libgomp.c++/taskgroup-1.C: New test. | |
1446 | * testsuite/libgomp.c++/udr-1.C: New test. | |
1447 | * testsuite/libgomp.c++/udr-2.C: New test. | |
1448 | * testsuite/libgomp.c++/udr-3.C: New test. | |
1449 | * testsuite/libgomp.c++/udr-4.C: New test. | |
1450 | * testsuite/libgomp.c++/udr-5.C: New test. | |
1451 | * testsuite/libgomp.c++/udr-6.C: New test. | |
1452 | * testsuite/libgomp.c++/udr-7.C: New test. | |
1453 | * testsuite/libgomp.c++/udr-8.C: New test. | |
1454 | * testsuite/libgomp.c++/udr-9.C: New test. | |
1455 | ||
bd599dea JJ |
1456 | 2013-09-20 Jakub Jelinek <jakub@redhat.com> |
1457 | ||
1458 | PR testsuite/57605 | |
1459 | * testsuite/lib/libgomp.exp: Add -fdiagnostics-color=never to | |
1460 | ALWAYS_CFLAGS. | |
1461 | ||
3cbe17f7 AM |
1462 | 2013-09-20 Alan Modra <amodra@gmail.com> |
1463 | ||
1464 | * configure: Regenerate. | |
1465 | ||
4befd127 JJ |
1466 | 2013-09-19 Jakub Jelinek <jakub@redhat.com> |
1467 | ||
1468 | * testsuite/libgomp.c/sections-2.c: New test. | |
1469 | ||
946c8f7b MS |
1470 | 2013-06-28 Marcus Shawcroft <marcus.shawcroft@arm.com> |
1471 | ||
1472 | * testsuite/libgomp.fortran/strassen.f90: | |
1473 | Add dg-skip-if aarch64_tiny. | |
1474 | ||
1ef3b58e IS |
1475 | 2013-06-20 Iain Sandoe <iain@codesourcery.com> |
1476 | Cesar Philippidis <cesar@codesourcery.com> | |
1477 | ||
1478 | * testsuite/lib/libgomp.exp: Reorder lib loads into dependency order. | |
1479 | Do not load_gcc_lib gcc-dg.exp and add a comment as to why. | |
1480 | * testsuite/libgomp.c/c.exp: load_gcc_lib gcc-dg.exp. | |
1481 | * testsuite/libgomp.fortran/fortran.exp: Likewise. | |
1482 | * testsuite/libgomp.graphite/graphite.exp: Likewise. | |
1483 | * testsuite/libgomp.c++/c++.exp: load_gcc_lib gcc-dg.exp. | |
1484 | Use dg-runtest rather than gfortran-dg-runtest. | |
1485 | ||
9275f73a TS |
1486 | 2013-06-10 Thomas Schwinge <thomas@codesourcery.com> |
1487 | ||
1488 | * testsuite/libgomp.c/icv-2.c: Extend current handling of | |
1489 | Linux-based x86 systems to cover all GNU systems. | |
1490 | * testsuite/libgomp.c/lock-3.c: Likewise. | |
1491 | * testsuite/libgomp.c/pr48591.c: Likewise. | |
1492 | ||
492992e2 TS |
1493 | 2013-06-06 Thomas Schwinge <thomas@codesourcery.com> |
1494 | ||
48df3acb TS |
1495 | * configure.tgt (XCFLAGS): Add -ftls-model=initial-exec for |
1496 | GNU/Hurd, as done for Linux-based systems. | |
1497 | ||
492992e2 TS |
1498 | * config/posix/ptrlock.h: Fix comment. |
1499 | ||
4fed6b25 TB |
1500 | 2013-05-27 Tobias Burnus <burnus@net-b.de> |
1501 | ||
1502 | PR fortran/57423 | |
1503 | * libgomp.texi (omp_set_dynamic, omp_set_nested, omp_set_nested, | |
1504 | omp_set_num_threads, omp_init_lock, omp_set_lock, omp_test_lock, | |
1505 | omp_unset_lock, omp_destroy_lock, omp_init_nest_lock, | |
1506 | omp_set_nest_lock, omp_test_nest_lock, omp_unset_nest_lock, | |
1507 | omp_destroy_nest_lock): Correct arguments to match the one in | |
1508 | the OpenMP spec. | |
1509 | * omp_lib.f90.in (omp_init_lock, omp_init_nest_lock, omp_destroy_lock | |
1510 | omp_destroy_nest_lock, omp_set_lock, omp_set_nest_lock, omp_unset_lock, | |
1511 | omp_unset_nest_lock, omp_set_dynamic, omp_set_nested, | |
1512 | omp_set_num_threads, omp_test_lock, omp_test_nest_lock): Ditto. | |
1513 | ||
5a0f4dd3 JJ |
1514 | 2013-05-16 Jakub Jelinek <jakub@redhat.com> |
1515 | ||
1516 | * testsuite/libgomp.c/loop-13.c: New test. | |
1517 | * testsuite/libgomp.c/loop-14.c: New test. | |
1518 | * testsuite/libgomp.c/loop-15.c: New test. | |
1519 | * testsuite/libgomp.c++/loop-13.C: New test. | |
1520 | * testsuite/libgomp.c++/loop-14.C: New test. | |
1521 | * testsuite/libgomp.c++/loop-15.C: New test. | |
1522 | ||
6d840d99 JJ |
1523 | 2013-02-06 Jakub Jelinek <jakub@redhat.com> |
1524 | ||
1525 | PR middle-end/56217 | |
1526 | * testsuite/libgomp.c++/pr56217.C: New test. | |
1527 | ||
bed8d8a6 AM |
1528 | 2013-02-01 Alan Modra <amodra@gmail.com> |
1529 | ||
1530 | * task.c (GOMP_task, GOMP_taskwait): Comment. | |
1531 | ||
3b35cd04 DV |
1532 | 2013-01-31 Dmitry Vyukov <dvyukov@gcc.gnu.org> |
1533 | Joost VandeVondele <Joost.VandeVondele@mat.ethz.ch> | |
1534 | ||
1535 | PR libgomp/55561 | |
1536 | * config/linux/wait.h (do_spin): Use atomic load for addr. | |
1537 | * config/linux/ptrlock.c (gomp_ptrlock_get_slow): Use atomic | |
1538 | for intptr and ptrlock. | |
1539 | * config/linux/ptrlock.h (gomp_ptrlock_get): Use atomic load | |
1540 | for ptrlock. | |
1541 | ||
9a647288 AM |
1542 | 2013-01-22 Alan Modra <amodra@gmail.com> |
1543 | ||
1544 | PR libgomp/51376 | |
1545 | PR libgomp/56073 | |
1546 | * task.c (GOMP_task): Revert 2011-12-09 change. | |
1547 | (GOMP_taskwait): Likewise. Instead use atomic load with acquire | |
1548 | barrier to read task->children.. | |
1549 | (gomp_barrier_handle_tasks): ..and matching atomic store with | |
1550 | release barrier here when setting parent->children to NULL. | |
1551 | ||
f34dea03 JJ |
1552 | 2013-01-16 Jakub Jelinek <jakub@redhat.com> |
1553 | Tobias Burnus <burnus@net-b.de> | |
1554 | ||
1555 | PR driver/55884 | |
1556 | * testsuite/libgomp.fortran/fortran.exp: Use | |
1557 | -fintrinsic-modules-path= instead of | |
1558 | -fintrinsic-modules-path. | |
1559 | ||
8129609c RS |
1560 | 2013-01-14 Richard Sandiford <rdsandiford@googlemail.com> |
1561 | ||
1562 | Update copyright years. | |
1563 | ||
aa86bf1e TB |
1564 | 2012-12-19 Tobias Burnus <burnus@net-b.de> |
1565 | ||
1566 | * testsuite/libgomp.fortran/fortran.exp: Set | |
1567 | -fintrinsic-modules-path. | |
1568 | ||
2865ea66 TB |
1569 | 2012-12-19 Tobias Burnus <burnus@net-b.de> |
1570 | ||
1571 | * testsuite/libgomp.fortran/use_intrinsic_1.f90: New; moved | |
1572 | from gcc/testsuite/gfortran.dg/gomp/use_intrinsic_1.f90. | |
1573 | ||
4c5ba8d0 JJ |
1574 | 2012-11-21 Jakub Jelinek <jakub@redhat.com> |
1575 | ||
1576 | PR libgomp/55411 | |
1577 | * team.c (gomp_free_thread): Decrease gomp_managed_threads | |
1578 | if pool had any threads_used. | |
1579 | ||
e9f958c2 JH |
1580 | 2012-11-07 Jack Howarth <howarth@bromo.med.uc.edu> |
1581 | ||
1582 | * testsuite/libgomp.c++/pr24455.C: Use | |
1583 | -Wl,-undefined,dynamic_lookup on darwin. | |
1584 | ||
a57d75dc DE |
1585 | 2012-11-07 David Edelsohn <dje.gcc@gmail.com> |
1586 | ||
1587 | * testsuite/libgomp.c++/pr24455.C: Use -Wl,-G on AIX. | |
1588 | ||
c6c08485 DH |
1589 | 2012-10-24 Dominique d'Humieres <dominiq@lps.ens.fr> |
1590 | ||
1591 | * testsuite/libgomp.graphite/force-parallel-6.c: Adjust the loops. | |
1592 | ||
c1f37c00 IB |
1593 | 2012-10-23 Ian Bolton <ian.bolton@arm.com> |
1594 | Jim MacArthur <jim.macarthur@arm.com> | |
1595 | Marcus Shawcroft <marcus.shawcroft@arm.com> | |
1596 | Nigel Stephens <nigel.stephens@arm.com> | |
1597 | Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> | |
1598 | Richard Earnshaw <rearnsha@arm.com> | |
1599 | Sofiane Naci <sofiane.naci@arm.com> | |
1600 | Stephen Thomas <stephen.thomas@arm.com> | |
1601 | Tejas Belagod <tejas.belagod@arm.com> | |
1602 | Yufeng Zhang <yufeng.zhang@arm.com> | |
1603 | ||
1604 | * configure.tgt: Add AArch64. | |
1605 | ||
7c424acd JM |
1606 | 2012-10-04 Jason Merrill <jason@redhat.com> |
1607 | ||
1608 | * testsuite/libgomp.c++/tls-init1.C: New. | |
1609 | ||
6608378b DE |
1610 | 2012-09-14 David Edelsohn <dje.gcc@gmail.com> |
1611 | ||
1612 | * configure: Regenerated. | |
1613 | ||
c24dbebb CLT |
1614 | 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com> |
1615 | ||
1616 | * config/linux/mips/futex.h (sys_futex0): Change to static | |
1617 | function with noinline, nomips16 attributes under MIPS16. Adjust | |
1618 | asm statement to place 'li v0,SYS_futex' immediately before | |
1619 | syscall insn. | |
1620 | ||
3d3949df SL |
1621 | 2012-07-04 Sandra Loosemore <sandra@codesourcery.com> |
1622 | ||
1623 | * libgomp.texi (Library Index): Renamed from "Index" to prevent | |
1624 | conflict with index.html on case-insensitive file systems. | |
1625 | ||
68a12ef3 UB |
1626 | 2012-07-03 Uros Bizjak <ubizjak@gmail.com> |
1627 | ||
1628 | * config/linux/x86/futex.h (cpu_relax): Use __builtin_ia32_pause. | |
1629 | * testsuite/libgomp.c/sort-1.c (busy_wait): Ditto. | |
1630 | ||
33ad93b9 | 1631 | 2012-07-02 Richard Guenther <rguenther@suse.de> |
68a12ef3 UB |
1632 | Michael Matz <matz@suse.de> |
1633 | Tobias Grosser <tobias@grosser.es> | |
1634 | Sebastian Pop <sebpop@gmail.com> | |
33ad93b9 RG |
1635 | |
1636 | * testsuite/libgomp.graphite/force-parallel-4.c: Adjust. | |
1637 | * testsuite/libgomp.graphite/force-parallel-5.c: Likewise. | |
1638 | * testsuite/libgomp.graphite/force-parallel-7.c: Likewise. | |
1639 | * testsuite/libgomp.graphite/force-parallel-8.c: Likewise. | |
1640 | ||
e6fdc918 AS |
1641 | 2012-06-28 Andreas Schwab <schwab@linux-m68k.org> |
1642 | ||
1643 | * libgomp.texi: Include gpl_v3.texi instead of gpl.texi. | |
1644 | ||
62e0a1ed RG |
1645 | 2012-06-22 Richard Guenther <rguenther@suse.de> |
1646 | ||
1647 | Merge from graphite branch | |
1648 | 2012-01-13 Tobias Grosser <tobias@grosser.es> | |
1649 | ||
1650 | * testsuite/libgomp.graphite/force-parallel-1.c: Adjust. | |
1651 | * testsuite/libgomp.graphite/force-parallel-2.c: Likewise. | |
1652 | ||
26127932 JJ |
1653 | 2012-06-07 Jakub Jelinek <jakub@redhat.com> |
1654 | ||
1655 | PR middle-end/53580 | |
1656 | * testsuite/libgomp.c/pr26943-2.c: Remove #pragma omp barrier, | |
1657 | use GOMP_barrier () call instead. | |
1658 | * testsuite/libgomp.c/pr26943-3.c: Likewise. | |
1659 | * testsuite/libgomp.c/pr26943-4.c: Likewise. | |
1660 | * testsuite/libgomp.fortran/vla4.f90: Remove !$omp barrier, | |
1661 | call GOMP_barrier instead. | |
1662 | * testsuite/libgomp.fortran/vla5.f90: Likewise. | |
1663 | ||
43fa5db5 JJ |
1664 | 2012-06-06 Jakub Jelinek <jakub@redhat.com> |
1665 | ||
1666 | PR libgomp/52993 | |
1667 | * config/linux/lock.c (gomp_init_nest_lock_25): Fix up last | |
1668 | argument to memset call. | |
1669 | ||
e6d5f8c9 L |
1670 | 2012-05-16 H.J. Lu <hongjiu.lu@intel.com> |
1671 | ||
1672 | * configure: Regenerated. | |
1673 | ||
559d990c MLI |
1674 | 2012-04-11 Manuel López-Ibáñez <manu@gcc.gnu.org> |
1675 | ||
1676 | * testsuite/lib/libgomp.exp: Add -fno-diagnostics-show-caret. | |
1677 | ||
b9c23a61 L |
1678 | 2012-03-31 H.J. Lu <hongjiu.lu@intel.com> |
1679 | ||
1680 | PR bootstrap/52812 | |
1681 | * configure.tgt (i[456]86-*-linux*): Handle -mx32 like -m64. | |
1682 | ||
c140ddf3 JJ |
1683 | 2012-03-22 Jakub Jelinek <jakub@redhat.com> |
1684 | ||
1685 | PR middle-end/52547 | |
1686 | * testsuite/libgomp.c/pr52547.c: New test. | |
1687 | ||
6a26a74d BRF |
1688 | 2012-03-16 Bernhard Reutner-Fischer <aldot@gcc.gnu.org> |
1689 | ||
1690 | * testsuite/lib/libgomp.exp: load fortran-modules.exp | |
1691 | ||
b24513a1 RO |
1692 | 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1693 | ||
1694 | * configure.tgt (mips-sgi-irix6*): Remove. | |
1695 | ||
5c30094f RO |
1696 | 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1697 | ||
1698 | * configure.tgt (alpha*-dec-osf*): Remove. | |
1699 | ||
1700 | * config/osf/sem.h: Remove. | |
1701 | * config/posix/lock.c (_XOPEN_SOURCE): Define unconditionally. | |
1702 | ||
a339c9d6 EB |
1703 | 2012-02-29 Eric Botcazou <ebotcazou@adacore.com> |
1704 | ||
1705 | * config/linux/sparc/futex.h (cpu_relax): Read from CC register. | |
1706 | ||
cc2de92d RO |
1707 | 2012-02-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1708 | ||
1709 | PR libstdc++/52188 | |
1710 | * acinclude.m4 (LIBGOMP_ENABLE_SYMVERS): Remove symvers_renaming. | |
1711 | Remove ENABLE_SYMVERS_SOL2. | |
1712 | * configure: Regenerate. | |
1713 | * Makefile.am [LIBGOMP_BUILD_VERSIONED_SHLIB] (comma): New variable. | |
1714 | (PREPROCESS): New variable. | |
1715 | (libgomp.ver): New target. | |
1716 | [LIBGOMP_BUILD_VERSIONED_SHLIB && | |
1717 | LIBGOMP_BUILD_VERSIONED_SHLIB_GNU]: Remove | |
1718 | LIBGOMP_BUILD_VERSIONED_SHLIB_SOL2 handling. | |
1719 | Use libgomp.ver. | |
1720 | [LIBGOMP_BUILD_VERSIONED_SHLIB_SUN]: Use libgomp.ver, libgomp.ver-sun. | |
1721 | * Makefile.in: Regenerate. | |
1722 | ||
dd552284 WL |
1723 | 2012-02-14 Walter Lee <walt@tilera.com> |
1724 | ||
1725 | * configure.tgt: Handle tilegx and tilepro. | |
1726 | * config/linux/tile/futex.h: New file. | |
1727 | ||
31432e21 RG |
1728 | 2012-02-08 Richard Guenther <rguenther@suse.de> |
1729 | ||
1730 | PR tree-optimization/46886 | |
1731 | * testsuite/libgomp.c/pr46886.c: New testcase. | |
1732 | ||
b9264b5f MK |
1733 | 2012-01-25 Matthias Klose <doko@ubuntu.com> |
1734 | ||
1735 | * config/linux/arm: Remove empty directory. | |
1736 | * configure.tgt (config_path): Remove linux-arm for arm*-*-linux*. | |
1737 | ||
fbf7be80 AM |
1738 | 2011-12-09 Alan Modra <amodra@gmail.com> |
1739 | ||
1740 | PR libgomp/51376 | |
1741 | * task.c (GOMP_taskwait): Don't access task->children outside of | |
1742 | task_lock mutex region. | |
1743 | (GOMP_task): Likewise. | |
1744 | ||
5de62d00 JJ |
1745 | 2011-12-06 Jakub Jelinek <jakub@redhat.com> |
1746 | ||
1747 | PR libgomp/51132 | |
1748 | * testsuite/libgomp.graphite/force-parallel-1.c: Move large arrays | |
1749 | to file scope. | |
1750 | * testsuite/libgomp.graphite/force-parallel-3.c: Likewise. | |
1751 | * testsuite/libgomp.graphite/force-parallel-6.c: Likewise. | |
1752 | * testsuite/libgomp.graphite/force-parallel-7.c: Likewise. | |
1753 | * testsuite/libgomp.graphite/force-parallel-8.c: Likewise. | |
1754 | * testsuite/libgomp.graphite/force-parallel-9.c: Likewise. | |
1755 | ||
45608a43 AM |
1756 | 2011-12-02 Alan Modra <amodra@gmail.com> |
1757 | ||
1758 | * config/linux/affinity.c: Use atomic rather than sync builtin. | |
1759 | * config/linux/lock.c: Likewise. | |
1760 | * config/linux/ptrlock.h: Likewise. | |
1761 | * config/linux/ptrlock.c: Likewise. | |
1762 | * config/linux/ptrlock.h (gomp_ptrlock_set): Always write here.. | |
1763 | * config/linux/ptrlock.c (gomp_ptrlock_set_slow): ..not here. | |
1764 | * config/linux/futex.h (atomic_write_barrier): Delete unused function. | |
1765 | * config/linux/alpha/futex.h (atomic_write_barrier): Likewise. | |
1766 | * config/linux/ia64/futex.h (atomic_write_barrier): Likewise. | |
1767 | * config/linux/mips/futex.h (atomic_write_barrier): Likewise. | |
1768 | * config/linux/powerpc/futex.h (atomic_write_barrier): Likewise. | |
1769 | * config/linux/s390/futex.h (atomic_write_barrier): Likewise. | |
1770 | * config/linux/sparc/futex.h (atomic_write_barrier): Likewise. | |
1771 | * config/linux/x86/futex.h (atomic_write_barrier): Likewise. | |
1772 | ||
ab6dd406 AM |
1773 | 2011-11-30 Alan Modra <amodra@gmail.com> |
1774 | ||
1775 | PR libgomp/51298 | |
1776 | * config/linux/bar.h: Use atomic rather than sync builtins. | |
1777 | * config/linux/bar.c: Likewise. Add missing acquire | |
1778 | synchronisation on generation field. | |
1779 | * task.c (gomp_barrier_handle_tasks): Regain lock so as to not | |
1780 | double unlock. | |
1781 | ||
b40c885f AM |
1782 | 2011-11-30 Alan Modra <amodra@gmail.com> |
1783 | ||
1784 | * ordered.c (gomp_ordered_sync): Add MEMMODEL_ACQ_REL fence. | |
1785 | * critical.c (GOMP_critical_start): Add MEMMODEL_RELEASE fence. | |
1786 | * config/linux/mutex.h: Use atomic rather than sync builtins. | |
1787 | * config/linux/mutex.c: Likewise. Comment. Use -1 for waiting state. | |
1788 | * config/linux/omp-lock.h: Comment fix. | |
1789 | * config/linux/arm/mutex.h: Delete. | |
1790 | * config/linux/powerpc/mutex.h: Delete. | |
1791 | * config/linux/ia64/mutex.h: Delete. | |
1792 | * config/linux/mips/mutex.h: Delete. | |
1793 | ||
3e348fcc AM |
1794 | 2011-11-30 Alan Modra <amodra@gmail.com> |
1795 | ||
1796 | PR libgomp/51249 | |
1797 | * config/linux/sem.h: Rewrite. | |
1798 | * config/linux/sem.c: Rewrite. | |
1799 | ||
cef86eb2 RH |
1800 | 2011-11-28 Richard Henderson <rth@redhat.com> |
1801 | ||
1802 | * libgomp.h (enum memmodel): New. | |
1803 | ||
c6084f68 AT |
1804 | 2011-11-21 Andreas Tobler <andreast@fgznet.ch> |
1805 | ||
1806 | * configure: Regenerate. | |
1807 | ||
06fe026c MK |
1808 | 2011-10-10 Matthias Klose <doko@ubuntu.com> |
1809 | ||
1810 | * config/posix95: Remove empty directory. | |
1811 | ||
a6c975bd JJ |
1812 | 2011-08-26 Jakub Jelinek <jakub@redhat.com> |
1813 | ||
1814 | * testsuite/libgomp.fortran/threadprivate4.f90: New test. | |
1815 | ||
c26dffff JJ |
1816 | 2011-08-19 Jakub Jelinek <jakub@redhat.com> |
1817 | ||
1818 | PR fortran/49792 | |
1819 | * testsuite/libgomp.fortran/pr49792-1.f90: New test. | |
1820 | * testsuite/libgomp.fortran/pr49792-2.f90: New test. | |
1821 | ||
ddaad3c8 RO |
1822 | 2011-08-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1823 | ||
1824 | * config/posix95/lock.c, posix95/omp-lock.h: Remove. | |
1825 | ||
98d03683 RO |
1826 | 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1827 | ||
1828 | PR libgomp/49965 | |
1829 | * testsuite/libgomp.c++/task-8.C: Replaced err by errval. | |
1830 | ||
e0b23d9f UB |
1831 | 2011-08-03 Uros Bizjak <ubizjak@gmail.com> |
1832 | ||
1833 | * config/linux/proc.h: New. | |
1834 | * config/linux/proc.c: Include "proc.h". Do not include <sched.h>. | |
1835 | (gomp_cpuset_popcount): Rename from cpuset_popcount. No more static. | |
1836 | (gomp_init_num_threads): Update call to cpuset_popcount. | |
1837 | (get_num_procs): Ditto. | |
1838 | * config/linux/affinity.c (gomp_init_affinity): Call | |
1839 | gomp_cpuset_popcount. | |
1840 | ||
20906c66 JJ |
1841 | 2011-08-02 Jakub Jelinek <jakub@redhat.com> |
1842 | ||
1843 | PR fortran/42041 | |
1844 | PR fortran/46752 | |
1845 | * omp.h.in (omp_in_final): New prototype. | |
1846 | * omp_lib.f90.in (omp_in_final): New interface. | |
1847 | (omp_integer_kind, omp_logical_kind): Remove | |
1848 | and replace all its uses in the module with 4. | |
1849 | (openmp_version): Change to 201107. | |
1850 | * omp_lib.h.in (omp_sched_static, omp_sched_dynamic, | |
1851 | omp_sched_guided, omp_sched_auto): Use omp_sched_kind | |
1852 | kind for the parameters. | |
1853 | (omp_in_final): New external. | |
1854 | (openmp_version): Change to 201107. | |
1855 | * task.c (omp_in_final): New function. | |
1856 | (gomp_init_task): Initialize final_task. | |
1857 | (GOMP_task): Remove unused attribute from flags. Handle final | |
1858 | tasks. | |
1859 | (GOMP_taskyield): New function. | |
1860 | (omp_in_final): Return true if if (false) or final (true) task | |
1861 | or descendant of final (true). | |
1862 | * fortran.c (omp_in_final_): New function. | |
1863 | * libgomp.map (OMP_3.1): Export omp_in_final and omp_in_final_. | |
1864 | (GOMP_3.0): Export GOMP_taskyield. | |
1865 | * env.c (gomp_nthreads_var_list, gomp_nthreads_var_list_len): New | |
1866 | variables. | |
1867 | (parse_unsigned_long_list): New function. | |
1868 | (initialize_env): Use it for OMP_NUM_THREADS. Call parse_boolean | |
1869 | with "OMP_PROC_BIND". If OMP_PROC_BIND=true, call gomp_init_affinity | |
1870 | even if parse_affinity returned false. | |
1871 | * config/linux/affinity.c (gomp_init_affinity): Handle | |
1872 | gomp_cpu_affinity_len == 0. | |
1873 | * libgomp_g.h (GOMP_taskyield): New prototype. | |
1874 | * libgomp.h (struct gomp_task): Add final_task field. | |
1875 | (gomp_nthreads_var_list, gomp_nthreads_var_list_len): New externs. | |
1876 | * team.c (gomp_team_start): Override new task's nthreads_var icv | |
1877 | if list form OMP_NUM_THREADS has been used and it has value for | |
1878 | the new nesting level. | |
1879 | ||
1880 | * testsuite/libgomp.c/atomic-11.c: New test. | |
1881 | * testsuite/libgomp.c/atomic-12.c: New test. | |
1882 | * testsuite/libgomp.c/atomic-13.c: New test. | |
1883 | * testsuite/libgomp.c/atomic-14.c: New test. | |
1884 | * testsuite/libgomp.c/reduction-6.c: New test. | |
1885 | * testsuite/libgomp.c/task-5.c: New test. | |
1886 | * testsuite/libgomp.c++/atomic-2.C: New test. | |
1887 | * testsuite/libgomp.c++/atomic-3.C: New test. | |
1888 | * testsuite/libgomp.c++/atomic-4.C: New test. | |
1889 | * testsuite/libgomp.c++/atomic-5.C: New test. | |
1890 | * testsuite/libgomp.c++/atomic-6.C: New test. | |
1891 | * testsuite/libgomp.c++/atomic-7.C: New test. | |
1892 | * testsuite/libgomp.c++/atomic-8.C: New test. | |
1893 | * testsuite/libgomp.c++/atomic-9.C: New test. | |
1894 | * testsuite/libgomp.c++/task-8.C: New test. | |
1895 | * testsuite/libgomp.c++/reduction-4.C: New test. | |
1896 | * testsuite/libgomp.fortran/allocatable7.f90: New test. | |
1897 | * testsuite/libgomp.fortran/allocatable8.f90: New test. | |
1898 | * testsuite/libgomp.fortran/crayptr3.f90: New test. | |
1899 | * testsuite/libgomp.fortran/omp_atomic3.f90: New test. | |
1900 | * testsuite/libgomp.fortran/omp_atomic4.f90: New test. | |
1901 | * testsuite/libgomp.fortran/pointer1.f90: New test. | |
1902 | * testsuite/libgomp.fortran/pointer2.f90: New test. | |
1903 | * testsuite/libgomp.fortran/task4.f90: New test. | |
1904 | ||
1905 | 2011-08-02 Tobias Burnus <burnus@net-b.de> | |
1906 | ||
1907 | * libgomp.texi: Update OpenMP spec references to 3.1. | |
1908 | (omp_in_final,OMP_PROC_BIND): New sections. | |
1909 | (OMP_NUM_THREADS): Document that the value can be now a list. | |
1910 | (GOMP_STACKSIZE,GOMP_CPU_AFFINITY): Update @ref. | |
1911 | ||
c01ecafc L |
1912 | 2011-08-02 H.J. Lu <hongjiu.lu@intel.com> |
1913 | ||
1914 | * config/linux/x86/futex.h: Check __x86_64__ instead of | |
1915 | __LP64__. | |
1916 | ||
25142650 JJ |
1917 | 2011-07-29 Jakub Jelinek <jakub@redhat.com> |
1918 | ||
1919 | PR middle-end/49897 | |
1920 | PR middle-end/49898 | |
1921 | * testsuite/libgomp.c/pr49897-1.c: New test. | |
1922 | * testsuite/libgomp.c/pr49897-2.c: New test. | |
1923 | * testsuite/libgomp.c/pr49898-1.c: New test. | |
1924 | * testsuite/libgomp.c/pr49898-2.c: New test. | |
1925 | ||
f53d712f L |
1926 | 2011-07-28 H.J. Lu <hongjiu.lu@intel.com> |
1927 | ||
1928 | * testsuite/lib/libgomp.exp (libgomp_init): Add -march=i486 | |
1929 | for ia32 instead of ilp32. | |
1930 | ||
1931 | * testsuite/libgomp.c/atomic-1.c: Require ia32 instead of ilp32. | |
1932 | * testsuite/libgomp.c/atomic-6.c: Likewise. | |
1933 | ||
3689198d SP |
1934 | 2011-07-23 Sebastian Pop <sebastian.pop@amd.com> |
1935 | ||
1936 | * testsuite/libgomp.graphite/force-parallel-1.c: Un-xfail. | |
1937 | * testsuite/libgomp.graphite/force-parallel-2.c: Adjust pattern. | |
1938 | ||
1a79cb73 RO |
1939 | 2011-07-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1940 | ||
1941 | PR libgomp/45351 | |
1942 | * config/osf/sem.h: New file. | |
1943 | * configure.tgt (alpha*-dec-osf*): Prepend osf to config_path. | |
1944 | ||
c1f51484 RO |
1945 | 2011-07-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1946 | ||
1947 | PR target/49541 | |
1948 | * testsuite/lib/libgomp.exp (libgomp_init): Don't add -lgomp to | |
1949 | ldflags. | |
1950 | ||
bfee0724 JJ |
1951 | 2011-07-15 Jakub Jelinek <jakub@redhat.com> |
1952 | ||
1953 | * config/linux/wait.h (do_spin): New inline, largely copied | |
1954 | from do_wait, just don't do futex_wait here, instead return true if | |
1955 | it should be done. | |
1956 | (do_wait): Implement using do_spin. | |
1957 | * config/linux/mutex.h (gomp_mutex_lock_slow): Add an int argument | |
1958 | to prototype. | |
1959 | (gomp_mutex_lock): Use __sync_val_compare_and_swap instead of | |
1960 | __sync_bool_compare_and_swap, pass the oldval to | |
1961 | gomp_mutex_lock_slow. | |
1962 | * config/linux/mutex.c (gomp_mutex_lock_slow): Add oldval argument. | |
1963 | If all mutex contenders are just spinning and not sleeping, don't | |
1964 | change state to 2 unnecessarily. Optimize the loop when state has | |
1965 | already become 2 to use just one atomic operation per loop instead | |
1966 | of two. | |
1967 | * config/linux/ia64/mutex.h (gomp_mutex_lock_slow): Add an int argument | |
1968 | to prototype. | |
1969 | (gomp_mutex_lock): Use __sync_val_compare_and_swap instead of | |
1970 | __sync_bool_compare_and_swap, pass the oldval to | |
1971 | gomp_mutex_lock_slow. | |
1972 | ||
fb79f500 JJ |
1973 | 2011-06-22 Jakub Jelinek <jakub@redhat.com> |
1974 | ||
1975 | PR libgomp/49490 | |
1976 | * iter.c (gomp_iter_static_next): For chunk size 0 | |
1977 | only use n ceil/ nthreads size for the first | |
1978 | n % nthreads threads in the team instead of | |
1979 | all threads except for the last few ones which | |
1980 | get less work or none at all. | |
1981 | * iter_ull.c (gomp_iter_ull_static_next): Likewise. | |
1982 | * env.c (parse_schedule): If OMP_SCHEDULE doesn't have | |
1983 | chunk argument, set run_sched_modifier to 0 for static | |
1984 | resp. 1 for other kinds. If chunk argument is 0 | |
1985 | and not static, set value to 1. | |
1986 | ||
4577f730 JJ |
1987 | 2011-05-19 Jakub Jelinek <jakub@redhat.com> |
1988 | ||
ea93a47b JJ |
1989 | PR c++/49043 |
1990 | * testsuite/libgomp.c++/pr49043.C: New test. | |
1991 | ||
4577f730 JJ |
1992 | PR c++/48869 |
1993 | * testsuite/libgomp.c++/pr48869.C: New test. | |
1994 | ||
e7385332 JJ |
1995 | 2011-05-06 Jakub Jelinek <jakub@redhat.com> |
1996 | ||
1997 | PR fortran/48894 | |
1998 | * fortran.c: Include limits.h. | |
1999 | (TO_INT): Define. | |
2000 | (omp_set_dynamic_8_, omp_set_num_threads_8_): Use !!*set instead of | |
2001 | *set. | |
2002 | (omp_set_num_threads_8_, omp_set_schedule_8_, | |
2003 | omp_set_max_active_levels_8_, omp_get_ancestor_thread_num_8_, | |
2004 | omp_get_team_size_8_): Use TO_INT macro. | |
2005 | * testsuite/libgomp.fortran/pr48894.f90: New test. | |
2006 | ||
20790697 JJ |
2007 | 2011-04-13 Jakub Jelinek <jakub@redhat.com> |
2008 | ||
2009 | PR middle-end/48591 | |
2010 | * testsuite/libgomp.c/pr48591.c: New test. | |
2011 | ||
bf382f5f RO |
2012 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2013 | ||
2014 | PR bootstrap/48135 | |
2015 | * acinclude.m4 (enable_symvers): Handle --disable-symvers. | |
2016 | * configure: Regenerate. | |
2017 | ||
113a53c1 JJ |
2018 | 2011-02-27 Jakub Jelinek <jakub@redhat.com> |
2019 | ||
2020 | PR fortran/47886 | |
2021 | * testsuite/libgomp.fortran/task3.f90: New test. | |
2022 | ||
0024f1af TB |
2023 | 2011-02-24 Tobias Burnus <burnus@net-b.de> |
2024 | ||
2025 | * libgomp.texi (GOMP_STACKSIZE): Fix @ref to OMP_STACKSIZE. | |
2026 | ||
21e1e594 JJ |
2027 | 2011-02-23 Jakub Jelinek <jakub@redhat.com> |
2028 | ||
2029 | PR libgomp/47854 | |
2030 | * libgomp.texi (omp_get_wtime): Don't say time in the past | |
2031 | must be Unix Epoch. | |
2032 | ||
67962076 JJ |
2033 | 2011-02-18 Jakub Jelinek <jakub@redhat.com> |
2034 | ||
2035 | PR libgomp/47804 | |
2036 | * testsuite/libgomp.fortran/fortran.exp: Check for both | |
2037 | libquadmath.a and libquadmath.${shlib_ext}. If neither exists, | |
2038 | but $blddir != "", still append ${blddir}/${lang_library_path} | |
2039 | to ld_library_path. | |
2040 | ||
3808007c TB |
2041 | 2011-02-16 Tobias Burnus <burnus@net-b.de> |
2042 | ||
2043 | PR libgomp/47758 | |
2044 | * testsuite/libgomp.fortran/fortran.exp: Check for the existence | |
2045 | of libquadmath.a before adding its libpath to ldflags. | |
2046 | ||
53b4d41d JJ |
2047 | 2011-02-14 Jakub Jelinek <jakub@redhat.com> |
2048 | ||
2049 | PR libgomp/47731 | |
2050 | * config/linux/futex.h (futex_wait): Pass NULL as timeout argument | |
2051 | to FUTEX_WAIT futex syscall. | |
2052 | * config/linux/wait.h: Include <futex.h> instead of "futex.h". | |
2053 | ||
029c8f3e RW |
2054 | 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
2055 | ||
2056 | * configure: Regenerate. | |
2057 | ||
bddd6626 BK |
2058 | 2011-01-20 Benjamin Kosnik <bkoz@redhat.com> |
2059 | ||
2060 | PR libstdc++/36104 | |
2061 | * acinclude.m4 (LIBGOMP_ENABLE_SYMVERS): Accept gnu variants. | |
2062 | ||
f1d4ab26 GP |
2063 | 2011-01-16 Gerald Pfeifer |
2064 | ||
2065 | * configure.tgt (*-*-freebsd*): Add -lpthread to XLDFLAGS. | |
2066 | ||
2b503136 JJ |
2067 | 2010-12-14 Jakub Jelinek <jakub@redhat.com> |
2068 | ||
2069 | PR fortran/46874 | |
2070 | * libgomp.fortran/allocatable6.f90: New test. | |
2071 | ||
c0f9d583 RO |
2072 | 2010-12-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2073 | ||
2074 | * acinclude.m4 (symvers_renaming): Also set if enable_symvers = no. | |
2075 | * configure: Regenerate. | |
2076 | ||
7de6ba7a DK |
2077 | 2010-12-06 Dave Korn <dave.korn.cygwin@gmail.com> |
2078 | ||
2079 | PR target/40125 | |
2080 | PR lto/46695 | |
2081 | * configure.ac: Invoke ACX_LT_HOST_FLAGS. | |
2082 | * Makefile.am (libgomp_la_LDFLAGS): Use lt_host_flags. | |
2083 | * aclocal.m4: Regenerate. | |
2084 | * configure: Regenerate. | |
2085 | * Makefile.in: Regenerate. | |
2086 | * testsuite/Makefile.in: Regenerate. | |
2087 | ||
b7516041 JJ |
2088 | 2010-12-02 Jakub Jelinek <jakub@redhat.com> |
2089 | ||
edaadf74 JJ |
2090 | PR fortran/46753 |
2091 | * libgomp.fortran/pr46753.f90: New test. | |
2092 | ||
4c698cf8 JJ |
2093 | PR libgomp/43706 |
2094 | * env.c (initialize_env): Default to spin count 300000 | |
2095 | instead of 20000000 if neither OMP_WAIT_POLICY nor GOMP_SPINCOUNT | |
2096 | is specified. | |
2097 | ||
b7516041 JJ |
2098 | PR libgomp/45240 |
2099 | * parallel.c (GOMP_parallel_end): Unlock gomp_remaining_threads_lock | |
2100 | at the end if sync builtins aren't supported. | |
2101 | ||
6b43a34c RO |
2102 | 2010-12-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2103 | ||
2104 | * configure.tgt (mips-sgi-irix6*): Add -lpthread to XLDFLAGS. | |
2105 | ||
950691fa RO |
2106 | 2010-12-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2107 | ||
2108 | * testsuite/libgomp.fortran/vla8.f90: Use dg-timeout-factor 2.0. | |
2109 | ||
fb9041ea IS |
2110 | 2010-11-24 Iain Sandoe <iains@gcc.gnu.org> |
2111 | ||
2112 | * testsuite/libgomp.fortran/fortran.exp: Add paths for libquadmath. | |
2113 | ||
1ec601bf FXC |
2114 | 2010-11-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> |
2115 | Tobias Burnus <burnus@net-b.de> | |
2116 | ||
2117 | PR fortran/32049 | |
3e348fcc | 2118 | * configure.ac: |
1ec601bf FXC |
2119 | * configure: Regenerate. |
2120 | ||
d213e92e MS |
2121 | 2010-10-06 Marcus Shawcroft <marcus.shawcroft@arm.com> |
2122 | ||
2123 | * config/linux/futex.h: New. | |
2124 | * config/linux/arm/mutex.h: New. | |
2125 | * configure.tgt (arm*-*-linux*): Add config path. | |
2126 | ||
89d5c66f SP |
2127 | 2010-09-30 Sebastian Pop <sebastian.pop@amd.com> |
2128 | ||
2129 | * testsuite/libgomp.graphite/force-parallel-1.c: Adjust. | |
2130 | ||
87350d4a TB |
2131 | 2010-09-23 Tobias Burnus <burnus@net-b.de> |
2132 | ||
2133 | * libgomp.texi (omp_get_nested, omp_set_nested, omp_set_dynamic): | |
2134 | Change Fortran datatype to LOGICAL. | |
2135 | (omp_set_lock, omp_test_lock, omp_unset_lock, omp_set_nested_lock, | |
2136 | omp_unset_nested_lock): Use intent(inout) instead of intent(out). | |
2137 | ||
75bc9e5e RW |
2138 | 2010-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
2139 | ||
2140 | * configure: Regenerate. | |
2141 | ||
acb5c916 JJ |
2142 | 2010-07-26 Jakub Jelinek <jakub@redhat.com> |
2143 | ||
2144 | * libgomp.texi: Add function keyword to a couple of Fortran | |
2145 | interfaces, use integer instead of int for Fortran. | |
2146 | ||
6a2ba183 AH |
2147 | 2010-07-26 Aldy Hernandez <aldyh@redhat.com> |
2148 | ||
2149 | * libgomp.texi: Fix spelling and pasto problems throughout. | |
2150 | Adjust prototypes to match code. | |
2151 | ||
df161b69 TB |
2152 | 2010-07-24 Tobias Burnus <burnus@net-b.de> |
2153 | ||
2154 | * testsuite/libgomp.fortran/appendix-a/a.28.5.f90: Add -w to | |
2155 | silence -fwhole-file warning. | |
2156 | ||
16c9d3b1 RO |
2157 | 2010-07-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2158 | ||
2159 | * configure.tgt (*-*-solaris2.[56]*): Removed. | |
2160 | ||
6d28b933 RO |
2161 | 2010-07-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2162 | ||
2163 | * acinclude.m4 (LIBGOMP_ENABLE_SYMVERS): Handle sun style. | |
2164 | Define LIBGOMP_BUILD_VERSIONED_SHLIB_GNU, | |
2165 | LIBGOMP_BUILD_VERSIONED_SHLIB_SUN automake conditionals. | |
2166 | (HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT): Define unless | |
2167 | targetting solaris2*. | |
2168 | * configure: Regenerate. | |
2169 | * config.h.in: Regenerate. | |
2170 | ||
2171 | * Makefile.am [LIBGOMP_BUILD_VERSIONED_SHLIB]: Protect | |
2172 | libgomp_version_script with LIBGOMP_BUILD_VERSIONED_SHLIB_GNU. | |
2173 | Add libgomp_version_dep. | |
2174 | [LIBGOMP_BUILD_VERSIONED_SHLIB_SUN]: Handle Sun symbol | |
2175 | versioning. | |
2176 | [!LIBGOMP_BUILD_VERSIONED_SHLIB]: Add libgomp_version_dep. | |
2177 | (libgomp_la_DEPENDENCIES): Set to $(libgomp_version_dep). | |
2178 | * Makefile.in: Regenerate. | |
2179 | ||
2180 | * libgomp.h (LIBGOMP_GNU_SYMBOL_VERSIONING): Undef unless | |
2181 | HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT. | |
2182 | * libgomp.map (OMP_1.0): Move symbols both in OMP_1.0 and OMP_3.0 | |
2183 | to common block, protected by | |
2184 | HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT. | |
2185 | ||
07a67d6a GP |
2186 | 2010-06-10 Gerald Pfeifer <gerald@pfeifer.com> |
2187 | ||
2188 | * libgomp.texi: Move to GFDL version 1.3. Update copyright years. | |
2189 | ||
dbd34b89 IS |
2190 | 2010-06-09 Iain Sandoe <iains@gcc.gnu.org> |
2191 | ||
2192 | PR bootstrap/43170 | |
2193 | * configure: Regenerate. | |
2194 | ||
13917ae3 RW |
2195 | 2010-05-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
2196 | ||
2197 | PR other/43620 | |
2198 | * configure.ac (AM_INIT_AUTOMAKE): Add no-dist. | |
2199 | * configure: Regenerate. | |
2200 | * Makefile.in: Regenerate. | |
2201 | * testsuite/Makefile.in: Regenerate. | |
2202 | ||
b83a701b JJ |
2203 | 2010-04-26 Jakub Jelinek <jakub@redhat.com> |
2204 | ||
2205 | PR c/43893 | |
2206 | * testsuite/libgomp.c/pr43893.c: New test. | |
2207 | * testsuite/libgomp.c++/pr43893.C: New test. | |
2208 | ||
78db7d92 JJ |
2209 | 2010-04-21 Jakub Jelinek <jakub@redhat.com> |
2210 | ||
2211 | PR middle-end/43570 | |
2212 | * testsuite/libgomp.fortran/vla8.f90: New test. | |
2213 | ||
5221d7a9 JJ |
2214 | 2010-04-20 Jakub Jelinek <jakub@redhat.com> |
2215 | ||
e4ba7a60 JJ |
2216 | PR libgomp/43706 |
2217 | * config/linux/affinity.c (gomp_init_affinity): Decrease | |
2218 | gomp_available_cpus if affinity mask confines the process to fewer | |
2219 | CPUs. | |
2220 | * config/linux/proc.c (get_num_procs): If gomp_cpu_affinity is | |
2221 | non-NULL, just return gomp_available_cpus. | |
2222 | ||
5221d7a9 JJ |
2223 | PR libgomp/43569 |
2224 | * sections.c (gomp_sections_init): Initialize ws->mode. | |
2225 | ||
289a9f86 UB |
2226 | 2010-04-14 Uros Bizjak <ubizjak@gmail.com> |
2227 | ||
2228 | * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS): Remove set but | |
2229 | not unused bar variable. | |
2230 | * configure: Regenerate. | |
2231 | ||
4d9e8446 RW |
2232 | 2010-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
2233 | ||
2234 | * Makefile.in: Regenerate. | |
2235 | * aclocal.m4: Regenerate. | |
2236 | * testsuite/Makefile.in: Regenerate. | |
2237 | ||
80f046cc JJ |
2238 | 2010-03-22 Jakub Jelinek <jakub@redhat.com> |
2239 | ||
2240 | PR libgomp/42942 | |
2241 | * env.c (parse_unsigned_long): Add ALLOW_ZERO argument. | |
2242 | (initialize_env): Adjust callers. | |
2243 | (omp_set_max_active_levels): Set gomp_max_active_levels_var even | |
2244 | when the argument is 0. | |
2245 | ||
2246 | * testsuite/libgomp.c/pr42942.c: New test. | |
2247 | ||
b58543c3 SP |
2248 | 2010-03-08 Tobias Grosser <grosser@fim.uni-passau.de> |
2249 | ||
2250 | PR middle-end/42644 | |
2251 | PR middle-end/42130 | |
2252 | * testsuite/libgomp.graphite/force-parallel-1.c: Adjust. | |
2253 | * testsuite/libgomp.graphite/force-parallel-2.c: Adjust. | |
2254 | ||
41d1138f RO |
2255 | 2010-01-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2256 | ||
2257 | * testsuite/libgomp.c++/task-1.C: Renamed err to e. | |
2258 | * testsuite/libgomp.c++/task-6.C: Likewise. | |
2259 | ||
6684eb28 SE |
2260 | 2010-01-28 Steve Ellcey <sje@cup.hp.com> |
2261 | ||
2262 | * configure.tgt (*-*-hpux*): Add -frandom-seed flag. | |
2263 | ||
2122aa97 PB |
2264 | 2010-01-26 Paolo Bonzini <bonzini@gnu.org> |
2265 | ||
2266 | * configure.ac: Test for executability of _the first word_ of GFORTRAN. | |
2267 | * configure: Regenerate. | |
2268 | ||
057dd91d JJ |
2269 | 2010-01-26 Jakub Jelinek <jakub@redhat.com> |
2270 | ||
2271 | PR fortran/42866 | |
2272 | * testsuite/libgomp.fortran/allocatable5.f90: New test. | |
2273 | ||
d0709b6a PB |
2274 | 2010-01-20 Paolo Bonzini <bonzini@gnu.org> |
2275 | ||
2276 | * configure.ac: Test for executability of GFORTRAN. | |
2277 | * configure: Regenerate. | |
2278 | ||
b9497ab5 RO |
2279 | 2010-01-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2280 | ||
2281 | * configure: Regenerate. | |
2282 | ||
45de5648 L |
2283 | 2010-01-04 H.J. Lu <hongjiu.lu@intel.com> |
2284 | ||
2285 | PR libgomp/42602 | |
2286 | * libgomp.fortran/recursion1.f90 (sub): Make 's' atomic. | |
2287 | ||
e74003a1 RG |
2288 | 2010-01-03 Richard Guenther <rguenther@suse.de> |
2289 | ||
2290 | * testsuite/libgomp.fortran/recursion1.f90: New testcase. | |
2291 | ||
1b3abda8 SP |
2292 | 2009-12-23 Sebastian Pop <sebpop@gmail.com> |
2293 | ||
2294 | * testsuite/libgomp.graphite/pr4118.c: New. | |
2295 | ||
e19977d3 IS |
2296 | 2009-12-22 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk> |
2297 | ||
2298 | * testsuite/libgomp.fortran/crayptr2.f90: Remove forced static linkage | |
2299 | for darwin, protect the test with require-effective-target tls_runtime. | |
2300 | * testsuite/libgomp.fortran/pr32550.f90: Ditto. | |
2301 | ||
1d32a772 IS |
2302 | 2009-12-22 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk> |
2303 | ||
2304 | PR target/41605 | |
2305 | * testsuite/lib/libgomp.exp: Provide -B options to allow for | |
2306 | link spec %s substitutions for static libraries. | |
2307 | ||
deb109b2 JH |
2308 | 2009-12-18 Jack Howarth <howarth@bromo.med.uc.edu> |
2309 | ||
2310 | PR testsuite/42135 | |
2311 | * libgomp.graphite/force-parallel-2.c: Reduce array size. | |
2312 | ||
43e02a8a RW |
2313 | 2009-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
2314 | ||
2315 | * Makefile.in: Regenerate. | |
2316 | * configure: Regenerate. | |
2317 | * testsuite/Makefile.in: Regenerate. | |
2318 | ||
17f35e23 DK |
2319 | 2009-11-30 Dave Korn <dave.korn.cygwin@gmail.com> |
2320 | ||
2321 | * testsuite/lib/libgomp.exp (libgomp_init): Add host-dependent | |
2322 | settings for LC_ALL and LANG. | |
2323 | ||
281e33e1 JJ |
2324 | 2009-11-25 Jakub Jelinek <jakub@redhat.com> |
2325 | ||
2326 | PR fortran/42162 | |
2327 | * testsuite/libgomp.fortran/pr42162.f90: New test. | |
2328 | ||
2b32c27d JJ |
2329 | 2009-11-13 Jakub Jelinek <jakub@redhat.com> |
2330 | ||
2331 | PR middle-end/42029 | |
281e33e1 | 2332 | * testsuite/libgomp.c/pr42029.c: New test. |
2b32c27d | 2333 | |
89c74f4a JJ |
2334 | 2009-10-26 Jakub Jelinek <jakub@redhat.com> |
2335 | ||
2336 | * acinclude.m4 (LIBGOMP_CHECK_LINKER_FEATURES): Avoid using too many | |
2337 | *s. Accept ld version without text in ()s. | |
2338 | * configure: Regenerated. | |
2339 | ||
7e06c3d6 EB |
2340 | 2009-10-22 Razya Ladelsky <razya@il.ibm.com> |
2341 | ||
2342 | * testsuite/libgomp.graphite/force-parallel-2.c: Adjust scan. | |
2343 | ||
0046b1a7 RW |
2344 | 2009-10-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
2345 | ||
2346 | PR libgomp/41418 | |
2347 | * configure.ac: Set FC to "no" if $GFORTRAN starts with "no" | |
2348 | or a hyphen (happens with fortran language disabled). | |
2349 | * configure: Regenerate. | |
2350 | ||
c82852f7 RW |
2351 | 2009-09-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
2352 | ||
2353 | * acinclude.m4 (LIBGOMP_CHECK_LINKER_FEATURES): Avoid 'head', | |
2354 | use sed script portable to Solaris /bin/sed for extracting ld | |
2355 | version. | |
2356 | * configure: Regenerate. | |
2357 | ||
98f3eb1f AM |
2358 | 2009-09-17 Alexander Monakov <amonakov@ispras.ru> |
2359 | ||
2360 | * testsuite/libgomp.graphite/bounds.c: New test. | |
2361 | ||
878f62e5 RW |
2362 | 2009-09-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
2363 | ||
2364 | * Makefile.am (libgomp_la_LINK): New. | |
2365 | * Makefile.in: Regenerate. | |
2366 | ||
df58e648 RW |
2367 | 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
2368 | ||
2369 | * configure.ac (AC_PREREQ): Bump to 2.64. | |
2370 | ||
5213506e RW |
2371 | 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
2372 | ||
70fa0efa RW |
2373 | * Makefile.am (install-html, install-pdf): Remove. |
2374 | * Makefile.in: Regenerate. | |
2375 | ||
5213506e RW |
2376 | * Makefile.in: Regenerate. |
2377 | * aclocal.m4: Regenerate. | |
2378 | * config.h.in: Regenerate. | |
2379 | * configure: Regenerate. | |
2380 | * testsuite/Makefile.in: Regenerate. | |
2381 | ||
84fec8a5 RW |
2382 | 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
2383 | ||
2384 | * Makefile.am (LINK): Add $(AM_LIBTOOLFLAGS) and $(LIBTOOLFLAGS). | |
2385 | * Makefile.in: Regenerate. | |
2386 | ||
197c68cc DK |
2387 | 2009-08-20 Dave Korn <dave.korn.cygwin@gmail.com> |
2388 | ||
2389 | * Makefile.am (libgomp_la_LDFLAGS): Add -bindir flag. | |
2390 | * Makefile.in: Regenerate. | |
2391 | ||
693d54f2 TB |
2392 | 2009-08-19 Tobias Burnus <burnus@net-b.de> |
2393 | ||
2394 | PR fortran/41102 | |
2395 | omp_lib.h.in: Fix -std=f95 errors. | |
2396 | ||
2397 | ||
8cac884c DE |
2398 | 2009-08-14 David Edelsohn <edelsohn@gnu.org> |
2399 | ||
2400 | * testsuite/libgomp.graphite: Move from gcc.dg/graphite. | |
2401 | * testsuite/libgomp.graphite/graphite_autopar.exp: Delete. | |
2402 | * testsuite/libgomp.graphite/graphite.exp: New. | |
2403 | ||
78729ee2 AT |
2404 | 2009-08-05 Andreas Tobler <a.tobler@schweiz.org> |
2405 | ||
2406 | * testsuite/libgomp.fortran/fortran.exp: Add flags in case of shared | |
2407 | only build. | |
2408 | ||
b13b7f39 DD |
2409 | 2009-08-04 David Daney <ddaney@caviumnetworks.com> |
2410 | ||
2411 | * config/linux/mutex.h (gomp_mutex_unlock): Add comment about | |
2412 | needed memory barrier semantics. | |
2413 | * config/linux/mips/mutex.h: New file. | |
2414 | ||
1b3b24c2 RW |
2415 | 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
2416 | ||
2417 | * configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force. | |
2418 | ||
396b7fa4 JM |
2419 | 2009-07-16 Joseph Myers <joseph@codesourcery.com> |
2420 | ||
2421 | * configure: Regenerate. | |
2422 | ||
33cde516 RS |
2423 | 2009-07-11 Richard Sandiford <rdsandiford@googlemail.com> |
2424 | ||
2425 | PR testsuite/40699 | |
2426 | PR testsuite/40707 | |
2427 | PR testsuite/40709 | |
2428 | * testsuite/lib/libgomp.exp: Revert 2009-07-02 and 2009-06-30 commits. | |
2429 | * testsuite/libgomp.c/c.exp, testsuite/libgomp.c++/c++.exp, | |
2430 | testsuite/libgomp.fortran/fortran.exp: Revert 2009-06-30 commits. | |
2431 | ||
bc21bfa5 RS |
2432 | 2009-07-02 Richard Sandiford <r.sandiford@uk.ibm.com> |
2433 | ||
2434 | * testsuite/lib/libgomp.exp (libgomp_init): Use the ALWAYS_CFLAGS | |
2435 | options when choosing a multilib. | |
2436 | ||
b30bfd40 RS |
2437 | 2009-06-30 Richard Sandiford <r.sandiford@uk.ibm.com> |
2438 | ||
2439 | * testsuite/lib/libgomp.exp (libgomp_init): Don't add "." to | |
2440 | ld_library_path. Use add_path. Add just find_libgcc_s to | |
2441 | ld_library_path, not every libgcc multilib directory. | |
2442 | * testsuite/libgomp.c/c.exp (ld_library_path): Don't call | |
2443 | gcc-set-multilib-library-path; rely on $always_ld_library_path instead. | |
2444 | * testsuite/libgomp.c++/c++.exp (ld_library_path): Likewise. | |
2445 | Use add_path. | |
2446 | * testsuite/libgomp.fortran/fortran.exp (ld_library_path): Likewise. | |
2447 | ||
479c15c2 NF |
2448 | 2009-06-09 Nathan Froyd <froydnj@codesourcery.com> |
2449 | ||
2450 | * Makefile.am (LTLDFLAGS): Define. | |
2451 | (LINK): Define. | |
2452 | * Makefile.in: Regenerate. | |
2453 | ||
667e6f89 JB |
2454 | 2009-05-27 Janne Blomqvist <jb@gcc.gnu.org> |
2455 | ||
2456 | PR fortran/39718 | |
2457 | * testsuite/libgomp.fortran/fortran.exp: Don't link with | |
2458 | libgfortranbegin, check existence of libgfortran.a instead of | |
2459 | libgfortranbegin.a. | |
2460 | ||
6dea8e99 JJ |
2461 | 2009-05-20 Jakub Jelinek <jakub@redhat.com> |
2462 | ||
2463 | PR libgomp/40174 | |
2464 | * team.c (gomp_thread_start): Destroy thr->release semaphore. | |
2465 | (gomp_free_pool_helper): Likewise. | |
2466 | ||
34d01e1d VL |
2467 | 2009-04-20 Vasilis Liaskovitis <vliaskov@gmail.com> |
2468 | Jakub Jelinek <jakub@redhat.com> | |
2469 | ||
2470 | PR fortran/35423 | |
2471 | * testsuite/libgomp.fortran/workshare2.f90: New test. | |
2472 | ||
748086b7 JJ |
2473 | 2009-04-09 Nick Clifton <nickc@redhat.com> |
2474 | ||
2475 | * iter.c: Change copyright header to refer to version 3 of the | |
2476 | GNU General Public License with version 3.1 of the GCC Runtime | |
2477 | Library Exception and to point readers at the COPYING3 and | |
2478 | COPYING3.RUNTIME files and the FSF's license web page. | |
2479 | * alloc.c: Likewise. | |
2480 | * barrier.c: Likewise. | |
2481 | * config/bsd/proc.c: Likewise. | |
2482 | * config/linux/affinity.c: Likewise. | |
2483 | * config/linux/alpha/futex.h: Likewise. | |
2484 | * config/linux/bar.c: Likewise. | |
2485 | * config/linux/bar.h: Likewise. | |
2486 | * config/linux/ia64/futex.h: Likewise. | |
2487 | * config/linux/ia64/mutex.h: Likewise. | |
2488 | * config/linux/lock.c: Likewise. | |
2489 | * config/linux/mips/futex.h: Likewise. | |
2490 | * config/linux/mutex.c: Likewise. | |
2491 | * config/linux/mutex.h: Likewise. | |
2492 | * config/linux/powerpc/futex.h: Likewise. | |
2493 | * config/linux/proc.c: Likewise. | |
2494 | * config/linux/ptrlock.c: Likewise. | |
2495 | * config/linux/ptrlock.h: Likewise. | |
2496 | * config/linux/s390/futex.h: Likewise. | |
2497 | * config/linux/sem.c: Likewise. | |
2498 | * config/linux/sem.h: Likewise. | |
2499 | * config/linux/sparc/futex.h: Likewise. | |
2500 | * config/linux/wait.h: Likewise. | |
2501 | * config/linux/x86/futex.h: Likewise. | |
2502 | * config/mingw32/proc.c: Likewise. | |
2503 | * config/mingw32/time.c: Likewise. | |
2504 | * config/posix/affinity.c: Likewise. | |
2505 | * config/posix/bar.c: Likewise. | |
2506 | * config/posix/bar.h: Likewise. | |
2507 | * config/posix/lock.c: Likewise. | |
2508 | * config/posix/mutex.h: Likewise. | |
2509 | * config/posix/proc.c: Likewise. | |
2510 | * config/posix/ptrlock.h: Likewise. | |
2511 | * config/posix/sem.c: Likewise. | |
2512 | * config/posix/sem.h: Likewise. | |
2513 | * config/posix/time.c: Likewise. | |
2514 | * config/posix95/lock.c: Likewise. | |
2515 | * critical.c: Likewise. | |
2516 | * env.c: Likewise. | |
2517 | * error.c: Likewise. | |
2518 | * fortran.c: Likewise. | |
2519 | * iter_ull.c: Likewise. | |
2520 | * libgomp.h: Likewise. | |
2521 | * libgomp_f.h.in: Likewise. | |
2522 | * libgomp_g.h: Likewise. | |
2523 | * loop.c: Likewise. | |
2524 | * loop_ull.c: Likewise. | |
2525 | * omp.h.in: Likewise. | |
2526 | * omp_lib.f90.in: Likewise. | |
2527 | * omp_lib.h.in: Likewise. | |
2528 | * ordered.c: Likewise. | |
2529 | * parallel.c: Likewise. | |
2530 | * sections.c: Likewise. | |
2531 | * single.c: Likewise. | |
2532 | * task.c: Likewise. | |
2533 | * team.c: Likewise. | |
2534 | * work.c: Likewise. | |
2535 | ||
2536 | 2009-04-09 Jakub Jelinek <jakub@redhat.com> | |
2537 | ||
2538 | * testsuite/config/default.exp: Change copyright header to refer to | |
2539 | version 3 of the GNU General Public License and to point readers | |
2540 | at the COPYING3 file and the FSF's license web page. | |
2541 | ||
4f0ae266 JJ |
2542 | 2009-04-08 Jakub Jelinek <jakub@redhat.com> |
2543 | ||
2544 | PR middle-end/39573 | |
2545 | * libgomp.c++/pr39573.C: New test. | |
2546 | ||
03742a9b JJ |
2547 | 2009-04-01 Jakub Jelinek <jakub@redhat.com> |
2548 | ||
2549 | PR other/39591 | |
2550 | * testsuite/libgomp.c/pr39591-1.c: New test. | |
2551 | * testsuite/libgomp.c/pr39591-2.c: New test. | |
2552 | * testsuite/libgomp.c/pr39591-3.c: New test. | |
2553 | ||
e50ea10b UB |
2554 | 2009-03-25 Uros Bizjak <ubizjak@gmail.com> |
2555 | ||
2556 | * testsuite/libgomp.c/atomic-5.c: Cleanup cpuid usage. | |
2557 | * testsuite/libgomp.c/atomic-6.c: Ditto. | |
2558 | ||
c5cdb03f JJ |
2559 | 2009-03-23 Jakub Jelinek <jakub@redhat.com> |
2560 | ||
2561 | PR c/39495 | |
2562 | * testsuite/libgomp.c/loop-12.c: New test. | |
2563 | * testsuite/libgomp.c/loop-11.c: New test. | |
2564 | * testsuite/libgomp.c++/loop-11.C: New test. | |
2565 | * testsuite/libgomp.c++/loop-12.C: New test. | |
2566 | * testsuite/libgomp.c++/for-8.C: New test. | |
2567 | ||
7a9d3fe8 RW |
2568 | 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
2569 | ||
2570 | * configure: Regenerate. | |
2571 | ||
3ad6b266 JJ |
2572 | 2009-02-11 Jakub Jelinek <jakub@redhat.com> |
2573 | ||
2574 | PR middle-end/39154 | |
2575 | * testsuite/libgomp.c/pr39154.c: New test. | |
2576 | ||
b39dea08 ILT |
2577 | 2009-01-30 Ian Lance Taylor <iant@google.com> |
2578 | ||
2579 | * acinclude.m4 (LIBCOMP_CHECK_LINKER_FEATURES): Set | |
2580 | libgomp_ld_is_gold. Get gold version number. | |
2581 | (LIBGOMP_ENABLE_SYMVERS): Gold always support symbol versioning. | |
2582 | * configure: Rebuild. | |
2583 | ||
72c66596 IS |
2584 | 2009-01-19 Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk> |
2585 | ||
e50ea10b | 2586 | * testsuite/lib/libgomp.exp: Add -B option for targets that |
72c66596 IS |
2587 | use libgfortran.a%s in their specs. |
2588 | ||
876080ff JJ |
2589 | 2009-01-07 Jakub Jelinek <jakub@redhat.com> |
2590 | ||
2591 | PR libgomp/38086 | |
2592 | * acinclude.m4 (HAVE_AS_SYMVER_DIRECTIVE): New check. | |
2593 | * libgomp.h (LIBGOMP_GNU_SYMBOL_VERSIONING): Undefine if | |
2594 | HAVE_AS_SYMVER_DIRECTIVE is not defined. | |
2595 | * configure: Regenerated. | |
2596 | * config.h.in: Likewise. | |
2597 | ||
e4ebaef3 JJ |
2598 | 2008-12-28 Jakub Jelinek <jakub@redhat.com> |
2599 | ||
2600 | PR c++/38650 | |
2601 | * testsuite/libgomp.c/pr38650.c: New test. | |
2602 | * testsuite/libgomp.c++/pr38650.C: New test. | |
2603 | ||
382017a6 JJ |
2604 | 2008-12-27 Jakub Jelinek <jakub@redhat.com> |
2605 | ||
2606 | * testsuite/libgomp.c/collapse-1.c (main): Add private(k) clause. | |
2607 | ||
79644b27 UB |
2608 | 2008-12-26 Uros Bizjak <ubizjak@gmail.com> |
2609 | ||
2610 | * testsuite/libgomp.c/atomic-6.c: Add -mieee for alpha*-*-* targets. | |
2611 | ||
baafc534 RW |
2612 | 2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
2613 | ||
2614 | * configure: Regenerate. | |
2615 | ||
d9c194cb JJ |
2616 | 2008-12-08 Jakub Jelinek <jakub@redhat.com> |
2617 | ||
2618 | PR middle-end/36802 | |
2619 | * testsuite/libgomp.c/pr36802-1.c: New test. | |
2620 | * testsuite/libgomp.c/pr36802-2.c: New test. | |
2621 | * testsuite/libgomp.c/pr36802-3.c: New test. | |
2622 | ||
86a182bf JJ |
2623 | 2008-12-01 Janis Johnson <janis187@us.ibm.com> |
2624 | ||
2625 | PR libgomp/38270 | |
2626 | * config/linux/powerpc/mutex.h: New. | |
2627 | ||
956adfaf JJ |
2628 | 2008-12-01 Jakub Jelinek <jakub@redhat.com> |
2629 | ||
a2d4cdc9 JJ |
2630 | PR c++/38257 |
2631 | * testsuite/libgomp.c++/for-7.C: New test. | |
2632 | ||
956adfaf JJ |
2633 | PR c++/38348 |
2634 | * testsuite/libgomp.c++/for-6.C: New test. | |
2635 | ||
d4038ca2 JJ |
2636 | 2008-11-26 Janis Johnson <janis187@us.ibm.com> |
2637 | ||
2638 | PR testsuite/28870 | |
2639 | * testsuite/lib/libgomp.exp: Include new timeout library files. | |
2640 | (libgomp_target_compile): Set timeout value from new proc. | |
2641 | ||
8b159eea SE |
2642 | 2008-11-13 Steve Ellcey <sje@cup.hp.com> |
2643 | ||
2644 | PR libgomp/37938 | |
2645 | * config/linux/ia64/mutex.h: New. | |
2646 | ||
5c6ed53a TB |
2647 | 2008-11-04 Tobias Burnus <burnus@net-b.de> |
2648 | ||
2649 | PR libgomp/37935 | |
2650 | * libgomp.texi (Runtime library routines, environment variables): | |
2651 | Update for OpenMP version 3.0. | |
2652 | ||
6b4a97ed PG |
2653 | 2008-09-26 Peter O'Gorman <pogma@thewrittenword.com> |
2654 | Steve Ellcey <sje@cup.hp.com> | |
2655 | ||
2656 | * configure: Regenerate for new libtool. | |
2657 | * Makefile.in: Ditto. | |
2658 | * testsuite/Makefile.in: Ditto. | |
2659 | ||
e2b34106 JJ |
2660 | 2008-09-19 Jakub Jelinek <jakub@redhat.com> |
2661 | Andreas Tobler <a.tobler@schweiz.org> | |
2662 | ||
2663 | * config/bsd/proc.c: New file. | |
8c3b3600 | 2664 | * configure.tgt (*-*-darwin*): Use config_path "bsd posix". |
e2b34106 JJ |
2665 | * configure.ac: Check for header <sys/sysctl.h> |
2666 | * configure: Regenerate. | |
2667 | * config.h.in: Likewise. | |
2668 | ||
3606b8bf JJ |
2669 | 2008-09-05 Janis Johnson <janis187@us.ibm.com> |
2670 | ||
2671 | * testsuite/ligbomp.c/c.exp: Unset lang_test_file only if it exists. | |
2672 | ||
6528b88d AL |
2673 | 2008-08-31 Aaron W. LaFramboise <aaronavay62@aaronwl.com> |
2674 | ||
2675 | * Makefile.am (libgomp_la_LDFLAGS): Add -no-undefined. | |
2676 | * Makefile.in: Regenerated. | |
2677 | * testsuite/Makefile.in: Regenerated. | |
2678 | ||
d9b14b12 | 2679 | 2008-08-21 Nathan Froyd <froydnj@codesourcery.com> |
8c9570df | 2680 | |
a16b68bb | 2681 | * testsuite/lib/libgomp.exp (libgomp_init): Only set things that |
8c9570df NF |
2682 | depend on blddir if blddir exists. |
2683 | (libgomp_target_compile): Likewise. | |
2684 | * testsuite/libgomp.c++/c++.exp: Likewise. | |
2685 | * testsuite/libgomp.fortran/fortran.exp: Likewise. | |
2686 | ||
70b1e376 RW |
2687 | 2008-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
2688 | ||
2689 | * libgomp.texi: Update to GFDL 1.2. Update copyright years. | |
2690 | Do not list GPL as Invariant Section. | |
2691 | ||
318e8c3f IG |
2692 | 2008-07-28 Ilie Garbacea <ilie@mips.com> |
2693 | Chao-ying Fu <fu@mips.com> | |
2694 | ||
2695 | * configure.tgt: Enable futex for MIPS. | |
2696 | * config/linux/mips/futex.h: New file. | |
2697 | ||
4db72361 JJ |
2698 | 2008-07-16 Jakub Jelinek <jakub@redhat.com> |
2699 | ||
2700 | * team.c (gomp_team_end): Free team immediately if it has | |
2701 | just one thread. | |
2702 | ||
87bd23b8 DE |
2703 | 2008-07-08 David Edelsohn <edelsohn@gnu.org> |
2704 | ||
2705 | * testsuite/libgomp.c++/c++.exp: Append multilib library path. | |
2706 | * testsuite/libgomp.fortran/fortran.exp: Same. | |
2707 | * testsuite/libgomp.c/c.exp: Same. | |
2708 | * testsuite/lib/libgomp.exp: Append AIX libgcc pthread multilib | |
2709 | directory to library path first. | |
2710 | ||
323ff903 KW |
2711 | 2008-06-29 Krister Walfridsson <krister.walfridsson@gmail.com> |
2712 | ||
2713 | * env.c (parse_stacksize): Add cast to avoid warning. | |
2714 | (parse_spincount): Likewise. | |
2715 | ||
b357f682 JJ |
2716 | 2008-06-27 Jakub Jelinek <jakub@redhat.com> |
2717 | ||
ca2b1311 JJ |
2718 | * testsuite/libgomp.c/loop-10.c: New test. |
2719 | * libgomp.c/loop-3.c (main): Add lastprivate clause. | |
2720 | * libgomp.c++/loop-6.C (main): Likewise. | |
2721 | ||
b357f682 JJ |
2722 | PR debug/36617 |
2723 | * testsuite/libgomp.c/debug-1.c: New test. | |
2724 | ||
09a46078 JJ |
2725 | 2008-06-19 Jakub Jelinek <jakub@redhat.com> |
2726 | ||
2727 | * testsuite/libgomp.c/nqueens-1.c: New test. | |
2728 | ||
2368a460 JJ |
2729 | PR c++/36523 |
2730 | * testsuite/libgomp.c++/task-7.C: New function. | |
2731 | ||
18c04407 RW |
2732 | 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
2733 | ||
2734 | * configure: Regenerate. | |
2735 | ||
9c4e59e0 JDA |
2736 | 2008-06-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
2737 | ||
2738 | * env.c (initialize_env): Always initialize gomp_remaining_threads_lock | |
2739 | mutex when HAVE_SYNC_BUILTINS isn't defined. | |
2740 | ||
6ccde948 RW |
2741 | 2008-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
2742 | ||
2743 | * libgomp.texi (omp_test_lock): Fix typo. | |
2744 | ||
b896f9fd TB |
2745 | 2008-06-12 Tobias Burnus <burnus@net-b.de> |
2746 | ||
2747 | * omp_lib.f90.in: Add "implicit none". | |
2748 | ||
c34938a8 JJ |
2749 | 2008-06-12 Jakub Jelinek <jakub@redhat.com> |
2750 | ||
2751 | PR middle-end/36506 | |
2752 | * testsuite/libgomp.c/reduction-5.c: New test. | |
2753 | ||
976e44e3 JJ |
2754 | 2008-06-11 Jakub Jelinek <jakub@redhat.com> |
2755 | ||
5f836cbb JJ |
2756 | * libgomp.h (struct gomp_task): Add in_tied_task field. |
2757 | * task.c (gomp_init_task): Initialize it. | |
2758 | (GOMP_task): Likewise. Call gomp_team_barrier_set_task_pending | |
2759 | unconditionally. Don't call gomp_team_barrier_wake if | |
2760 | current task is implicit or if(0) from implicit and number of | |
2761 | running tasks is equal to nthreads - 1. | |
2762 | ||
01501fc8 JJ |
2763 | PR libgomp/36471 |
2764 | * omp_lib.f90.in (omp_get_ancestor_thread_num_8, | |
2765 | omp_get_team_size_8): Fix pastos. | |
2766 | ||
976e44e3 JJ |
2767 | PR libgomp/36469 |
2768 | * configure.ac: Add AC_CHECK_FUNCS (strtoull). | |
2769 | * configure: Regenerated. | |
2770 | * config.h.in: Regenerated. | |
2771 | * env.c (strtoull): Define to strtoul if HAVE_STRTOULL is not | |
2772 | defined. | |
2773 | ||
e919209b AT |
2774 | 2008-06-06 Andreas Tobler <a.tobler@schweiz.org> |
2775 | ||
2776 | PR bootstrap/36452 | |
2777 | * loop_ull.c (GOMP_loop_ull_static_start): Adjust API. | |
2778 | (GOMP_loop_ull_dynamic_start): Likewise. | |
2779 | (GOMP_loop_ull_guided_start): Likewise. | |
2780 | (GOMP_loop_ull_ordered_static_start): Likewise. | |
2781 | (GOMP_loop_ull_ordered_dynamic_start): Likewise. | |
2782 | (GOMP_loop_ull_ordered_guided_start): Likewise. | |
2783 | ||
a68ab351 JJ |
2784 | 2008-06-06 Jakub Jelinek <jakub@redhat.com> |
2785 | Richard Henderson <rth@redhat.com> | |
2786 | Ulrich Drepper <drepper@redhat.com> | |
2787 | Jakob Blomer <jakob.blomer@ira.uka.de> | |
2788 | ||
2789 | * configure.ac (LIBGOMP_GNU_SYMBOL_VERSIONING): New AC_DEFINE. | |
2790 | Substitute also OMP_*LOCK_25*. | |
2791 | * configure: Regenerated. | |
2792 | * config.h.in: Regenerated. | |
2793 | * Makefile.am (libgomp_la_SOURCES): Add loop_ull.c, iter_ull.c, | |
2794 | ptrlock.c and task.c. | |
2795 | * Makefile.in: Regenerated. | |
2796 | * testsuite/Makefile.in: Regenerated. | |
2797 | * task.c: New file. | |
2798 | * loop_ull.c: New file. | |
2799 | * iter_ull.c: New file. | |
2800 | * libgomp.h: Include ptrlock.h. | |
2801 | (enum gomp_task_kind): New type. | |
2802 | (struct gomp_team): Add task_lock, task_queue, task_count, | |
2803 | task_running_count, single_count fields. Add | |
2804 | work_share_list_free_lock ifndef HAVE_SYNC_BUILTINS. | |
2805 | Remove work_share_lock, generation_mask, | |
2806 | oldest_live_gen, num_live_gen and init_work_shares fields, add | |
2807 | work work_share_list_alloc, work_share_list_free and work_share_chunk | |
2808 | fields. Change work_shares from pointer to pointers into an array. | |
2809 | Change ordered_release field into gomp_sem_t ** from flexible array | |
2810 | member. Add implicit_task and initial_work_shares fields. | |
2811 | Move close to the end of the struct. | |
2812 | (struct gomp_team_state): Add single_count, last_work_share, | |
2813 | active_level and level fields, remove work_share_generation. | |
2814 | (gomp_barrier_handle_tasks): New prototype. | |
2815 | (gomp_finish_task): New inline function. | |
2816 | (struct gomp_work_share): Move chunk_size, end, incr into | |
2817 | transparent union/struct, add chunk_size_ull, end_ll, incr_ll and | |
2818 | next_ll fields. Reshuffle fields. Add next_alloc, | |
2819 | next_ws, next_free and inline_ordered_team_ids fields, change | |
2820 | ordered_team_ids into pointer from flexible array member. | |
2821 | Add mode field. Put lock and next into a different cache line | |
2822 | from most of the write-once fields. | |
2823 | (gomp_iter_ull_static_next, gomp_iter_ull_dynamic_next_locked, | |
2824 | gomp_iter_ull_guided_next_locked, gomp_iter_ull_dynamic_next, | |
2825 | gomp_iter_ull_guided_next): New prototypes. | |
2826 | (gomp_new_icv): New prototype. | |
2827 | (struct gomp_thread): Add thread_pool and task fields. | |
2828 | (struct gomp_thread_pool): New type. | |
2829 | (gomp_new_team): New prototype. | |
2830 | (gomp_team_start): Change type of last argument. | |
2831 | (gomp_new_work_share): Removed. | |
2832 | (gomp_init_work_share, gomp_fini_work_share): New prototypes. | |
2833 | (gomp_work_share_init_done): New static inline. | |
2834 | (gomp_throttled_spin_count_var, gomp_available_cpus, | |
2835 | gomp_managed_threads): New extern decls. | |
2836 | (gomp_init_task): New prototype. | |
2837 | (gomp_spin_count_var): New extern var decl. | |
2838 | (LIBGOMP_GNU_SYMBOL_VERSIONING): Undef if no visibility | |
2839 | or no alias support, or if not PIC. | |
2840 | (gomp_init_lock_30, gomp_destroy_lock_30, gomp_set_lock_30, | |
2841 | gomp_unset_lock_30, gomp_test_lock_30, gomp_init_nest_lock_30, | |
2842 | gomp_destroy_nest_lock_30, gomp_set_nest_lock_30, | |
2843 | gomp_unset_nest_lock_30, gomp_test_nest_lock_30, gomp_init_lock_25, | |
2844 | gomp_destroy_lock_25, gomp_set_lock_25, gomp_unset_lock_25, | |
2845 | gomp_test_lock_25, gomp_init_nest_lock_25, gomp_destroy_nest_lock_25, | |
2846 | gomp_set_nest_lock_25, gomp_unset_nest_lock_25, | |
2847 | gomp_test_nest_lock_25): New prototypes. | |
2848 | (omp_lock_symver, strong_alias): Define. | |
2849 | (gomp_remaining_threads_count, gomp_remaining_threads_lock): New | |
2850 | decls. | |
2851 | (gomp_end_task): New. | |
2852 | (struct gomp_task_icv, gomp_global_icv): New. | |
2853 | (gomp_thread_limit_var, gomp_max_active_levels_var): New. | |
2854 | (struct gomp_task): New. | |
2855 | (gomp_nthreads_var, gomp_dyn_var, gomp_nest_var, | |
2856 | gomp_run_sched_var, gomp_run_sched_chunk): Remove. | |
2857 | (gomp_icv): New. | |
2858 | (gomp_schedule_type): Reorder enum to match | |
2859 | omp_sched_t. | |
2860 | * team.c (struct gomp_thread_start_data): Add thread_pool and task | |
2861 | fields. | |
2862 | (gomp_thread_start): Add gomp_team_barrier_wait call. | |
2863 | For non-nested case remove clearing of docked thread thr fields. | |
2864 | Use pool fields instead of global gomp_* variables. Use | |
2865 | gomp_barrier_wait_last when needed. Initialize ts.active_level. | |
2866 | Create tasks for each member thread. | |
2867 | (free_team): Only destroy team barrier, task_lock here and free it. | |
2868 | (gomp_free_thread): Free last_team if non-NULL. | |
2869 | (gomp_team_end): Call gomp_team_barrier_wait instead of | |
2870 | gomp_barrier_wait. For nested case call one extra | |
2871 | gomp_barrier_wait. Move here some destruction from free_team. | |
2872 | Call free_team on pool->last_team if any, rather than freeing | |
2873 | current team. Destroy work_share_list_free_lock ifndef | |
2874 | HAVE_SYNC_BUILTINS. | |
2875 | (gomp_new_icv): New function. | |
2876 | (gomp_threads, gomp_threads_size, gomp_threads_used, | |
2877 | gomp_threads_dock): Removed. | |
2878 | (gomp_thread_destructor): New variable. | |
2879 | (gomp_new_thread_pool, gomp_free_pool_helper, gomp_free_thread): New | |
2880 | functions. | |
2881 | (gomp_team_start): Create new pool if current thread doesn't have | |
3e348fcc | 2882 | one. Use pool fields instead of global gomp_* variables. |
a68ab351 JJ |
2883 | Initialize thread_pool field for new threads. Clear single_count. |
2884 | Change last argument from ws to team, don't create | |
2885 | new team, set ts.work_share to &team->work_shares[0] and clear | |
2886 | ts.last_work_share. Don't clear ts.work_share_generation. | |
2887 | If number of threads changed, adjust atomically gomp_managed_threads. | |
2888 | Use gomp_init_task instead of gomp_new_task, | |
2889 | set thr->task to the corresponding implicit_task array entry. | |
2890 | Create tasks for each member thread. Initialize ts.level. | |
2891 | (initialize_team): Call pthread_key_create on | |
2892 | gomp_thread_destructor. | |
2893 | (team_destructor): New function. | |
2894 | (new_team): Removed. | |
2895 | (gomp_new_team): New function. | |
2896 | (free_team): Free gomp_work_share blocks chained through next_alloc, | |
2897 | instead of freeing work_shares and destroying work_share_lock. | |
2898 | (gomp_team_end): Call gomp_fini_work_share. If number of threads | |
2899 | changed, adjust atomically gomp_managed_threads. Use gomp_end_task. | |
2900 | * barrier.c (GOMP_barrier): Call gomp_team_barrier_wait instead | |
2901 | of gomp_barrier_wait. | |
2902 | * single.c (GOMP_single_copy_start): Call gomp_team_barrier_wait | |
2903 | instead of gomp_barrier_wait. Call gomp_work_share_init_done | |
2904 | if gomp_work_share_start returned true. Don't unlock ws->lock. | |
2905 | (GOMP_single_copy_end): Call gomp_team_barrier_wait instead | |
2906 | of gomp_barrier_wait. | |
2907 | (GOMP_single_start): Rewritten if HAVE_SYNC_BUILTINS. Call | |
2908 | gomp_work_share_init_done if gomp_work_share_start returned true. | |
2909 | Don't unlock ws->lock. | |
2910 | * work.c: Include stddef.h. | |
2911 | (free_work_share): Use work_share_list_free_lock instead | |
2912 | of atomic chaining ifndef HAVE_SYNC_BUILTINS. Add team argument. | |
2913 | Call gomp_fini_work_share and then either free ws if orphaned, or | |
2914 | put it into work_share_list_free list of the current team. | |
2915 | (alloc_work_share, gomp_init_work_share, gomp_fini_work_share): New | |
2916 | functions. | |
2917 | (gomp_work_share_start, gomp_work_share_end, | |
2918 | gomp_work_share_end_nowait): Rewritten. | |
2919 | * omp_lib.f90.in Change some tabs to spaces to prevent warnings. | |
2920 | (openmp_version): Set to 200805. | |
2921 | (omp_sched_kind, omp_sched_static, omp_sched_dynamic, | |
2922 | omp_sched_guided, omp_sched_auto): New parameters. | |
2923 | (omp_set_schedule, omp_get_schedule, omp_get_thread_limit, | |
2924 | omp_set_max_active_levels, omp_get_max_active_levels, | |
2925 | omp_get_level, omp_get_ancestor_thread_num, omp_get_team_size, | |
2926 | omp_get_active_level): New interfaces. | |
2927 | * omp_lib.h.in (openmp_version): Set to 200805. | |
2928 | (omp_sched_kind, omp_sched_static, omp_sched_dynamic, | |
2929 | omp_sched_guided, omp_sched_auto): New parameters. | |
2930 | (omp_set_schedule, omp_get_schedule, omp_get_thread_limit, | |
2931 | omp_set_max_active_levels, omp_get_max_active_levels, | |
2932 | omp_get_level, omp_get_ancestor_thread_num, omp_get_team_size, | |
2933 | omp_get_active_level): New externals. | |
2934 | * loop.c: Include limits.h. | |
2935 | (GOMP_loop_runtime_next, GOMP_loop_ordered_runtime_next): Handle | |
2936 | GFS_AUTO. | |
2937 | (GOMP_loop_runtime_start, GOMP_loop_ordered_runtime_start): | |
2938 | Likewise. Use gomp_icv. | |
2939 | (gomp_loop_static_start, gomp_loop_dynamic_start): Clear | |
2940 | ts.static_trip here. | |
2941 | (gomp_loop_static_start, gomp_loop_ordered_static_start): Call | |
2942 | gomp_work_share_init_done after gomp_loop_init. Don't unlock ws->lock. | |
2943 | (gomp_loop_dynamic_start, gomp_loop_guided_start): Call | |
2944 | gomp_work_share_init_done after gomp_loop_init. If HAVE_SYNC_BUILTINS, | |
2945 | don't unlock ws->lock, otherwise lock it. | |
2946 | (gomp_loop_ordered_dynamic_start, gomp_loop_ordered_guided_start): Call | |
2947 | gomp_work_share_init_done after gomp_loop_init. Lock ws->lock. | |
2948 | (gomp_parallel_loop_start): Call gomp_new_team instead of | |
2949 | gomp_new_work_share. Call gomp_loop_init on &team->work_shares[0]. | |
2950 | Adjust gomp_team_start caller. Pass 0 as second argument to | |
2951 | gomp_resolve_num_threads. | |
2952 | (gomp_loop_init): For GFS_DYNAMIC, multiply ws->chunk_size by incr. | |
2953 | If adding ws->chunk_size nthreads + 1 times after end won't | |
2954 | overflow, set ws->mode to 1. | |
2955 | * libgomp_g.h (GOMP_loop_ull_static_start, GOMP_loop_ull_dynamic_start, | |
2956 | GOMP_loop_ull_guided_start, GOMP_loop_ull_runtime_start, | |
2957 | GOMP_loop_ull_ordered_static_start, | |
2958 | GOMP_loop_ull_ordered_dynamic_start, | |
2959 | GOMP_loop_ull_ordered_guided_start, | |
2960 | GOMP_loop_ull_ordered_runtime_start, GOMP_loop_ull_static_next, | |
2961 | GOMP_loop_ull_dynamic_next, GOMP_loop_ull_guided_next, | |
2962 | GOMP_loop_ull_runtime_next, GOMP_loop_ull_ordered_static_next, | |
2963 | GOMP_loop_ull_ordered_dynamic_next, GOMP_loop_ull_ordered_guided_next, | |
2964 | GOMP_loop_ull_ordered_runtime_next, GOMP_task, GOMP_taskwait): New | |
2965 | prototypes. | |
2966 | * libgomp.map: Export lock routines also @@OMP_2.0. | |
2967 | (GOMP_loop_ordered_dynamic_first, | |
2968 | GOMP_loop_ordered_guided_first, GOMP_loop_ordered_runtime_first, | |
2969 | GOMP_loop_ordered_static_first): Remove. | |
2970 | (GOMP_loop_ull_dynamic_next, GOMP_loop_ull_dynamic_start, | |
2971 | GOMP_loop_ull_guided_next, GOMP_loop_ull_guided_start, | |
2972 | GOMP_loop_ull_ordered_dynamic_next, | |
2973 | GOMP_loop_ull_ordered_dynamic_start, | |
2974 | GOMP_loop_ull_ordered_guided_next, | |
2975 | GOMP_loop_ull_ordered_guided_start, | |
2976 | GOMP_loop_ull_ordered_runtime_next, | |
2977 | GOMP_loop_ull_ordered_runtime_start, | |
2978 | GOMP_loop_ull_ordered_static_next, | |
2979 | GOMP_loop_ull_ordered_static_start, | |
2980 | GOMP_loop_ull_runtime_next, GOMP_loop_ull_runtime_start, | |
2981 | GOMP_loop_ull_static_next, GOMP_loop_ull_static_start, | |
2982 | GOMP_task, GOMP_taskwait): Export @@GOMP_2.0. | |
2983 | (omp_set_schedule, omp_get_schedule, | |
2984 | omp_get_thread_limit, omp_set_max_active_levels, | |
2985 | omp_get_max_active_levels, omp_get_level, | |
2986 | omp_get_ancestor_thread_num, omp_get_team_size, omp_get_active_level, | |
2987 | omp_set_schedule_, omp_set_schedule_8_, | |
2988 | omp_get_schedule_, omp_get_schedule_8_, omp_get_thread_limit_, | |
2989 | omp_set_max_active_levels_, omp_set_max_active_levels_8_, | |
2990 | omp_get_max_active_levels_, omp_get_level_, | |
2991 | omp_get_ancestor_thread_num_, omp_get_ancestor_thread_num_8_, | |
2992 | omp_get_team_size_, omp_get_team_size_8_, omp_get_active_level_): | |
2993 | New exports @@OMP_3.0. | |
2994 | * omp.h.in (omp_sched_t): New type. | |
2995 | (omp_set_schedule, omp_get_schedule, omp_get_thread_limit, | |
2996 | omp_set_max_active_levels, omp_get_max_active_levels, | |
2997 | omp_get_level, omp_get_ancestor_thread_num, omp_get_team_size, | |
2998 | omp_get_active_level): New prototypes. | |
2999 | * env.c (gomp_spin_count_var, gomp_throttled_spin_count_var, | |
3000 | gomp_available_cpus, gomp_managed_threads, gomp_max_active_levels_var, | |
3001 | gomp_thread_limit_var, gomp_remaining_threads_count, | |
3002 | gomp_remaining_threads_lock): New variables. | |
3003 | (parse_spincount): New function. | |
3004 | (initialize_env): Call gomp_init_num_threads unconditionally. | |
3005 | Initialize gomp_available_cpus. Call parse_spincount, | |
3006 | initialize gomp_{,throttled_}spin_count_var | |
3007 | depending on presence and value of OMP_WAIT_POLICY and | |
3008 | GOMP_SPINCOUNT env vars. Handle GOMP_BLOCKTIME env var. | |
3009 | Handle OMP_WAIT_POLICY, OMP_MAX_ACTIVE_LEVELS, | |
3010 | OMP_THREAD_LIMIT, OMP_STACKSIZE env vars. Handle unit specification | |
3011 | for GOMP_STACKSIZE. Initialize gomp_remaining_threads_count and | |
3012 | gomp_remaining_threads_lock if needed. Use gomp_global_icv. | |
3013 | (gomp_nthreads_var, gomp_dyn_var, gomp_nest_var, | |
3014 | gomp_run_sched_var, gomp_run_sched_chunk): Remove. | |
3015 | (gomp_global_icv): New. | |
3016 | (parse_schedule): Use it. Parse "auto". | |
3017 | (omp_set_num_threads): Use gomp_icv. | |
3018 | (omp_set_dynamic, omp_get_dynamic, omp_set_nested, omp_get_nested): | |
3019 | Likewise. | |
3020 | (omp_get_max_threads): Move from parallel.c. | |
3021 | (omp_set_schedule, omp_get_schedule, omp_get_thread_limit, | |
3022 | omp_set_max_active_levels, omp_get_max_active_levels): New functions, | |
3023 | add ialias. | |
3024 | (parse_stacksize, parse_wait_policy): New functions. | |
3025 | * fortran.c: Rewrite lock wrappers, if symbol versioning provide | |
3026 | both wrappers for compatibility and new locks. | |
3027 | (omp_set_schedule, omp_get_schedule, | |
3028 | omp_get_thread_limit, omp_set_max_active_levels, | |
3029 | omp_get_max_active_levels, omp_get_level, | |
3030 | omp_get_ancestor_thread_num, omp_get_team_size, | |
3031 | omp_get_active_level): New ialias_redirect. | |
3032 | (omp_set_schedule_, omp_set_schedule_8_, | |
3033 | omp_get_schedule_, omp_get_schedule_8_, omp_get_thread_limit_, | |
3034 | omp_set_max_active_levels_, omp_set_max_active_levels_8_, | |
3035 | omp_get_max_active_levels_, omp_get_level_, | |
3036 | omp_get_ancestor_thread_num_, omp_get_ancestor_thread_num_8_, | |
3037 | omp_get_team_size_, omp_get_team_size_8_, omp_get_active_level_): | |
3038 | New functions. | |
3039 | * parallel.c: Include limits.h. | |
3040 | (gomp_resolve_num_threads): Add count argument. Rewritten. | |
3041 | (GOMP_parallel_start): Call gomp_new_team and pass that as last | |
3042 | argument to gomp_team_start. Pass 0 as second argument to | |
3043 | gomp_resolve_num_threads. | |
3044 | (GOMP_parallel_end): Decrease gomp_remaining_threads_count | |
3045 | if gomp_thread_limit_var != ULONG_MAX. | |
3046 | (omp_in_parallel): Implement using ts.active_level. | |
3047 | (omp_get_max_threads): Move to env.c. | |
3048 | (omp_get_level, omp_get_ancestor_thread_num, | |
3049 | omp_get_team_size, omp_get_active_level): New functions, | |
3050 | add ialias. | |
3051 | * sections.c (GOMP_sections_start): Call gomp_work_share_init_done | |
3052 | after gomp_sections_init. If HAVE_SYNC_BUILTINS, call | |
3053 | gomp_iter_dynamic_next instead of the _locked variant and don't take | |
3054 | lock around it, otherwise acquire it before calling | |
3055 | gomp_iter_dynamic_next_locked. | |
3056 | (GOMP_sections_next): If HAVE_SYNC_BUILTINS, call | |
3057 | gomp_iter_dynamic_next instead of the _locked variant and don't take | |
3058 | lock around it. | |
3059 | (GOMP_parallel_sections_start): Call gomp_new_team instead of | |
3060 | gomp_new_work_share. Call gomp_sections_init on &team->work_shares[0]. | |
3061 | Adjust gomp_team_start caller. Pass count as second argument to | |
3062 | gomp_resolve_num_threads, don't adjust num_threads after the call. | |
3063 | Use gomp_icv. | |
3064 | * iter.c (gomp_iter_dynamic_next_locked): Don't multiply | |
3065 | ws->chunk_size by incr. | |
3066 | (gomp_iter_dynamic_next): Likewise. If ws->mode, use more efficient | |
3067 | code. | |
3068 | * libgomp_f.h.in (omp_lock_25_arg_t, omp_nest_lock_25_arg_t): New | |
3069 | types. | |
3070 | (omp_lock_25_arg, omp_nest_lock_25_arg): New macros. | |
3071 | (omp_check_defines): Check even the compat defines. | |
3072 | * config/linux/ptrlock.c: New file. | |
3073 | * config/linux/ptrlock.h: New file. | |
3074 | * config/linux/wait.h: New file. | |
3075 | * config/posix/ptrlock.c: New file. | |
3076 | * config/posix/ptrlock.h: New file. | |
3077 | * config/linux/bar.h (gomp_team_barrier_wait, | |
3078 | gomp_team_barrier_wait_end, gomp_team_barrier_wake): New prototypes. | |
3079 | (gomp_team_barrier_set_task_pending, | |
3080 | gomp_team_barrier_clear_task_pending, | |
3081 | gomp_team_barrier_set_waiting_for_tasks, | |
3082 | gomp_team_barrier_waiting_for_tasks, | |
3083 | gomp_team_barrier_done): New inlines. | |
3084 | (gomp_barrier_t): Rewritten. | |
3085 | (gomp_barrier_state_t): New typedef. | |
3086 | (gomp_barrier_init, gomp_barrier_reinit, gomp_barrier_destroy, | |
3087 | gomp_barrier_wait_start): Rewritten. | |
3088 | (gomp_barrier_wait_end): Change second argument to | |
3089 | gomp_barrier_state_t. | |
3090 | (gomp_barrier_last_thread, gomp_barrier_wait_last): New static | |
3091 | inlines. | |
3092 | * config/linux/bar.c: Include wait.h instead of libgomp.h and | |
3093 | futex.h. | |
3094 | (gomp_barrier_wait_end): Rewritten. | |
3095 | (gomp_team_barrier_wait, gomp_team_barrier_wait_end, | |
3096 | gomp_team_barrier_wake, gomp_barrier_wait_last): New functions. | |
3097 | * config/posix/bar.h (gomp_barrier_t): Add generation field. | |
3098 | (gomp_barrier_state_t): New typedef. | |
3099 | (gomp_team_barrier_wait, | |
3100 | gomp_team_barrier_wait_end, gomp_team_barrier_wake): New prototypes. | |
3101 | (gomp_barrier_wait_start): Or all but low 2 bits from generation | |
3102 | into the return value. Return gomp_barrier_state_t. | |
3103 | (gomp_team_barrier_set_task_pending, | |
3104 | gomp_team_barrier_clear_task_pending, | |
3105 | gomp_team_barrier_set_waiting_for_tasks, | |
3106 | gomp_team_barrier_waiting_for_tasks, | |
3107 | gomp_team_barrier_done): New inlines. | |
3108 | (gomp_barrier_wait_end): Change second argument to | |
3109 | gomp_barrier_state_t. | |
3110 | (gomp_barrier_last_thread, gomp_barrier_wait_last): New static | |
3111 | inlines. | |
3112 | * config/posix/bar.c (gomp_barrier_init): Clear generation field. | |
3113 | (gomp_barrier_wait_end): Change second argument to | |
3e348fcc | 3114 | gomp_barrier_state_t. |
a68ab351 JJ |
3115 | (gomp_team_barrier_wait, gomp_team_barrier_wait_end, |
3116 | gomp_team_barrier_wake): New functions. | |
3117 | * config/linux/mutex.c: Include wait.h instead of libgomp.h and | |
3118 | futex.h. | |
3119 | (gomp_futex_wake, gomp_futex_wait): New variables. | |
3120 | (gomp_mutex_lock_slow): Call do_wait instead of futex_wait. | |
3121 | * config/linux/lock.c: Rewrite to make locks task owned, | |
3122 | for backwards compatibility provide the old entrypoints | |
3123 | if symbol versioning. Include wait.h instead of libgomp.h and | |
3124 | futex.h. | |
3125 | (gomp_set_nest_lock_25): Call do_wait instead of futex_wait. | |
3126 | * config/posix95/lock.c: Rewrite to make locks task owned, | |
3127 | for backwards compatibility provide the old entrypoints | |
3128 | if symbol versioning. | |
3129 | * config/posix/lock.c: Rewrite to make locks task owned, | |
3130 | for backwards compatibility provide the old entrypoints | |
3131 | if symbol versioning. | |
3132 | * config/linux/proc.c (gomp_init_num_threads): Use gomp_global_icv. | |
3133 | (get_num_procs, gomp_dynamic_max_threads): Use gomp_icv. | |
3134 | * config/posix/proc.c, config/mingw32/proc.c: Similarly. | |
3135 | * config/linux/powerpc/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove. | |
3136 | (sys_futex0): Return error code. | |
3137 | (futex_wake, futex_wait): If ENOSYS was returned, clear | |
3138 | FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry. | |
3139 | (cpu_relax, atomic_write_barrier): New static inlines. | |
3140 | * config/linux/alpha/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove. | |
3141 | (futex_wake, futex_wait): If ENOSYS was returned, clear | |
3142 | FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry. | |
3143 | (cpu_relax, atomic_write_barrier): New static inlines. | |
3144 | * config/linux/x86/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove. | |
3145 | (sys_futex0): Return error code. | |
3146 | (futex_wake, futex_wait): If ENOSYS was returned, clear | |
3147 | FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry. | |
3148 | (cpu_relax, atomic_write_barrier): New static inlines. | |
3149 | * config/linux/s390/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove. | |
3150 | (sys_futex0): Return error code. | |
3151 | (futex_wake, futex_wait): If ENOSYS was returned, clear | |
3152 | FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry. | |
3153 | (cpu_relax, atomic_write_barrier): New static inlines. | |
3154 | * config/linux/ia64/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove. | |
3155 | (sys_futex0): Return error code. | |
3156 | (futex_wake, futex_wait): If ENOSYS was returned, clear | |
3157 | FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry. | |
3158 | (cpu_relax, atomic_write_barrier): New static inlines. | |
3159 | * config/linux/sparc/futex.h (FUTEX_WAIT, FUTEX_WAKE): Remove. | |
3160 | (sys_futex0): Return error code. | |
3161 | (futex_wake, futex_wait): If ENOSYS was returned, clear | |
3162 | FUTEX_PRIVATE_FLAG in gomp_futex_wa{ke,it} and retry. | |
3163 | (cpu_relax, atomic_write_barrier): New static inlines. | |
3164 | * config/linux/sem.c: Include wait.h instead of libgomp.h and | |
3165 | futex.h. | |
3166 | (gomp_sem_wait_slow): Call do_wait instead of futex_wait. | |
3167 | * config/linux/affinity.c: Assume HAVE_SYNC_BUILTINS. | |
3168 | * config/linux/omp-lock.h (omp_lock_25_t, omp_nest_lock_25_t): New | |
3169 | types. | |
3170 | (omp_nest_lock_t): Change owner into void *, add lock field. | |
3171 | * config/posix95/omp-lock.h: Include semaphore.h. | |
3172 | (omp_lock_25_t, omp_nest_lock_25_t): New types. | |
3173 | (omp_lock_t): Use sem_t instead of mutex if semaphores | |
3174 | aren't broken. | |
3175 | (omp_nest_lock_t): Likewise. Change owner to void *. | |
3176 | * config/posix/omp-lock.h: Include semaphore.h. | |
3177 | (omp_lock_25_t, omp_nest_lock_25_t): New types. | |
3178 | (omp_lock_t): Use sem_t instead of mutex if semaphores | |
3179 | aren't broken. | |
3180 | (omp_nest_lock_t): Likewise. Add owner field. | |
3181 | ||
3182 | 2008-06-06 Jakub Jelinek <jakub@redhat.com> | |
3183 | ||
3184 | * testsuite/libgomp.c/collapse-1.c: New test. | |
3185 | * testsuite/libgomp.c/collapse-2.c: New test. | |
3186 | * testsuite/libgomp.c/collapse-3.c: New test. | |
3187 | * testsuite/libgomp.c/icv-1.c: New test. | |
3188 | * testsuite/libgomp.c/icv-2.c: New test. | |
3189 | * testsuite/libgomp.c/lib-2.c: New test. | |
3190 | * testsuite/libgomp.c/lock-1.c: New test. | |
3191 | * testsuite/libgomp.c/lock-2.c: New test. | |
3192 | * testsuite/libgomp.c/lock-3.c: New test. | |
3193 | * testsuite/libgomp.c/loop-4.c: New test. | |
3194 | * testsuite/libgomp.c/loop-5.c: New test. | |
3195 | * testsuite/libgomp.c/loop-6.c: New test. | |
3196 | * testsuite/libgomp.c/loop-7.c: New test. | |
3197 | * testsuite/libgomp.c/loop-8.c: New test. | |
3198 | * testsuite/libgomp.c/loop-9.c: New test. | |
3199 | * testsuite/libgomp.c/nested-3.c: New test. | |
3200 | * testsuite/libgomp.c/nestedfn-6.c: New test. | |
3201 | * testsuite/libgomp.c/sort-1.c: New test. | |
3202 | * testsuite/libgomp.c/task-1.c: New test. | |
3203 | * testsuite/libgomp.c/task-2.c: New test. | |
3204 | * testsuite/libgomp.c/task-3.c: New test. | |
3205 | * testsuite/libgomp.c/task-4.c: New test. | |
3206 | * testsuite/libgomp.c++/c++.exp: Add libstdc++-v3 build includes | |
3207 | to C++ testsuite default compiler options. | |
3208 | * testsuite/libgomp.c++/collapse-1.C: New test. | |
3209 | * testsuite/libgomp.c++/collapse-2.C: New test. | |
3210 | * testsuite/libgomp.c++/ctor-10.C: New test. | |
3211 | * testsuite/libgomp.c++/for-1.C: New test. | |
3212 | * testsuite/libgomp.c++/for-2.C: New test. | |
3213 | * testsuite/libgomp.c++/for-3.C: New test. | |
3214 | * testsuite/libgomp.c++/for-4.C: New test. | |
3215 | * testsuite/libgomp.c++/for-5.C: New test. | |
3216 | * testsuite/libgomp.c++/loop-8.C: New test. | |
3217 | * testsuite/libgomp.c++/loop-9.C: New test. | |
3218 | * testsuite/libgomp.c++/loop-10.C: New test. | |
3219 | * testsuite/libgomp.c++/task-1.C: New test. | |
3220 | * testsuite/libgomp.c++/task-2.C: New test. | |
3221 | * testsuite/libgomp.c++/task-3.C: New test. | |
3222 | * testsuite/libgomp.c++/task-4.C: New test. | |
3223 | * testsuite/libgomp.c++/task-5.C: New test. | |
3224 | * testsuite/libgomp.c++/task-6.C: New test. | |
3225 | * testsuite/libgomp.fortran/allocatable1.f90: New test. | |
3226 | * testsuite/libgomp.fortran/allocatable2.f90: New test. | |
3227 | * testsuite/libgomp.fortran/allocatable3.f90: New test. | |
3228 | * testsuite/libgomp.fortran/allocatable4.f90: New test. | |
3229 | * testsuite/libgomp.fortran/collapse1.f90: New test. | |
3230 | * testsuite/libgomp.fortran/collapse2.f90: New test. | |
3231 | * testsuite/libgomp.fortran/collapse3.f90: New test. | |
3232 | * testsuite/libgomp.fortran/collapse4.f90: New test. | |
3233 | * testsuite/libgomp.fortran/lastprivate1.f90: New test. | |
3234 | * testsuite/libgomp.fortran/lastprivate2.f90: New test. | |
3235 | * testsuite/libgomp.fortran/lib4.f90: New test. | |
3236 | * testsuite/libgomp.fortran/lock-1.f90: New test. | |
3237 | * testsuite/libgomp.fortran/lock-2.f90: New test. | |
3238 | * testsuite/libgomp.fortran/nested1.f90: New test. | |
3239 | * testsuite/libgomp.fortran/nestedfn4.f90: New test. | |
3240 | * testsuite/libgomp.fortran/strassen.f90: New test. | |
3241 | * testsuite/libgomp.fortran/tabs1.f90: New test. | |
3242 | * testsuite/libgomp.fortran/tabs2.f: New test. | |
3243 | * testsuite/libgomp.fortran/task1.f90: New test. | |
3244 | * testsuite/libgomp.fortran/task2.f90: New test. | |
3245 | * testsuite/libgomp.fortran/vla4.f90: Add dg-warning. | |
3246 | * testsuite/libgomp.fortran/vla5.f90: Likewise. | |
3247 | * testsuite/libgomp.c/pr26943-2.c: Likewise. | |
3248 | * testsuite/libgomp.c/pr26943-3.c: Likewise. | |
3249 | * testsuite/libgomp.c/pr26943-4.c: Likewise. | |
3250 | ||
7a0112e7 JJ |
3251 | 2008-05-23 Jakub Jelinek <jakub@redhat.com> |
3252 | ||
3253 | PR c++/36308 | |
3254 | * testsuite/libgomp.c++/ctor-11.C: New test. | |
3255 | * testsuite/libgomp.c++/ctor-12.C: New test. | |
3256 | ||
91a5b394 JJ |
3257 | 2008-05-15 Janis Johnson <janis187@us.ibm.com> |
3258 | ||
3259 | * testsuite/lib/libgomp.exp: Load torture-options.exp from gcc lib. | |
3260 | ||
c18c98c0 JJ |
3261 | 2008-05-07 Jakub Jelinek <jakub@redhat.com> |
3262 | ||
3263 | PR middle-end/36106 | |
3264 | * testsuite/libgomp.c/atomic-5.c: New test. | |
3265 | * testsuite/libgomp.c/atomic-6.c: New test. | |
3266 | * testsuite/libgomp.c/autopar-1.c: New test. | |
3267 | ||
6d26724a RW |
3268 | 2008-04-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
3269 | ||
3270 | * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS) | |
3271 | (LIBGOMP_CHECK_ATTRIBUTE_VISIBILITY) | |
3272 | (LIBGOMP_CHECK_ATTRIBUTE_DLLEXPORT) | |
3273 | (LIBGOMP_CHECK_ATTRIBUTE_ALIAS): Fix cache variable names. | |
3274 | * configure: Regenerate. | |
3275 | * Makefile.in, testsuite/Makefile.in: Likewise. | |
3276 | ||
deb984e6 PB |
3277 | 2008-04-18 Paolo Bonzini <bonzini@gnu.org> |
3278 | ||
3279 | PR bootstrap/35457 | |
3280 | * aclocal.m4: Regenerate. | |
3281 | * configure: Regenerate. | |
3282 | ||
9e775963 JJ |
3283 | 2008-03-18 Jakub Jelinek <jakub@redhat.com> |
3284 | ||
8119fc93 JJ |
3285 | PR middle-end/35611 |
3286 | * testsuite/libgomp.c/atomic-4.c: New test. | |
3287 | ||
9e775963 JJ |
3288 | PR libgomp/35625 |
3289 | * iter.c (gomp_iter_guided_next_locked): If q > n, set end to ws->end. | |
3290 | (gomp_iter_guided_next): Likewise. | |
3291 | * testsuite/libgomp.c/pr35625.c: New test. | |
3292 | ||
38d24731 RW |
3293 | 2008-03-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
3294 | ||
3295 | * aclocal.m4: Regenerate. | |
3296 | * configure: Likewise. | |
3297 | * Makefile.in: Likewise. | |
3298 | * testsuite/Makefile.in: Likewise. | |
3299 | ||
d0fb20be JJ |
3300 | 2008-03-13 Jakub Jelinek <jakub@redhat.com> |
3301 | ||
3302 | PR middle-end/35185 | |
3303 | * testsuite/libgomp.c++/pr35185.C: New test. | |
3304 | ||
7c8f7639 JJ |
3305 | 2008-03-12 Jakub Jelinek <jakub@redhat.com> |
3306 | ||
3307 | PR middle-end/35549 | |
3308 | * testsuite/libgomp.c/pr35549.c: New test. | |
3309 | ||
251923f5 JJ |
3310 | 2008-03-06 Jakub Jelinek <jakub@redhat.com> |
3311 | ||
3312 | * testsuite/libgomp.c/atomic-3.c: New test. | |
3313 | ||
f489fba1 FXC |
3314 | 2008-03-03 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> |
3315 | ||
3316 | PR fortran/33197 | |
251923f5 | 3317 | * testsuite/libgomp.fortran/fortran.exp: Add .f08 and |
f489fba1 FXC |
3318 | .F08 file suffixes. |
3319 | ||
a1b25e49 PG |
3320 | 2008-03-03 Peter O'Gorman <pogma@thewrittenword.com> |
3321 | ||
3322 | PR libgomp/33131 | |
3323 | * configure.ac: Add ACX_HEADER_STRING. | |
3324 | * env.c: Include strings.h. | |
3325 | * aclocal.m4: Regenerate. | |
3326 | * config.h.in: Regenerate. | |
3327 | * configure: Regenerate. | |
3328 | * Makefile.in: Regenerate. | |
3329 | * testsuite/Makefile.in: Regenerate. | |
3330 | ||
6837b3b8 JJ |
3331 | 2008-02-15 Jakub Jelinek <jakub@redhat.com> |
3332 | ||
ac84c062 JJ |
3333 | PR middle-end/35196 |
3334 | * testsuite/libgomp.c/pr35196.c: New test. | |
3335 | ||
6837b3b8 JJ |
3336 | PR middle-end/35130 |
3337 | * testsuite/libgomp.fortran/pr35130.f90: New test. | |
3338 | * testsuite/libgomp.c/pr35130.c: New test. | |
3339 | ||
c256730c JJ |
3340 | 2008-01-25 Jakub Jelinek <jakub@redhat.com> |
3341 | ||
3342 | PR middle-end/33880 | |
3343 | * testsuite/libgomp.c/pr33880.c: New test. | |
3344 | * testsuite/libgomp.fortran/pr33880.f90: New test. | |
3345 | ||
c8e95542 | 3346 | 2008-01-24 David Edelsohn <edelsohn@gnu.org> |
d653fdfb DE |
3347 | |
3348 | * configure: Regenerate. | |
3349 | ||
0f3e711e JJ |
3350 | 2008-01-08 Jakub Jelinek <jakub@redhat.com> |
3351 | ||
3352 | * configure.ac: Move futex checking into ../config/futex.m4. | |
3353 | * configure: Rebuilt. | |
3354 | * aclocal.m4: Rebuilt. | |
3355 | * Makefile.in: Rebuilt. | |
3356 | ||
3357 | * configure.tgt: Rename have_tls to gcc_cv_have_tls to match | |
3358 | 2007-10-15 ../config/tls.m4 change. | |
3359 | ||
5259c813 JJ |
3360 | 2007-12-19 Jakub Jelinek <jakub@redhat.com> |
3361 | ||
3362 | PR c++/34513 | |
3363 | * testsuite/libgomp.c/pr34513.c: New test. | |
3364 | * testsuite/libgomp.c++/pr34513.C: New test. | |
3365 | ||
ae8d8879 JH |
3366 | 2007-12-17 Jack Howarth <howarth@bromo.med.uc.edu> |
3367 | ||
3368 | PR target/32765 | |
3369 | * testsuite/libgomp.fortran/crayptr2.f90: Move dg-options for darwin. | |
3370 | ||
2b4cf991 JJ |
3371 | 2007-12-04 Jakub Jelinek <jakub@redhat.com> |
3372 | ||
3373 | * omp.h.in (__GOMP_NOTHROW): Define. Use it on omp_* prototypes. | |
3374 | ||
d2dda7fe JJ |
3375 | 2007-12-03 Jakub Jelinek <jakub@redhat.com> |
3376 | ||
3377 | * testsuite/libgomp.c/private-1.c: New test. | |
3378 | ||
d683ec81 PB |
3379 | 2007-11-29 Andris Pavenis <andris.pavenis@iki.fi> |
3380 | Paolo Bonzini <bonzini@gnu.org> | |
3381 | ||
3382 | * Makefile.am: Use space as vpath separator. Use 'vpath %' | |
3383 | instead of 'VPATH ='. | |
3384 | * Makefile.in: Regenerate. | |
3385 | ||
a7415017 MK |
3386 | 2007-11-23 Matthias Klose <doko@ubuntu.com> |
3387 | ||
3388 | * configure.ac: Adjust makeinfo version check. | |
3389 | * configure: Regenerate. | |
3390 | ||
78e47463 JJ |
3391 | 2007-11-10 Jakub Jelinek <jakub@redhat.com> |
3392 | ||
3393 | PR fortran/34020 | |
3394 | * testsuite/libgomp.fortran/pr34020.f90: New test. | |
3395 | ||
239371f9 JJ |
3396 | 2007-11-06 Jakub Jelinek <jakub@redhat.com> |
3397 | ||
3398 | PR c++/33894 | |
3399 | * testsuite/libgomp.c++/atomic-1.C: New test. | |
3400 | ||
98a5fa94 JJ |
3401 | 2007-10-25 Jakub Jelinek <jakub@redhat.com> |
3402 | ||
3403 | PR libgomp/33275 | |
3404 | * testsuite/libgomp.fortran/omp_parse3.f90 (test_threadprivate): | |
3405 | Make x and y integers rather than (implicit) reals. Add private (j) | |
3406 | clause to the last omp parallel. | |
3407 | ||
3afcaaf4 MR |
3408 | 2007-10-15 Maciej W. Rozycki <macro@linux-mips.org> |
3409 | ||
3410 | * configure: Regenerate following changes to ../config/tls.m4. | |
3411 | ||
bd69daef JJ |
3412 | 2007-09-28 Jakub Jelinek <jakub@redhat.com> |
3413 | ||
3414 | * testsuite/libgomp.fortran/stack.f90: New test. | |
3415 | ||
1d0bd356 DS |
3416 | 2007-09-10 Danny Smith <dannysmith@users.sourceforge.net> |
3417 | ||
3418 | * config/mingw32/proc.c: New file. | |
3419 | ||
b3172cab UB |
3420 | 2007-09-05 Uros Bizjak <ubizjak@gmail.com> |
3421 | ||
3422 | * testsuite/libgomp.c/atomic-1.c: Include cpuid.h for i386 targets. | |
3423 | (main): Use __get_cpuid to get i386 target fetaures. | |
3424 | * testsuite/libgomp.c/atomic-2.c: Include cpuid.h for x86_64 targets. | |
3425 | (main): Use __get_cpuid to get x86_64 target fetaures. | |
3426 | ||
6da17392 JH |
3427 | 2007-08-15 Jack Howarth <howarth@bromo.med.uc.edu> |
3428 | ||
3429 | PR target/32765 | |
3430 | * testsuite/libgomp.fortran/pr32550.f90: Use -static-libgcc on Darwin. | |
3431 | * testsuite/libgomp.fortran/crayptr2.f90: Likwise. | |
3432 | ||
e1c82219 JJ |
3433 | 2007-07-12 Jakub Jelinek <jakub@redhat.com> |
3434 | ||
3435 | PR fortran/32550 | |
3436 | * testsuite/libgomp.fortran/pr32550.f90: New test. | |
3437 | * testsuite/libgomp.fortran/crayptr2.f90: New test. | |
3438 | ||
12a27363 L |
3439 | 2007-07-05 H.J. Lu <hongjiu.lu@intel.com> |
3440 | ||
3441 | * aclocal.m4: Regenerated. | |
3442 | ||
5349080d TB |
3443 | 2007-07-05 Tobias Burnus <burnus@net-b.de> |
3444 | ||
3445 | PR fortran/32359 | |
3446 | * testsuite/libgomp.fortran/pr32359.f90: New. | |
3447 | ||
4f9c450c JJ |
3448 | 2007-07-02 Jakub Jelinek <jakub@redhat.com> |
3449 | ||
3450 | PR libgomp/32468 | |
3451 | * sections.c (GOMP_parallel_sections_start): Only decrease | |
3452 | number of threads to COUNT if dyn_var is true. | |
3453 | * testsuite/libgomp.c/pr32468.c: New test. | |
3454 | ||
28c67ed7 RO |
3455 | 2007-07-02 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
3456 | ||
3457 | PR libgomp/26308 | |
3458 | * config/posix/lock.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX. | |
3459 | ||
64964499 JJ |
3460 | 2007-06-21 Jakub Jelinek <jakub@redhat.com> |
3461 | ||
3462 | PR middle-end/32362 | |
3463 | * testsuite/libgomp.c/pr32362-1.c: New test. | |
3464 | * testsuite/libgomp.c/pr32362-2.c: New test. | |
3465 | * testsuite/libgomp.c/pr32362-3.c: New test. | |
3466 | ||
46d8fbd1 JJ |
3467 | 2007-06-07 Jakub Jelinek <jakub@redhat.com> |
3468 | ||
3469 | * team.c (gomp_team_start): Fix setting up thread_attr | |
3470 | stack size. | |
3471 | ||
82a6cadf PB |
3472 | 2007-06-02 Paolo Bonzini <bonzini@gnu.org> |
3473 | ||
3474 | * configure: Regenerate. | |
3475 | ||
1cf3d07d SE |
3476 | 2007-05-23 Steve Ellcey <sje@cup.hp.com> |
3477 | ||
3478 | * Makefile.in: Regenerate. | |
3479 | * configure: Regenerate. | |
3480 | * aclocal.m4: Regenerate. | |
3481 | * testsuite/Makefile.in: Regenerate. | |
3482 | ||
12aac30b JJ |
3483 | 2007-05-04 Jakub Jelinek <jakub@redhat.com> |
3484 | ||
3485 | * config/linux/proc.c: New file. | |
3486 | ||
f1028b02 JJ |
3487 | PR libgomp/28482 |
3488 | * configure.tgt: Don't link with -Wl,-z,nodlopen even on Linux. | |
3489 | ||
06785a48 DF |
3490 | 2007-04-19 Daniel Franke <franke.daniel@gmail.com> |
3491 | ||
3492 | * libgomp.texi (GOMP_CPU_AFFINITY): Updated. | |
3493 | ||
b3b08ba0 MK |
3494 | 2007-04-16 Matthias Klose <doko@debian.org> |
3495 | ||
3496 | * configure.tgt (i[456]86-*-linux*): Only add ia32 specific | |
3497 | flags if not building with -m64. | |
3498 | * testsuite/lib/libgomp-dg.exp (libgomp_init): Don't add -march | |
3499 | flag for i?86-*-* targets, if current target matches -m64. | |
3500 | ||
6b2c5ce0 SE |
3501 | 2007-04-14 Steve Ellcey <sje@cup.hp.com> |
3502 | ||
3503 | * Makefile.am: Add -I .. to ACLOCAL_AMFLAGS. | |
3504 | * Makefile.in: Regenerate. | |
3505 | ||
dd56fe7c JDA |
3506 | 2007-04-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
3507 | ||
3508 | PR testsuite/31369 | |
3509 | * testsuite/libgomp.c++/c++.exp: Don't use concat when setting | |
3510 | ld_library_path. | |
3511 | * testsuite/libgomp.fortran/fortran.exp: Likewise. | |
3512 | ||
a0884cf0 JJ |
3513 | 2007-04-04 Jakub Jelinek <jakub@redhat.com> |
3514 | ||
3515 | * libgomp.h (gomp_cpu_affinity, gomp_cpu_affinity_len): New extern | |
3516 | decls. | |
3517 | (gomp_init_affinity, gomp_init_thread_affinity): New prototypes. | |
3518 | * env.c (gomp_cpu_affinity, gomp_cpu_affinity_len): New variables. | |
3519 | (parse_affinity): New function. | |
3520 | (initialize_env): Call it and gomp_init_affinity. | |
3521 | * team.c (gomp_team_start): If gomp_cpu_affinity != NULL, | |
3522 | create new pthread_attr_t and call gomp_init_thread_affinity | |
3523 | on it for each thread before passing the attribute to pthread_create. | |
3524 | * config/linux/affinity.c: New file. | |
3525 | * config/posix/affinity.c: New file. | |
3526 | * configure.ac (HAVE_PTHREAD_AFFINITY_NP): New test. | |
3527 | * configure: Rebuilt. | |
3528 | * config.h.in: Rebuilt. | |
3529 | * Makefile.am (libgomp_la_SOURCES): Add affinity.c. | |
3530 | * Makefile.in: Rebuilt. | |
3531 | ||
1850744b AT |
3532 | 2007-03-23 Andreas Tobler <a.tobler@schweiz.org> |
3533 | ||
3534 | * testsuite/lib/libgomp.exp (libgomp_init): Add -shared-libgcc for | |
3535 | *-*-darwin*. | |
3536 | * testsuite/libgomp.c++/c++.exp: Look for shared libstdc++ library | |
3537 | and use it if found. | |
3538 | ||
516f1ed8 UB |
3539 | 2007-03-18 Uros Bizjak <ubizjak@gmail.com> |
3540 | ||
3541 | * testsuite/config/default.exp: New file. | |
3542 | * testsuite/lib/libgomp.exp: New file. | |
3543 | * testsuite/lib/libgomp.dg (load_gcc_lib, libgomp_init, | |
3544 | libgomp_target_compile, libgomp_option_help, libgomp_option_proc, | |
3545 | load_lib *, load_gcc_lib *): Move to libgomp.exp. | |
3546 | (libgomp_load): Remove. | |
3547 | * testsuite/lib/libgomp.exp (libgomp_init): Compute | |
3548 | always_ld_library_path, not ld_library_path. Set additional_flags | |
3549 | to -march=i486 for ilp32 x86_64-*-* and i386-*-* targets. | |
3550 | (target_compile): Do not call libgomp_init. Append lang_library_path | |
3551 | and lang_link_flags to options. | |
3552 | * testsuite/libgomp.c/c.exp: Set DEFAULT_FLAGS to -O2. Set | |
3553 | ld_library_path from always_ld_library_path. Set LD_LIBRARY_PATH | |
3554 | here. | |
3555 | * testsuite/libgomp.c++/c++.exp: Set ld_library_path from | |
3556 | always_ld_library_path. Set LD_LIBRARY_PATH here. | |
3557 | * testsuite/libgomp.fortran/fortran.exp: Ditto. | |
3558 | * testsuite/libgomp.c/atomic-1.c: Set dg-options to | |
3559 | "-O2 -march=pentium" for ilp32 x86 targets. Simplify check for | |
3560 | CX8 flag. | |
3561 | * testsuite/libgomp.c/atomic-2.c: Set dg-options to "-O2 -mcx16" for | |
3562 | lp64 x86 targets. Do not check for SSE3 bit. Do not define bit_SSE3. | |
3563 | * testsuite/libgomp.c/pr29947-1.c: Remove default dg-options. | |
3564 | * testsuite/libgomp.c/pr29947-1.c: Ditto. | |
3565 | * testsuite/libgomp.c/atomic-10.c: Ditto. | |
3566 | ||
2ada56f5 JJ |
3567 | 2007-03-21 Jakub Jelinek <jakub@redhat.com> |
3568 | ||
3569 | * testsuite/libgomp.fortran/appendix-a/a.22.8.f90: Add | |
3570 | dg-final cleanup-modules line. | |
3571 | * testsuite/libgomp.fortran/appendix-a/a.40.1.f90: Likewise. | |
3572 | * testsuite/libgomp.fortran/appendix-a/a.31.5.f90: Likewise. | |
3573 | * testsuite/libgomp.fortran/appendix-a/a.31.4.f90: Likewise. | |
3574 | * testsuite/libgomp.fortran/threadprivate2.f90: Likewise. | |
3575 | * testsuite/libgomp.fortran/reduction5.f90: Likewise. | |
3576 | * testsuite/libgomp.fortran/threadprivate3.f90: Likewise. | |
3577 | * testsuite/libgomp.fortran/threadprivate1.f90: Likewise. | |
3578 | ||
f210f1cd AS |
3579 | 2007-03-18 Andreas Schwab <schwab@suse.de> |
3580 | ||
3581 | * acinclude.m4: Adjust regular expression for ld version | |
3582 | extraction. | |
3583 | * configure: Regenerate. | |
3584 | ||
c4dc950d BM |
3585 | 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com> |
3586 | ||
3587 | * Makefile.am: Add install-pdf target as copied from | |
3588 | automake v1.10 rules. | |
3589 | * Makefile.in: Regenerate | |
3590 | ||
e02a048f JJ |
3591 | 2007-02-07 Jakub Jelinek <jakub@redhat.com> |
3592 | ||
78e075d4 JJ |
3593 | PR libgomp/28486 |
3594 | * configure: Regenerate. | |
3595 | ||
e02a048f JJ |
3596 | PR c++/30703 |
3597 | * testsuite/libgomp.c++/pr30703.C: New test. | |
3598 | ||
60def7ed JJ |
3599 | 2007-02-02 Jakub Jelinek <jakub@redhat.com> |
3600 | ||
3601 | Revert: | |
3602 | 2006-07-05 Eric Christopher <echristo@apple.com> | |
3603 | * configure.ac: Depend addition of -pthread on host OS. | |
3604 | * configure: Regenerate. | |
3605 | ||
f1b0882e RW |
3606 | 2007-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
3607 | ||
3608 | * libgomp.texi: Fix spacing after abbreviations. | |
3609 | ||
748b9d7c DF |
3610 | 2007-01-31 Daniel Franke <franke.daniel@gmail.com> |
3611 | ||
3612 | PR libgomp/30546 | |
3613 | * configure.ac: Add check for makeinfo | |
3614 | * Makefile.am: Redefined target libgomp.info, build libgomp.info only | |
3615 | if an appropiate version of makeinfo is found. | |
3616 | * aclocal.m4: Regenerated. | |
3617 | * configure: Regenerated. | |
3618 | * Makefile.in: Regenerated. | |
3619 | * testsuite/Makefile.in: Regenerated. | |
3620 | ||
14734fc7 DF |
3621 | 2007-01-29 Daniel Franke <franke.daniel@gmail.com> |
3622 | ||
3623 | PR libgomp/30540 | |
3624 | * libgomp.texi: More about implementation-dependent settings. | |
3625 | ||
7befd5d2 TB |
3626 | 2007-01-26 Tobias Burnus <burnus@net-b.de> |
3627 | ||
3628 | * testsuite/libgomp.fortran/fortran.exp: Support .f03 extension. | |
3629 | ||
4288fea2 JJ |
3630 | 2007-01-24 Jakub Jelinek <jakub@redhat.com> |
3631 | ||
3632 | PR middle-end/30494 | |
3633 | * testsuite/libgomp.c/pr30494.c: New test. | |
3634 | ||
627ab4b8 TT |
3635 | 2007-01-15 Tom Tromey <tromey@redhat.com> |
3636 | ||
3637 | * configure: Rebuilt. | |
3638 | * configure.ac: Fixed comment. | |
3639 | ||
7c2b7f45 DF |
3640 | 2007-01-14 Daniel Franke <franke.daniel@gmail.com> |
3641 | ||
3642 | * libgomp.texi: Document implementation specific default values of | |
3643 | environment variables. | |
3644 | ||
3721b9e1 DF |
3645 | 2006-12-21 Daniel Franke <franke.daniel@gmail.com> |
3646 | ||
3647 | PR libgomp/28209 | |
3648 | * libgomp.texi: New file. | |
3649 | * configure.ac: Add --enable-generated-files-in-srcdir option. | |
3650 | * Makefile.am: Add info, dvi, pdf, html targets. On request, copy | |
3651 | files to srcdir. | |
3652 | * Makefile.in: Regenerated. | |
3653 | * config.h.in: Regenerated. | |
3654 | * testsuite/Makefile.in: Regenerated. | |
3655 | * NOTES: Removed. | |
3656 | ||
62bd6216 DF |
3657 | 2006-12-04 Daniel Franke <franke.daniel@gmail.com> |
3658 | ||
3659 | PR libgomp/29949 | |
3660 | * env.c (omp_set_num_threads): Set illegal thread count to 1. | |
3661 | ||
aad741f4 EB |
3662 | 2006-12-04 Eric Botcazou <ebotcazou@libertysurf.fr> |
3663 | ||
3664 | * configure: Regenerate. | |
3665 | ||
22568cc6 JJ |
3666 | 2006-12-04 Jakub Jelinek <jakub@redhat.com> |
3667 | ||
3668 | PR libgomp/29947 | |
3669 | * loop.c (gomp_loop_init): Make parameters signed. Set ws->end to | |
3670 | start if there shouldn't be any loop iterations. | |
3671 | (gomp_loop_ordered_static_start): Remove start == end test. | |
3672 | * testsuite/libgomp.c/pr29947-1.c: New test. | |
3673 | * testsuite/libgomp.c/pr29947-2.c: New test. | |
3674 | ||
a9690009 EB |
3675 | 2006-12-02 Eric Botcazou <ebotcazou@libertysurf.fr> |
3676 | ||
3677 | * configure.tgt: Force initial-exec TLS model on Linux only. | |
3678 | ||
597c25e6 DJ |
3679 | 2006-11-13 Daniel Jacobowitz <dan@codesourcery.com> |
3680 | ||
3681 | * configure: Regenerated. | |
3682 | ||
6acf0b38 UB |
3683 | 2006-11-09 Uros Bizjak <ubizjak@gmail.com> |
3684 | ||
3685 | * env.c (parse_schedule): Reject out of range values. | |
3686 | (parse_unsigned_long): Reject out of range, negative or zero values. | |
3687 | ||
a7a53ca5 JJ |
3688 | 2006-10-29 Jakub Jelinek <jakub@redhat.com> |
3689 | ||
3690 | PR fortran/29629 | |
3691 | * testsuite/libgomp.fortran/pr29629.f90: New test. | |
3692 | ||
6d4d216a EB |
3693 | 2006-10-24 Eric Botcazou <ebotcazou@libertysurf.fr> |
3694 | ||
3695 | PR libgomp/29494 | |
3696 | * configure.tgt: Use posix95 configuration for Solaris 2.5.1 and 2.6. | |
3697 | * config/posix95: New directory. | |
3698 | * config/posix95/omp-lock.h: New file. | |
3699 | * config/posix95/lock.c: Likewise. | |
3700 | ||
5b043f08 GK |
3701 | 2006-10-14 Geoffrey Keating <geoffk@apple.com> |
3702 | ||
3703 | * aclocal.m4: Regenerate. | |
3704 | * configure: Regenerate. | |
3705 | ||
b50019f0 DS |
3706 | 2006-10-05 Danny Smith <dannysmith@users.sourceforge.net> |
3707 | ||
3708 | * testsuite/libgomp.c/barrier-1.c: Change timestamp tests from | |
3709 | '<' to '<='. | |
3710 | ||
8887708e DS |
3711 | 2006-10-05 Danny Smith <dannysmith@users.sourceforge.net> |
3712 | ||
3713 | * acinclude.m4 (HAVE_ATTRIBUTE_ALIAS): Remove __USER_LABEL_PREFIX__ from | |
3714 | test. | |
3715 | * configure: Regenerate. | |
3716 | * fortran.c (ialias_redirect): Add __USER_LABEL_PREFIX__ to alias. | |
3717 | ||
9b9e4cd6 JJ |
3718 | 2006-09-26 Jakub Jelinek <jakub@redhat.com> |
3719 | ||
a70ad3bb JJ |
3720 | PR middle-end/25261 |
3721 | PR middle-end/28790 | |
3722 | * testsuite/libgomp.c/nestedfn-4.c: New test. | |
3723 | * testsuite/libgomp.c/nestedfn-5.c: New test. | |
3724 | * testsuite/libgomp.fortran/nestedfn3.f90: New test. | |
3725 | ||
9b9e4cd6 JJ |
3726 | PR fortran/29097 |
3727 | * testsuite/libgomp.fortran/condinc1.f: New test. | |
3728 | * testsuite/libgomp.fortran/condinc2.f: New test. | |
3729 | * testsuite/libgomp.fortran/condinc3.f90: New test. | |
3730 | * testsuite/libgomp.fortran/condinc4.f90: New test. | |
3731 | * testsuite/libgomp.fortran/condinc1.inc: New file. | |
3732 | ||
2fb31455 TT |
3733 | 2006-09-18 Tom Tromey <tromey@redhat.com> |
3734 | ||
3735 | * configure: Rebuilt. | |
3736 | ||
c663e301 JM |
3737 | 2006-09-13 Joseph S. Myers <joseph@codesourcery.com> |
3738 | ||
3739 | PR c/28768 | |
3740 | PR preprocessor/14634 | |
3741 | * configure.ac (HAVE_CLOCK_GETTIME): Add missing second argument | |
3742 | to AC_DEFINE. | |
3743 | * configure: Regenerate. | |
3744 | ||
38371be9 SK |
3745 | 2006-09-08 Steven G. Kargl <kargl@gcc.gnu.org> |
3746 | ||
3747 | * testsuite/libgomp.fortran/reduction3.f90: Change | |
3748 | -2147483648 to -huge(i)-1 to avoid overflow. | |
3749 | * testsuite/libgomp.fortran/reduction4.f90: Change | |
3750 | Z'ffffffff' to not(0) to avoid overflow. | |
3751 | ||
571d5ac5 JM |
3752 | 2006-08-26 Joseph S. Myers <joseph@codesourcery.com> |
3753 | ||
3754 | PR libgomp/25938 | |
3755 | * Makefile.am (libsubincludedir): New. | |
3756 | (nodist_include_HEADERS): Rename to nodist_libsubinclude_HEADERS. | |
3757 | * Makefile.in: Regenerate. | |
3758 | ||
89b3e3cd JJ |
3759 | 2006-08-17 Jakub Jelinek <jakub@redhat.com> |
3760 | ||
3761 | PR libgomp/28725 | |
3762 | * env.c: Include ctype.h. | |
3763 | (parse_schedule, parse_unsigned_long, parse_boolean): Allow | |
3764 | leading and/or trailing whitespace and compare strings case | |
3765 | insensitively. | |
3766 | ||
742fae05 JJ |
3767 | 2006-07-16 Jakub Jelinek <jakub@redhat.com> |
3768 | ||
3769 | PR fortran/28390 | |
3770 | * testsuite/libgomp.fortran/pr28390.f: New test. | |
3771 | ||
a1daed2d EC |
3772 | 2006-07-05 Eric Christopher <echristo@apple.com> |
3773 | ||
3774 | * configure.ac: Depend addition of -pthread on host OS. | |
3775 | * configure: Regenerate. | |
3776 | ||
5d7b5199 JJ |
3777 | 2006-06-21 Jakub Jelinek <jakub@redhat.com> |
3778 | ||
3779 | * critical.c (GOMP_critical_name_start): Fix *pptr initialization | |
3780 | when gomp_mutex_t is larger than pointer and HAVE_SYNC_BUILTINS is | |
3781 | defined. | |
3782 | ||
fe5568e9 JJ |
3783 | 2006-06-20 Jakub Jelinek <jakub@redhat.com> |
3784 | ||
3785 | PR libgomp/26175 | |
3786 | PR libgomp/26477 | |
3787 | * configure.ac: If neither --enable-linux-futex nor | |
3788 | --disable-linux-futex is passed, determine the default by checking | |
3789 | for compiling and/or running against NPTL. With --enable-linux-futex, | |
3790 | check if SYS_gettid and SYS_futex are defined. | |
3791 | * configure: Rebuilt. | |
3792 | ||
c3b11a40 RH |
3793 | 2006-06-14 Richard Henderson <rth@redhat.com> |
3794 | ||
3795 | PR libgomp/28008 | |
3796 | * env.c (initialize_env): Avoid using PTHREAD_STACK_MIN when | |
3797 | undefined. Use GOMP_STACKSIZE not OMP_STACKSIZE for environment. | |
3798 | ||
d0d1b24d RH |
3799 | 2006-06-09 Richard Henderson <rth@redhat.com> |
3800 | ||
3801 | * env.c (gomp_nthreads_var): Change to unsigned long. | |
3802 | (gomp_run_sched_chunk): Likewise. | |
3803 | (parse_unsigned_long): Rename from parse_num_threads and generalize. | |
3804 | (initialize_env): Initialize gomp_thread_attr. | |
3805 | * libgomp.h (gomp_nthreads_var): Update decl. | |
3806 | (gomp_run_sched_chunk): Likewise. | |
3807 | (gomp_thread_attr): Declare. | |
3808 | * team.c (gomp_thread_attr): Export. | |
3809 | (initialize_team): Don't initialize it. | |
3810 | ||
cd75853e JJ |
3811 | 2006-06-09 Jakub Jelinek <jakub@redhat.com> |
3812 | ||
3813 | PR fortran/27916 | |
3814 | * testsuite/libgomp.fortran/pr27916-1.f90: New test. | |
3815 | * testsuite/libgomp.fortran/pr27916-2.f90: New test. | |
3816 | ||
33815e0c FXC |
3817 | 2006-06-06 Francois-Xavier Coudert <coudert@clipper.ens.fr> |
3818 | ||
3819 | * config/mingw32/time.c: New file. | |
3820 | * configure.tgt: Use it. | |
3821 | ||
6667de0d CD |
3822 | 2006-05-23 Carlos O'Donell <carlos@codesourcery.com> |
3823 | ||
3824 | * Makefile.am: Add install-html target. Add install-html to .PHONY | |
3825 | * Makefile.in: Regenerate. | |
3826 | ||
e962c46b JDA |
3827 | 2006-05-22 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
3828 | ||
3829 | PR libgomp/27612 | |
3830 | * testsuite/libgomp.c/sections-1.c: Require sync_int_long. | |
3831 | * testsuite/libgomp.c/critical-1.c: Likewise. | |
3832 | * testsuite/libgomp.c/loop-1.c: Likewise. | |
3833 | * testsuite/libgomp.c/loop-2.c: Likewise. | |
3834 | * testsuite/libgomp.c/single-1.c: Likewise. | |
3835 | * testsuite/libgomp.c/ordered-1.c: Likewise. | |
3836 | * testsuite/libgomp.c/ordered-2.c: Likewise. | |
3837 | ||
eeb1d9e0 JJ |
3838 | 2006-05-15 Jakub Jelinek <jakub@redhat.com> |
3839 | ||
3840 | PR middle-end/27416 | |
3841 | * libgomp.fortran/pr27416-1.f90: New test. | |
3842 | ||
693d710f JJ |
3843 | 2006-05-03 Jakub Jelinek <jakub@redhat.com> |
3844 | ||
3845 | PR fortran/27395 | |
3846 | * testsuite/libgomp.fortran/pr27395-1.f90: New test. | |
3847 | * testsuite/libgomp.fortran/pr27395-2.f90: New test. | |
3848 | ||
8ca5b2a2 JJ |
3849 | 2006-05-02 Jakub Jelinek <jakub@redhat.com> |
3850 | ||
3851 | PR c++/26943 | |
3852 | * testsuite/libgomp.c/pr26943-1.c: New test. | |
3853 | * testsuite/libgomp.c/pr26943-2.c: New test. | |
3854 | * testsuite/libgomp.c/pr26943-3.c: New test. | |
3855 | * testsuite/libgomp.c/pr26943-4.c: New test. | |
3856 | * testsuite/libgomp.c++/pr27337.C: Remove barrier. | |
3857 | * testsuite/libgomp.c++/pr26943.C: New test. | |
3858 | ||
077b0dfb JJ |
3859 | 2006-05-02 Jakub Jelinek <jakub@redhat.com> |
3860 | ||
3861 | PR middle-end/27337 | |
3862 | * testsuite/libgomp.c++/pr27337.C: New test. | |
3863 | ||
91b6c26d JJ |
3864 | 2006-04-26 Jakub Jelinek <jakub@redhat.com> |
3865 | ||
3866 | PR c/26171 | |
3867 | * testsuite/libgomp.c/pr26171.c: New test. | |
3868 | ||
60e1758f RH |
3869 | 2006-04-25 Richard Henderson <rth@redhat.com> |
3870 | ||
3871 | PR libgomp/25865 | |
3872 | * configure.ac: Use GCC_CHECK_TLS. | |
3873 | * acinclude.m4 (LIBGOMP_CHECK_TLS): Remove. | |
3874 | * Makefile.in, aclocal.m4, configure: Regenerate. | |
3875 | ||
615baed7 MK |
3876 | 2006-04-10 Matthias Klose <doko@debian.org> |
3877 | ||
3878 | * testsuite/lib/libgomp.exp (libgomp_init): Recognize multilib | |
3879 | directory names containing underscores. | |
3880 | ||
fae2b46b JJ |
3881 | 2006-03-21 Jakub Jelinek <jakub@redhat.com> |
3882 | ||
3883 | PR c++/26691 | |
3884 | * testsuite/libgomp.c++/pr26691.C: New test. | |
3885 | ||
11a5f608 JJ |
3886 | 2006-03-13 Jakub Jelinek <jakub@redhat.com> |
3887 | ||
3888 | * testsuite/libgomp.fortran/retval2.f90: New test. | |
3889 | ||
1799e5d5 RH |
3890 | 2006-03-09 Diego Novillo <dnovillo@redhat.com> |
3891 | ||
3892 | * testsuite/libgomp.c++: New directory. | |
3893 | ||
d349482e AT |
3894 | 2006-02-25 Shantonu Sen <ssen@opendarwin.org> |
3895 | ||
3896 | * config/posix/sem.h: Define BROKEN_POSIX_SEMAPHORES functions. | |
3897 | * config/posix/sem.c: Implement the above. | |
3898 | ||
3899 | 2006-02-25 Andreas Tobler <a.tobler@schweiz.ch> | |
3900 | ||
3901 | * configure.ac (HAVE_BROKEN_POSIX_SEMAPHORES): Check for darwin and | |
3902 | define HAVE_BROKEN_POSIX_SEMAPHORES. | |
3903 | * configure: Rebuilt. | |
3904 | * config.h.in: Rebuilt. | |
3905 | ||
124452c9 FXC |
3906 | 2006-02-17 Francois-Xavier Coudert <coudert@clipper.ens.fr> |
3907 | ||
3908 | PR bootstrap/26161 | |
3909 | * configure.ac: Remove AC_CHECK_HEADER for pthread.h. Add comment | |
3910 | for the other pthread check. | |
3911 | * configure: Regenerate. | |
3912 | * config.h.in: Regenerate. | |
3913 | ||
dd8d6dfe JJ |
3914 | 2006-02-15 Jakub Jelinek <jakub@redhat.com> |
3915 | ||
3916 | PR libgomp/25938 | |
3917 | PR libgomp/25984 | |
3918 | * Makefile.am (fincludedir): New variable. | |
3919 | (nodist_include_HEADERS): Remove Fortran files. | |
3920 | (nodist_finclude_HEADERS): New variable. | |
3921 | * Makefile.in: Regenerated. | |
3922 | ||
6c7a4dfd JJ |
3923 | 2006-02-13 Jakub Jelinek <jakub@redhat.com> |
3924 | ||
3925 | * testsuite/libgomp.fortran/vla7.f90: Add -w to options. | |
3926 | Remove tests for returning assumed character length arrays. | |
3927 | ||
5142e08b RS |
3928 | 2006-02-12 Roger Sayle <roger@eyesopen.com> |
3929 | John David Anglin <dave@hiauly1.hia.nrc.ca> | |
3930 | ||
3931 | PR libgomp/25936 | |
3932 | * configure.tgt: Link against -lrt for sem_init on HPUX v11 systems. | |
a1daed2d | 3933 | |
5821fba8 UW |
3934 | 2006-02-08 Ulrich Weigand <uweigand@de.ibm.com> |
3935 | ||
3936 | * testsuite/lib/libgomp-dg.exp: Load scanrtl.exp library. | |
3937 | ||
cb2bbc67 EB |
3938 | 2006-02-07 Eric Botcazou <ebotcazou@libertysurf.fr> |
3939 | ||
3940 | * testsuite/lib/libgomp-dg.exp (libgomp_init): Compute multilib related | |
3941 | part of LD_LIBRARY_PATH manually. | |
3942 | ||
f05ee80c L |
3943 | 2006-02-03 H.J. Lu <hongjiu.lu@intel.com> |
3944 | ||
3945 | PR libgomp/25852 | |
3946 | * testsuite/lib/libgomp-dg.exp (blddir): Set it in | |
3947 | libgomp_init. | |
3948 | ||
03b8fe49 PB |
3949 | 2005-01-25 Paolo Bonzini <bonzini@gnu.org> |
3950 | ||
3951 | PR libgomp/25884 | |
f05ee80c L |
3952 | * Makefile.am (omp.h, omp_lib.h, omp_lib.f90, libgomp_f.h): Remove. |
3953 | * configure.ac (PERL): Don't set. | |
3954 | (gstdint.h, omp.h, omp_lib.h, omp_lib.f90, libgomp_f.h): Create here. | |
3955 | (OMP_LOCK_SIZE, OMP_LOCK_ALIGN, OMP_LOCK_KIND, OMP_NEST_LOCK_SIZE, | |
3956 | OMP_NEST_LOCK_ALIGN, OMP_NEST_LOCK_KIND): New substitutions. | |
3957 | * omp.h.in: Wrap the new configure substitutions with @ characters. | |
3958 | * omp_lib.h.in, omp_lib.f90.in, libgomp_f.h.in: Likewise. | |
3959 | * aclocal.m4, configure, Makefile.in: Regenerate. | |
3960 | * mkomp_h.pl: Delete. | |
03b8fe49 | 3961 | |
18cbfd85 PB |
3962 | 2005-01-24 Paolo Bonzini <bonzini@gnu.org> |
3963 | ||
3964 | PR libgomp/25259 | |
3965 | * configure.ac: Use GCC_HEADER_STDINT. | |
3966 | * libgomp.h: Include gstdint.h. | |
3967 | * libgomp_f.h.in: Don't include stdint.h or inttypes.h. | |
3968 | * configure, Makefile.in, testsuite/Makefile.in, aclocal.m4: Rebuild. | |
3969 | ||
c41303c6 RH |
3970 | 2006-01-24 Richard Henderson <rth@redhat.com> |
3971 | ||
3972 | PR libgomp/25942 | |
3973 | * configure.ac: Add AM_MAINTAINER_MODE. | |
3974 | * Makefile.in, aclocal.m4, configure, testsuite/Makefile.in: Rebuild. | |
3975 | ||
149b9553 DN |
3976 | 2006-01-24 Diego Novillo <dnovillo@redhat.com> |
3977 | ||
3978 | * Makefile.in: Regenerate. | |
3979 | * testsuite/Makefile.in: Regenerate. | |
3980 | * aclocal.m4: Regenerate. | |
3981 | ||
192a50ad AT |
3982 | 2006-01-23 Andreas Tobler <a.tobler@schweiz.ch> |
3983 | ||
3984 | * config/posix/proc.c: Conditional include of sys/loadavg.h for | |
3985 | Solaris. | |
3986 | * configure.ac: Add check for loadavg.h. | |
3987 | (link_gomp): Adjust comment. | |
3988 | * configure: Regenerate. | |
3989 | * config.h.in: Regenerate. | |
3990 | ||
a55b8e18 SE |
3991 | 2006-01-21 Steve Ellcey <sje@cup.hp.com> |
3992 | ||
3993 | PR libgomp/25877 | |
3994 | * configure.ac: Remove check for alloca.h. | |
3995 | * configure: Regenerate. | |
3996 | * config.h.in: Regenerate. | |
3997 | * libgomp.h: define gomp_alloca to be __builtin_alloca. | |
3998 | * team.c: Remove use of alloca.h. | |
3999 | Call gomp_alloca instead of alloca. | |
4000 | ||
692eeb34 SE |
4001 | 2006-01-20 Steve Ellcey <sje@cup.hp.com> |
4002 | ||
4003 | PR libgomp/25877 | |
4004 | * team.c: Add include of alloca.h. | |
4005 | * configure.ac: Add check for alloca.h. | |
4006 | * configure: Regenerate. | |
4007 | * config.h.in: Regenerate. | |
4008 | ||
953ff289 DN |
4009 | 2006-01-17 Jakub Jelinek <jakub@redhat.com> |
4010 | ||
4011 | PR fortran/25219 | |
4012 | * testsuite/libgomp.fortran/pr25219.f90: New test. | |
4013 | ||
4014 | 2005-12-05 Uros Bizjak <uros@kss-loka.si> | |
4015 | ||
4016 | * testsuite/libgomp.c/pr24455.c, testsuite/libgomp.c/copyin-1.c, | |
4017 | testsuite/libgomp.c/copyin-2.c, testsuite/libgomp.c/copyin-3.c, | |
4018 | testsuite/libgomp.c++/copyin-1.C, testsuite/libgomp.c++/copyin-2.C, | |
4019 | testsuite/libgomp.c++/ctor-5.C, testsuite/libgomp.c++/ctor-8.C, | |
4020 | testsuite/libgomp.c++/ctor-9.C, testsuite/libgomp.c++/pr24455.C, | |
4021 | testsuite/libgomp.fortran/threadprivate1.f90, | |
4022 | testsuite/libgomp.fortran/threadprivate2.f90, | |
4023 | testsuite/libgomp.fortran/threadprivate3.f90, | |
4024 | testsuite/libgomp.fortran/appendix-a/a.22.7.f9, | |
4025 | testsuite/libgomp.fortran/appendix-a/a.22.8.f9, | |
4026 | testsuite/libgomp.fortran/omp_parse3.f90: Change required | |
4027 | effective-target to TLS runtime. | |
4028 | ||
4029 | * testsuite/libgomp.fortran/pr25162.f: Require | |
4030 | effective-target TLS runtime. | |
4031 | ||
4032 | 2005-12-01 Jakub Jelinek <jakub@redhat.com> | |
4033 | ||
4034 | * testsuite/libgomp.fortran/nestedfn2.f90: New test. | |
4035 | * testsuite/libgomp.c/nestedfn-3.c: New test. | |
4036 | ||
4037 | 2005-11-30 Jakub Jelinek <jakub@redhat.com> | |
4038 | ||
4039 | PR fortran/25162 | |
4040 | * testsuite/libgomp.fortran/pr25162.f: New test. | |
4041 | ||
4042 | 2005-11-28 Jakub Jelinek <jakub@redhat.com> | |
4043 | ||
4044 | * config/posix/time.c (omp_get_wtime, omp_get_wtick): Fall back to | |
4045 | CLOCK_REALTIME if clock_* (CLOCK_MONOTONIC, &ts) call failed. | |
4046 | ||
4047 | 2005-11-25 Jakub Jelinek <jakub@redhat.com> | |
4048 | ||
4049 | * alloc.c, barrier.c, critical.c, env.c, error.c, fortran.c, iter.c, | |
4050 | libgomp.h, libgomp_f.h.in, libgomp_g.h, loop.c, mkomp_h.pl, omp.h.in, | |
4051 | omp_lib.f90.in, omp_lib.h.in, ordered.c, parallel.c, sections.c, | |
4052 | single.c, team.c, work.c, config/linux/alpha/futex.h, | |
4053 | config/linux/bar.c, config/linux/bar.h, config/linux/ia64/futex.h, | |
4054 | config/linux/lock.c, config/linux/mutex.c, config/linux/mutex.h, | |
4055 | config/linux/powerpc/futex.h, config/linux/s390/futex.h, | |
4056 | config/linux/sem.c, config/linux/sem.h, config/linux/sparc/futex.h, | |
4057 | config/linux/x86/futex.h, config/posix/bar.c, config/posix/bar.h, | |
4058 | config/posix/lock.c, config/posix/mutex.h, config/posix/proc.c, | |
4059 | config/posix/sem.c, config/posix/sem.h, config/posix/time.c: Update | |
4060 | FSF address. | |
4061 | ||
4062 | 2005-11-18 Jakub Jelinek <jakub@redhat.com> | |
4063 | ||
4064 | * Makefile.am: Move libgomp_f.h from nodist_include_HEADERS | |
4065 | to nodist_noinst_HEADERS. | |
4066 | * Makefile.in: Rebuilt. | |
4067 | ||
4068 | * config/posix/omp-lock.h (omp_nest_lock_t): Change into struct, | |
4069 | add integer count field. | |
4070 | * config/posix/lock.c (omp_destroy_nest_lock): Adjust for | |
4071 | omp_nest_lock_t type change. | |
4072 | (omp_init_nest_lock): Likewise. Initialize count to 0. | |
4073 | (omp_set_nest_lock): Adjust for omp_nest_lock_t type change. | |
4074 | Increment count. | |
4075 | (omp_unset_nest_lock): Adjust for omp_nest_lock_t type change. | |
4076 | Decrement count. | |
4077 | (omp_test_nest_lock): Adjust for omp_nest_lock_t type change. | |
4078 | Increment count if successful and return the new nesting level. | |
4079 | * config/linux/lock.c (omp_test_nest_lock): Return new nesting level. | |
4080 | * omp_lib.f90.in (omp_test_lock): Fix LOCK argument type. | |
4081 | * testsuite/libgomp.c/lib-1.c: New test. | |
4082 | * testsuite/libgomp.fortran/lib1.f90: New test. | |
4083 | * testsuite/libgomp.fortran/lib2.f: New test. | |
4084 | * testsuite/libgomp.fortran/lib3.f: New test. | |
4085 | ||
4086 | 2005-11-17 Richard Henderson <rth@redhat.com> | |
4087 | ||
4088 | PR 24845 | |
4089 | * Makefile.am (nodist_toolexeclib_HEADERS): New. | |
4090 | * configure.ac (link_gomp): New. Substitute it. | |
4091 | (AC_CONFIG_FILES): Add libgomp.spec. | |
4092 | * libgomp.spec.in: New file. | |
4093 | * Makefile.in, testsuite/Makefile.in, configure: Rebuild. | |
4094 | * testsuite/lib/libgomp-dg.exp: Add -B${blddir}/ to flags. | |
4095 | ||
4096 | 2005-11-18 Jakub Jelinek <jakub@redhat.com> | |
4097 | ||
4098 | * testsuite/libgomp.fortran/reduction1.f90: Adjust for | |
4099 | reduction(-:var) behaving the same as reduction(+:var). | |
4100 | * testsuite/libgomp.c/reduction-4.c: New test. | |
4101 | ||
4102 | 2005-11-15 Uros Bizjak <uros@kss-loka.si> | |
4103 | ||
4104 | * testsuite/libgomp.c/pr24455-1.c, testsuite/libgomp.c/pr24455.c, | |
4105 | testsuite/libgomp.c/copyin-1.c, testsuite/libgomp.c/copyin-2.c, | |
4106 | testsuite/libgomp.c/copyin-3.c, | |
4107 | testsuite/libgomp.c++/copyin-1.C, testsuite/libgomp.c++/copyin-2.C, | |
4108 | testsuite/libgomp.c++/ctor-5.C, testsuite/libgomp.c++/ctor-8.C, | |
4109 | testsuite/libgomp.c++/ctor-9.C, testsuite/libgomp.c++/pr24455-1.C, | |
4110 | testsuite/libgomp.c++/pr24455.C, | |
4111 | testsuite/libgomp.fortran/threadprivate1.f90, | |
4112 | testsuite/libgomp.fortran/threadprivate2.f90, | |
4113 | testsuite/libgomp.fortran/threadprivate3.f90, | |
4114 | testsuite/libgomp.fortran/appendix-a/a.22.7.f9, | |
4115 | testsuite/libgomp.fortran/appendix-a/a.22.8.f9, | |
4116 | testsuite/libgomp.fortran/omp_parse3.f90: Require | |
4117 | effective-target TLS. | |
4118 | ||
4119 | 2005-11-14 Diego Novillo <dnovillo@redhat.com> | |
4120 | ||
4121 | * HEADER: Remove. | |
4122 | ||
4123 | 2005-11-13 Jakub Jelinek <jakub@redhat.com> | |
4124 | ||
4125 | PR libgomp/24797 | |
4126 | * team.c (initialize_team): Pass NULL rather than free as | |
4127 | pthread_key_create destructor. Initialize thread specific data | |
4128 | pointer in initial thread to a static local variable rather than | |
4129 | malloced memory. | |
4130 | ||
4131 | 2005-11-11 Uros Bizjak <uros@kss-loka.si> | |
4132 | ||
4133 | * testsuite/lib/libgomp-dg.exp: Locate libgcc.a and append | |
4134 | its location to ld_library_path. | |
4135 | ||
4136 | 2005-11-10 Diego Novillo <dnovillo@redhat.com> | |
4137 | ||
4138 | * testsuite/libgomp.c/c.exp: Rename from dg.exp. | |
4139 | ||
4140 | 2005-11-10 Diego Novillo <dnovillo@redhat.com> | |
4141 | ||
4142 | * testsuite/libgomp.c: Rename from libgomp.dg. | |
4143 | ||
4144 | 2005-11-09 Diego Novillo <dnovillo@redhat.com> | |
4145 | ||
4146 | * testsuite/libgomp.c++/pr24455.C: Add copyin clause for | |
4147 | threadprivate variable 'i'. | |
4148 | ||
4149 | 2005-11-09 Jakub Jelinek <jakub@redhat.com> | |
4150 | ||
4151 | * config/linux/s390/futex.h: New file. | |
4152 | * configure.tgt: Use it. | |
4153 | ||
4154 | * testsuite/libgomp.fortran/omp_parse4.f90: Move n initialization | |
4155 | before the parallel. | |
4156 | ||
4157 | 2005-11-08 Jakub Jelinek <jakub@redhat.com> | |
4158 | ||
4159 | PR c++/24734 | |
4160 | * testsuite/libgomp.c++/master-1.C: New test. | |
4161 | ||
4162 | 2005-11-07 Jakub Jelinek <jakub@redhat.com> | |
4163 | ||
4164 | * testsuite/libgomp.dg/copyin-3.c: New test. | |
4165 | ||
4166 | 2005-11-07 Jakub Jelinek <jakub@redhat.com> | |
4167 | ||
4168 | * testsuite/libgomp.fortran/retval1.f90: New test. | |
4169 | * testsuite/libgomp.fortran/vla7.f90: New test. | |
4170 | ||
4171 | 2005-11-06 Jakub Jelinek <jakub@redhat.com> | |
4172 | ||
4173 | * testsuite/libgomp.fortran/vla2.f90: New test. | |
4174 | * testsuite/libgomp.fortran/vla3.f90: New test. | |
4175 | * testsuite/libgomp.fortran/vla4.f90: New test. | |
4176 | * testsuite/libgomp.fortran/vla5.f90: New test. | |
4177 | * testsuite/libgomp.fortran/vla6.f90: New test. | |
4178 | ||
4179 | 2005-11-01 Jakub Jelinek <jakub@redhat.com> | |
4180 | ||
4181 | * config/linux/sparc/futex.h: New file. | |
4182 | * configure.tgt: Use it. | |
4183 | * testsuite/lib/libgomp-dg.exp: Use -mcpu=v9 for sparc testing. | |
4184 | ||
4185 | * critical.c: Include stdlib.h. | |
4186 | * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS): Avoid warnings about | |
4187 | ignoring return value. | |
4188 | * configure.ac: Don't put -Wc,-pthread into XCFLAGS until after | |
4189 | LIBGOMP_CHECK_SYNC_BUILTINS check. | |
4190 | * configure: Rebuilt. | |
4191 | ||
4192 | 2005-10-31 Jakub Jelinek <jakub@redhat.com> | |
4193 | ||
4194 | * testsuite/libgomp.fortran/vla1.f90: New test. | |
4195 | ||
4196 | 2005-10-31 Richard Henderson <rth@redhat.com> | |
4197 | ||
4198 | * testsuite/libgomp.fortran/character2.f90: Fix race condition | |
4199 | setting 's' in different threads. | |
4200 | ||
4201 | 2005-10-31 Jakub Jelinek <jakub@redhat.com> | |
4202 | ||
4203 | * libgomp.h (attribute_hidden, ialias): Define. | |
4204 | * config/posix/proc.c (omp_get_num_procs): Add ialias. | |
4205 | * config/posix/time.c (omp_get_wtime, omp_get_wtick): Likewise. | |
4206 | * config/posix/lock.c (omp_init_lock, omp_init_nest_lock, | |
4207 | omp_destroy_lock, omp_destroy_nest_lock, omp_set_lock, | |
4208 | omp_set_nest_lock, omp_unset_lock, omp_unset_nest_lock, | |
4209 | omp_test_lock, omp_test_nest_lock): Likewise. | |
4210 | * config/linux/lock.c (omp_init_lock, omp_init_nest_lock, | |
4211 | omp_destroy_lock, omp_destroy_nest_lock, omp_set_lock, | |
4212 | omp_set_nest_lock, omp_unset_lock, omp_unset_nest_lock, | |
4213 | omp_test_lock, omp_test_nest_lock): Likewise. | |
4214 | * env.c (omp_set_dynamic, omp_set_nested, omp_set_num_threads, | |
4215 | omp_get_dynamic, omp_get_nested): Likewise. | |
4216 | * parallel.c (omp_get_num_threads, omp_get_max_threads, | |
4217 | omp_get_thread_num, omp_in_parallel): Likewise. | |
4218 | * fortran.c (ialias_redirect): Define. | |
4219 | (omp_init_lock, omp_init_nest_lock, omp_destroy_lock, | |
4220 | omp_destroy_nest_lock, omp_set_lock, omp_set_nest_lock, | |
4221 | omp_unset_lock, omp_unset_nest_lock, omp_test_lock, | |
4222 | omp_test_nest_lock, omp_set_dynamic, omp_set_nested, | |
4223 | omp_set_num_threads, omp_get_dynamic, omp_get_nested, | |
4224 | omp_in_parallel, omp_get_max_threads, omp_get_num_procs, | |
4225 | omp_get_num_threads, omp_get_thread_num, omp_get_wtick, | |
4226 | omp_get_wtime): Add ialias_redirect. | |
4227 | ||
4228 | 2005-10-30 Jakub Jelinek <jakub@redhat.com> | |
4229 | ||
4230 | * fortran.c: Include stdlib.h. | |
4231 | ||
4232 | 2005-10-29 Jakub Jelinek <jakub@redhat.com> | |
4233 | ||
4234 | * Makefile.am (env.o, env.lo): Depend on libgomp_f.h. | |
4235 | * Makefile.in: Regenerated. | |
4236 | ||
4237 | 2005-10-28 Jakub Jelinek <jakub@redhat.com> | |
4238 | ||
4239 | * mkomp_h.pl: Remove all -Wc, option prefixes in $COMPILE. | |
4240 | * libgomp_f.h.in (omp_check_defines): New function. | |
4241 | * env.c: Include libgomp_f.h. | |
4242 | (initialize_env): Call omp_check_defines. | |
4243 | ||
4244 | * testsuite/libgomp.dg/copyin-2.c: New test. | |
4245 | * testsuite/libgomp.c++/copyin-2.C: New test. | |
4246 | * testsuite/libgomp.fortran/threadprivate3.f90: New test. | |
4247 | ||
4248 | * testsuite/libgomp.fortran/threadprivate2.f90: New test. | |
4249 | * testsuite/libgomp.fortran/sharing2.f90: New test. | |
4250 | ||
4251 | * testsuite/libgomp.dg/copyin-1.c: New test. | |
4252 | * testsuite/libgomp.c++/copyin-1.C: New test. | |
4253 | ||
4254 | 2005-10-26 Jakub Jelinek <jakub@redhat.com> | |
4255 | ||
4256 | * testsuite/libgomp.fortran/crayptr1.f90: New test. | |
4257 | ||
4258 | * testsuite/libgomp.fortran/workshare1.f90: New test. | |
4259 | ||
4260 | * libgomp.fortran/appendix-a/a.28.5.f90: Change into compile | |
4261 | only test. | |
4262 | * libgomp.fortran/sharing1.f90: New test. | |
4263 | ||
4264 | 2005-10-24 Jakub Jelinek <jakub@redhat.com> | |
4265 | ||
4266 | PR c++/24502 | |
4267 | * testsuite/libgomp.c++/loop-7.C: New test. | |
4268 | ||
4269 | * testsuite/libgomp.dg/nestedfn-2.c: New test. | |
4270 | ||
4271 | * testsuite/libgomp.dg/nestedfn-1.c: New test. | |
4272 | * testsuite/libgomp.fortran/reduction6.f90: New test. | |
4273 | * testsuite/libgomp.fortran/nestedfn1.f90: New test. | |
4274 | ||
4275 | 2005-10-23 Richard Henderson <rth@redhat.com> | |
4276 | ||
4277 | * testsuite/libgomp.c++/ctor-1.C: New. | |
4278 | * testsuite/libgomp.c++/ctor-2.C: New. | |
4279 | * testsuite/libgomp.c++/ctor-3.C: New. | |
4280 | * testsuite/libgomp.c++/ctor-4.C: New. | |
4281 | * testsuite/libgomp.c++/ctor-5.C: New. | |
4282 | * testsuite/libgomp.c++/ctor-6.C: New. | |
4283 | * testsuite/libgomp.c++/ctor-7.C: New. | |
4284 | * testsuite/libgomp.c++/ctor-8.C: New. | |
4285 | * testsuite/libgomp.c++/ctor-9.C: New. | |
4286 | ||
4287 | 2005-10-21 Diego Novillo <dnovillo@redhat.com> | |
4288 | ||
4289 | PR 24455 | |
4290 | * testsuite/libgomp.c++/pr24455-1.C: New test. | |
4291 | * testsuite/libgomp.c++/pr24455.C: New test. | |
4292 | * testsuite/libgomp.dg/pr24455-1.c: New test. | |
4293 | * testsuite/libgomp.dg/pr24455.c: New test. | |
4294 | ||
4295 | 2005-10-20 Richard Henderson <rth@redhat.com> | |
4296 | ||
4297 | * testsuite/libgomp.c++/loop-6.C: New. | |
4298 | * testsuite/libgomp.dg/loop-3.c: New. | |
4299 | ||
4300 | 2005-10-20 Jakub Jelinek <jakub@redhat.com> | |
4301 | ||
4302 | * testsuite/libgomp.fortran/jacobi.f: Don't make i and j | |
4303 | explicitly private. | |
4304 | * testsuite/libgomp.fortran/omp_parse1.f90 (test_do): Make i | |
4305 | explicitly shared. | |
4306 | ||
4307 | 2005-10-19 Diego Novillo <dnovillo@redhat.com> | |
4308 | ||
4309 | * testsuite/libgomp.fortran/jacobi.f: New test. | |
4310 | ||
4311 | 2005-10-19 Richard Henderson <rth@redhat.com> | |
4312 | ||
4313 | * configure.tgt (i?86-linux): Default to with_arch instead of | |
4314 | CFLAGS. Add -mtune to match target_cpu. | |
4315 | (x86_64-linux): Tune to i686. | |
4316 | ||
4317 | * fortran.c (omp_test_nest_lock_): Fix typo. | |
4318 | ||
4319 | 2005-10-19 Jakub Jelinek <jakub@redhat.com> | |
4320 | ||
4321 | * ordered.c (gomp_ordered_first, gomp_ordered_last, gomp_ordered_next, | |
4322 | gomp_ordered_sync): Do nothing if team->nthreads == 1. | |
4323 | * testsuite/libgomp.dg/ordered-3.c: New test. | |
4324 | ||
4325 | * testsuite/libgomp.dg/appendix-a/a.18.1.c: Remove unconditional abort. | |
4326 | Remove volatile keyword. | |
4327 | ||
4328 | * testsuite/libgomp.fortran/appendix-a/a.19.1.f90: Reorder variables | |
4329 | in COMMON block to avoid warnings on 64-bit targets. | |
4330 | ||
4331 | 2005-10-18 Diego Novillo <dnovillo@redhat.com> | |
4332 | ||
4333 | * testsuite/libgomp.dg/shared-3.c: New test. | |
4334 | ||
4335 | 2005-10-18 Jakub Jelinek <jakub@redhat.com> | |
4336 | ||
4337 | * testsuite/libgomp.fortran/appendix-a/a.31.3.f90: Removed. | |
4338 | * testsuite/libgomp.fortran/reduction5.f90: New test. | |
4339 | ||
4340 | 2005-10-18 Jakub Jelinek <jakub@redhat.com> | |
4341 | ||
4342 | * testsuite/libgomp.fortran/appendix-a/a.40.1.f90: Add -ffixed-form to | |
4343 | dg-options. | |
4344 | * testsuite/libgomp.fortran/appendix-a/a.18.1.f90: Likewise. Enable | |
4345 | flush loop now that __sync_synchronize has proper memory barrier. | |
4346 | * testsuite/libgomp.fortran/appendix-a/a.3.1.f90: Fix a typo. | |
4347 | Add -ffixed-form to dg-options. | |
4348 | ||
4349 | 2005-10-17 Diego Novillo <dnovillo@redhat.com> | |
4350 | ||
4351 | * testsuite/libgomp.fortran/fortran.exp: Also gather tests | |
4352 | from subdirectories. | |
4353 | * testsuite/libgomp.fortran/appendix-a/a.15.1.f90: New test. | |
4354 | * testsuite/libgomp.fortran/appendix-a/a.16.1.f90: New test. | |
4355 | * testsuite/libgomp.fortran/appendix-a/a.18.1.f90: New test. | |
4356 | * testsuite/libgomp.fortran/appendix-a/a.19.1.f90: New test. | |
4357 | * testsuite/libgomp.fortran/appendix-a/a.2.1.f90: New test. | |
4358 | * testsuite/libgomp.fortran/appendix-a/a.21.1.f90: New test. | |
4359 | * testsuite/libgomp.fortran/appendix-a/a.22.7.f90: New test. | |
4360 | * testsuite/libgomp.fortran/appendix-a/a.22.8.f90: New test. | |
4361 | * testsuite/libgomp.fortran/appendix-a/a.26.1.f90: New test. | |
4362 | * testsuite/libgomp.fortran/appendix-a/a.28.1.f90: New test. | |
4363 | * testsuite/libgomp.fortran/appendix-a/a.28.2.f90: New test. | |
4364 | * testsuite/libgomp.fortran/appendix-a/a.28.3.f90: New test. | |
4365 | * testsuite/libgomp.fortran/appendix-a/a.28.4.f90: New test. | |
4366 | * testsuite/libgomp.fortran/appendix-a/a.28.5.f90: New test. | |
4367 | * testsuite/libgomp.fortran/appendix-a/a.3.1.f90: New test. | |
4368 | * testsuite/libgomp.fortran/appendix-a/a.31.3.f90: New test. | |
4369 | * testsuite/libgomp.fortran/appendix-a/a.31.4.f90: New test. | |
4370 | * testsuite/libgomp.fortran/appendix-a/a.31.5.f90: New test. | |
4371 | * testsuite/libgomp.fortran/appendix-a/a.33.3.f90: New test. | |
4372 | * testsuite/libgomp.fortran/appendix-a/a.38.1.f90: New test. | |
4373 | * testsuite/libgomp.fortran/appendix-a/a.39.1.f90: New test. | |
4374 | * testsuite/libgomp.fortran/appendix-a/a.4.1.f90: New test. | |
4375 | * testsuite/libgomp.fortran/appendix-a/a.40.1.f90: New test. | |
4376 | * testsuite/libgomp.fortran/appendix-a/a.5.1.f90: New test. | |
4377 | * testsuite/libgomp.fortran/appendix-a/a10.1.f90: New test. | |
4378 | ||
4379 | 2005-10-17 Jakub Jelinek <jakub@redhat.com> | |
4380 | ||
4381 | * testsuite/libgomp.dg/dg.exp: Only unset lang_* if | |
4382 | lang_library_path exists. Use find instead of glob to gather tests. | |
4383 | * testsuite/libgomp.dg/appendix-a/appendix-a.exp: Removed. | |
4384 | ||
4385 | 2005-10-17 Diego Novillo <dnovillo@redhat.com> | |
4386 | ||
4387 | * testsuite/libgomp.dg/appendix-a/a.15.1.c: New test. | |
4388 | * testsuite/libgomp.dg/appendix-a/a.16.1.c: New test. | |
4389 | * testsuite/libgomp.dg/appendix-a/a.18.1.c: New test. | |
4390 | * testsuite/libgomp.dg/appendix-a/a.19.1.c: New test. | |
4391 | * testsuite/libgomp.dg/appendix-a/a.2.1.c: New test. | |
4392 | * testsuite/libgomp.dg/appendix-a/a.21.1.c: New test. | |
4393 | * testsuite/libgomp.dg/appendix-a/a.26.1.c: New test. | |
4394 | * testsuite/libgomp.dg/appendix-a/a.29.1.c: New test. | |
4395 | * testsuite/libgomp.dg/appendix-a/a.3.1.c: New test. | |
4396 | * testsuite/libgomp.dg/appendix-a/a.39.1.c: New test. | |
4397 | * testsuite/libgomp.dg/appendix-a/a.4.1.c: New test. | |
4398 | * testsuite/libgomp.dg/appendix-a/a.5.1.c: New test. | |
4399 | * testsuite/libgomp.dg/appendix-a/appendix-a.exp: New file. | |
4400 | ||
4401 | 2005-10-15 Jakub Jelinek <jakub@redhat.com> | |
4402 | ||
4403 | * testsuite/libgomp.dg/vla-1.c: New test. | |
4404 | ||
4405 | * testsuite/libgomp.fortran/reference2.f90: New test. | |
4406 | ||
4407 | * testsuite/libgomp.fortran/character2.f90: Remove explicit | |
4408 | declaration of omp_get_thread_num. | |
4409 | * testsuite/libgomp.fortran/threadprivate1.f90: Likewise. Add | |
4410 | use omp_lib. | |
4411 | ||
4412 | * testsuite/libgomp.fortran/reduction1.f90: New test. | |
4413 | * testsuite/libgomp.fortran/reduction2.f90: New test. | |
4414 | * testsuite/libgomp.fortran/reduction3.f90: New test. | |
4415 | * testsuite/libgomp.fortran/reduction4.f90: New test. | |
4416 | ||
4417 | 2005-10-13 Richard Henderson <rth@redhat.com> | |
4418 | ||
4419 | * Makefile.am (libgomp_la_SOURCES): Add bar.c. | |
4420 | * Makefile.in: Regenerate. | |
4421 | * barrier.c (GOMP_barrier): Use gomp_barrier_wait. | |
4422 | * libgomp.h: Include bar.h. | |
4423 | (struct gomp_barrier): Remove. | |
4424 | (struct gomp_team): Add barrier. Replace master_barrier with | |
4425 | master_release. Replace threads with ordered_release. | |
4426 | (struct gomp_thread): Replace barrier with release. | |
4427 | * ordered.c (gomp_ordered_first): Update for ordered_release change. | |
4428 | (gomp_ordered_last, gomp_ordered_next, gomp_ordered_static_init, | |
4429 | gomp_ordered_static_next, gomp_ordered_sync): Likewise. | |
4430 | * single.c (GOMP_single_copy_start): Use gomp_barrier_wait. | |
4431 | (GOMP_single_copy_end): Likewise. | |
4432 | * team.c (gomp_threads_dock): New. | |
4433 | (gomp_barrier_init, gomp_barrier_destroy): Remove. | |
4434 | (gomp_thread_start): Use gomp_barrier_wait. | |
4435 | (new_team, free_team): Update for gomp_team changes. | |
4436 | (gomp_team_start): Use gomp_barrier_wait and gomp_barrier_reinit. | |
4437 | (gomp_team_end): Use gomp_barrier_wait. | |
4438 | (initialize_team): Update for gomp_thread changes. | |
4439 | * work.c (gomp_work_share_end): Use gomp_barrier_wait_start. | |
4440 | (gomp_work_share_end_nowait): Use atomic ops when available. | |
4441 | * config/linux/bar.c, config/linux/bar.h: New files. | |
4442 | * config/posix/bar.c, config/posix/bar.h: New files. | |
4443 | ||
4444 | 2005-10-13 Jakub Jelinek <jakub@redhat.com> | |
4445 | ||
4446 | * single.c (GOMP_single_copy_end): Don't segfault if team is NULL. | |
4447 | * testsuite/libgomp.dg/single-2.c: New test. | |
4448 | ||
4449 | * testsuite/libgomp.dg/dg.exp (lang_library_path, lang_test_file, | |
4450 | lang_link_flags): Unset, so that they aren't inherited from previously | |
4451 | sourced *.exp. | |
4452 | ||
4453 | * testsuite/libgomp.fortran/threadprivate1.f90: New test. | |
4454 | ||
4455 | 2005-10-12 Richard Henderson <rth@redhat.com> | |
4456 | ||
4457 | * testsuite/lib/libgomp-dg.exp: Set blddir at toplevel. | |
4458 | (libgomp_init): Use lang_test_file, lang_library_path, and | |
4459 | lang_link_flags, set by the subdirectory files. Add -fopenmp here. | |
4460 | ||
4461 | * testsuite/libgomp.fortran/fortran.exp (lang_library_path): New. | |
4462 | (lang_test_file, lang_link_flags): New. | |
4463 | (DEFAULT_FFLAGS, ALWAYS_CFLAGS, multilibs, blddir): Remove. | |
4464 | ||
4465 | * testsuite/libgomp.c++/c++.exp, testsuite/libgomp.c++/loop-1.C, | |
4466 | testsuite/libgomp.c++/loop-2.C, testsuite/libgomp.c++/loop-3.C, | |
4467 | testsuite/libgomp.c++/loop-4.C, testsuite/libgomp.c++/nested-1.C, | |
4468 | testsuite/libgomp.c++/parallel-1.C, | |
4469 | testsuite/libgomp.c++/reduction-1.C, | |
4470 | testsuite/libgomp.c++/reduction-2.C, | |
4471 | testsuite/libgomp.c++/reduction-3.C, | |
4472 | testsuite/libgomp.c++/sections-1.C, testsuite/libgomp.c++/shared-1.C, | |
4473 | testsuite/libgomp.c++/shared-2.C, testsuite/libgomp.c++/single-1.C, | |
4474 | testsuite/libgomp.c++/single-2.C, testsuite/libgomp.c++/single-3.C: | |
4475 | New files, largely cribbed from the C testsuite. | |
4476 | ||
4477 | 2005-10-12 Jakub Jelinek <jakub@redhat.com> | |
4478 | ||
4479 | * testsuite/libgomp.fortran/character1.f90: New test. | |
4480 | * testsuite/libgomp.fortran/character2.f90: New test. | |
4481 | ||
4482 | * testsuite/libgomp.dg/nested-1.c: New test. | |
4483 | * testsuite/libgomp.dg/nested-2.c: New test. | |
4484 | * testsuite/libgomp.fortran/do1.f90: New test. | |
4485 | * testsuite/libgomp.fortran/do2.f90: New test. | |
4486 | ||
4487 | * testsuite/libgomp.fortran/reference1.f90: New test. | |
4488 | ||
4489 | 2005-10-11 Jakub Jelinek <jakub@redhat.com> | |
4490 | ||
4491 | * testsuite/libgomp.dg/reduction-1.c: New test. | |
4492 | * testsuite/libgomp.dg/reduction-2.c: New test. | |
4493 | * testsuite/libgomp.dg/reduction-3.c: New test. | |
4494 | ||
4495 | 2005-10-10 Jakub Jelinek <jakub@redhat.com> | |
4496 | ||
4497 | * testsuite/libgomp.dg/atomic-1.c: New test. | |
4498 | * testsuite/libgomp.dg/atomic-2.c: New test. | |
4499 | ||
4500 | 2005-10-09 Richard Henderson <rth@redhat.com> | |
4501 | ||
4502 | * critical.c (atomic_lock): New. | |
4503 | (initialize_critical): Initialize it. | |
4504 | (GOMP_atomic_start, GOMP_atomic_end): New. | |
4505 | * libgomp.map: Export them. | |
4506 | * libgomp_g.h: Declare them. | |
4507 | ||
4508 | * testsuite/libgomp.dg/atomic-10.c: Move from gcc testsuite. | |
4509 | ||
4510 | 2005-10-02 Richard Henderson <rth@redhat.com> | |
4511 | ||
4512 | * configure.ac: Move save_CFLAGS hack earlier. Append -Wall/-Werror | |
4513 | to XCFLAGS instead of CFLAGS. | |
4514 | ||
4515 | 2005-09-30 Richard Henderson <rth@redhat.com> | |
4516 | ||
4517 | * configure.ac: Determine whether -pthread or -lpthread is needed. | |
4518 | * Makefile.am (libgomp_la_LDFLAGS): Remove explicit -lpthread. | |
4519 | * Makefine.in, configure: Rebuild. | |
4520 | ||
4521 | 2005-09-28 Richard Henderson <rth@redhat.com> | |
4522 | ||
4523 | * testsuite/libgomp.dg/omp-loop03.c: Fix return code. | |
4524 | * testsuite/libgomp.dg/omp-single-3.c: New test. | |
4525 | ||
4526 | 2005-09-28 Diego Novillo <dnovillo@redhat.com> | |
4527 | ||
4528 | * testsuite/libgomp.dg/omp-single-2.c: New test. | |
4529 | * testsuite/libgomp.dg/shared-2.c: Fix return code. | |
4530 | ||
4531 | 2005-09-27 Richard Henderson <rth@redhat.com> | |
4532 | ||
4533 | * testsuite/libgomp.dg/omp-loop03.c: Add initial barrier. | |
4534 | * testsuite/libgomp.dg/omp-parallel-for.c: Specify static schedule. | |
4535 | ||
4536 | 2005-09-27 Jakub Jelinek <jakub@redhat.com> | |
4537 | ||
4538 | * testsuite/libgomp.dg/omp-loop03.c: New test. | |
4539 | ||
4540 | 2005-09-27 Diego Novillo <dnovillo@redhat.com> | |
4541 | ||
4542 | * testsuite/libgomp.dg/omp-parallel-for.c: New test. | |
4543 | ||
4544 | 2005-09-27 Diego Novillo <dnovillo@redhat.com> | |
4545 | ||
4546 | * testsuite/libgomp.dg/omp-single-1.c: New test. | |
4547 | * testsuite/libgomp.dg/shared-1.c: Return 0. | |
4548 | Add prototype for abort. | |
4549 | * testsuite/libgomp.dg/shared-2.c: Likewise. | |
4550 | ||
4551 | 2005-09-26 Jakub Jelinek <jakub@redhat.com> | |
4552 | ||
4553 | * testsuite/libgomp.fortran/omp_parse3.f90: Fix non-conforming | |
4554 | constructs. | |
4555 | ||
4556 | 2005-09-26 Diego Novillo <dnovillo@redhat.com> | |
4557 | ||
4558 | * testsuite/libgomp.dg/shared-1.c: New test. | |
4559 | * testsuite/libgomp.dg/shared-2.c: New test. | |
4560 | ||
4561 | 2005-09-24 Richard Henderson <rth@redhat.com> | |
4562 | ||
4563 | * testsuite/libgomp.dg/omp_workshare3.c: Mark dg-error. | |
4564 | ||
4565 | 2005-09-24 Richard Henderson <rth@redhat.com> | |
4566 | ||
4567 | * iter.c (gomp_iter_static_next): Round up when computing number | |
4568 | of iterations. Don't bother distributing a remainder equally. | |
4569 | ||
4570 | * testsuite/libgomp.dg/omp-loop01.c (main1): Rename from main. | |
4571 | Don't call srand. Zero b before testing. | |
4572 | (main): New. | |
4573 | ||
4574 | 2005-09-24 Jakub Jelinek <jakub@redhat.com> | |
4575 | ||
4576 | * testsuite/libgomp.fortran/omp_atomic1.f90: New test. | |
4577 | * testsuite/libgomp.fortran/omp_atomic2.f90: New test. | |
4578 | ||
4579 | 2005-09-23 Jakub Jelinek <jakub@redhat.com> | |
4580 | ||
4581 | * testsuite/libgomp.fortran/omp_parse1.f90: Add a test for !$omp do | |
4582 | without !$omp end do, followed immediately by subroutine end. | |
4583 | ||
4584 | 2005-09-23 Diego Novillo <dnovillo@redhat.com> | |
4585 | ||
4586 | * testsuite/libgomp.dg/omp-parallel-if.c: New test. | |
4587 | ||
4588 | 2005-09-22 Richard Henderson <rth@redhat.com> | |
4589 | ||
4590 | * critical.c (GOMP_critical_name_start): Change argument to void**. | |
4591 | Reuse the pointer space if the mutex fits. | |
4592 | (GOMP_critical_name_end): Likewise. | |
4593 | (initialize_critical): Don't define if GOMP_MUTEX_INIT_0. | |
4594 | * libgomp_g.h (GOMP_critical_name_start): Update decl. | |
4595 | (GOMP_critical_name_end): Likewise. | |
4596 | * config/linux/mutex.h (GOMP_MUTEX_INIT_0): New. | |
4597 | * config/posix/mutex.h (GOMP_MUTEX_INIT_0): New. | |
4598 | ||
4599 | 2005-09-20 Richard Henderson <rth@redhat.com> | |
4600 | ||
4601 | * critical.c (GOMP_critical_name_start, GOMP_critical_name_end): New. | |
4602 | (create_lock_lock): New. | |
4603 | (initialize_critical): Initialize it. | |
4604 | * libgomp.map (GOMP_critical_name_start, GOMP_critical_name_end): New. | |
4605 | * libgomp_g.h (GOMP_ordered_start, GOMP_ordered_end): Declare. | |
4606 | ||
4607 | 2005-09-20 Diego Novillo <dnovillo@redhat.com> | |
4608 | ||
4609 | * testsuite/libgom.dg/omp-loop01.c: Include stdio.h. | |
4610 | ||
4611 | 2005-09-20 Diego Novillo <dnovillo@redhat.com> | |
4612 | ||
4613 | * testsuite/libgomp.dg/omp-loop01.c: New test. | |
4614 | * testsuite/libgomp.dg/omp-loop02.c: New test. | |
4615 | ||
4616 | 2005-09-20 Jakub Jelinek <jakub@redhat.com> | |
4617 | ||
4618 | * configure.ac (AC_PROG_FC): Add. | |
4619 | (USE_FORTRAN): New automake conditional. | |
4620 | * configure: Rebuilt. | |
4621 | * Makefile.am (libgomp_la_SOURCES): Add fortran.c. | |
4622 | (nodist_include_HEADERS): Add omp_lib.h, omp_lib.f90 and libgomp_f.h. | |
4623 | If USE_FORTRAN, add also omp_lib.mod and omp_lib_kinds.mod. | |
4624 | Add rules to build them. | |
4625 | * Makefile.in: Rebuilt. | |
4626 | * mkomp_h.pl: Compute and replace also OMP_LOCK_KIND and | |
4627 | OMP_NEST_LOCK_KIND. | |
4628 | * libgomp.map: Add Fortran wrappers. | |
4629 | * libgomp_f.h.in: New file. | |
4630 | * omp_lib.h.in: New file. | |
4631 | * omp_lib.f90.in: New file. | |
4632 | * fortran.c: New file. | |
4633 | * testsuite/lib/libgomp-dg.exp: Load a few more .exp files. | |
4634 | Append libgfortran directory to LD_LIBRARY_PATH if it exists. | |
4635 | Add -Lpath_to_libgfortran and -lgfortran -lgfortranbegin if | |
4636 | libgfortran has been built. | |
4637 | * testsuite/libgomp.fortran/fortran.exp: New file. | |
4638 | * testsuite/libgomp.fortran/omp_cond1.f: New test. | |
4639 | * testsuite/libgomp.fortran/omp_cond2.f: New test. | |
4640 | * testsuite/libgomp.fortran/omp_cond3.F90: New test. | |
4641 | * testsuite/libgomp.fortran/omp_cond4.F90: New test. | |
4642 | * testsuite/libgomp.fortran/omp_hello.f: New test. | |
4643 | * testsuite/libgomp.fortran/omp_orphan.f: New test. | |
4644 | * testsuite/libgomp.fortran/omp_parse1.f90: New test. | |
4645 | * testsuite/libgomp.fortran/omp_parse2.f90: New test. | |
4646 | * testsuite/libgomp.fortran/omp_parse3.f90: New test. | |
4647 | * testsuite/libgomp.fortran/omp_parse4.f90: New test. | |
4648 | * testsuite/libgomp.fortran/omp_reduction.f: New test. | |
4649 | * testsuite/libgomp.fortran/omp_workshare1.f: New test. | |
4650 | * testsuite/libgomp.fortran/omp_workshare2.f: New test. | |
4651 | ||
4652 | 2005-08-30 Richard Henderson <rth@redhat.com> | |
4653 | ||
4654 | * loop.c (GOMP_loop_static_start): Provide fallback wrapper | |
4655 | function for when aliases are not usable. | |
4656 | (GOMP_loop_dynamic_start, GOMP_loop_guided_start, | |
4657 | GOMP_loop_ordered_static_start, GOMP_loop_ordered_dynamic_start, | |
4658 | GOMP_loop_ordered_guided_start, GOMP_loop_static_next, | |
4659 | GOMP_loop_dynamic_next, GOMP_loop_guided_next, | |
4660 | GOMP_loop_ordered_static_next, GOMP_loop_ordered_dynamic_next, | |
4661 | GOMP_loop_ordered_guided_next): Likewise. | |
4662 | * ordered.c (GOMP_ordered_start): Likewise. | |
4663 | ||
4664 | 2005-08-01 Diego Novillo <dnovillo@redhat.com> | |
4665 | ||
4666 | * testsuite/libgomp.dg/dg.exp: Use -O2 for now. | |
4667 | * testsuite/libgomp.dg/omp_hello.c: Fix return code | |
4668 | * testsuite/libgomp.dg/omp_matvec.c: Likewise. | |
4669 | * testsuite/libgomp.dg/omp_orphan.c: Likewise | |
4670 | * testsuite/libgomp.dg/omp_reduction.c: Likewise | |
4671 | * testsuite/libgomp.dg/omp_workshare1.c: Likewise | |
4672 | * testsuite/libgomp.dg/omp_workshare2.c: Likewise | |
4673 | * testsuite/libgomp.dg/omp_workshare3.c: Likewise | |
4674 | * testsuite/libgomp.dg/omp_workshare4.c: Likewise | |
4675 | ||
4676 | 2005-07-07 Eric Christopher <echristo@redhat.com> | |
4677 | Diego Novillo <dnovillo@redhat.com> | |
4678 | ||
4679 | * testsuite/libgomp.dg/dg.exp: Add -fopenmp to DEFAULT_CFLAGS. | |
4680 | * testsuite/libgomp.dg/omp_hello.c: Add standard includes, fix | |
4681 | up code. | |
4682 | * testsuite/libgomp.dg/omp_matvec.c: Ditto. | |
4683 | * testsuite/libgomp.dg/omp_orphan.c: Ditto. | |
4684 | * testsuite/libgomp.dg/omp_reduction.c: Ditto. | |
4685 | * testsuite/libgomp.dg/omp_workshare1.c: Ditto. | |
4686 | * testsuite/libgomp.dg/omp_workshare2.c: Ditto. | |
4687 | * testsuite/libgomp.dg/omp_workshare3.c: Ditto. | |
4688 | * testsuite/libgomp.dg/omp_workshare4.c: Ditto. | |
4689 | ||
4690 | 2005-06-13 Diego Novillo <dnovillo@redhat.com> | |
4691 | ||
4692 | * TOPLEVEL.patch: Remove. | |
4693 | ||
4694 | 2005-05-16 Richard Henderson <rth@redhat.com> | |
4695 | ||
4696 | * configure.ac: Test for clock_gettime. | |
4697 | * config.h.in, configure: Rebuild. | |
4698 | * config/posix/time.c: Use recommended TIME_WITH_SYS_TIME pattern. | |
4699 | (omp_get_wtime): Use clock_gettime if available. | |
4700 | (omp_get_wtick): Use clock_getres if available. | |
4701 | ||
4702 | 2005-05-11 Richard Henderson <rth@redhat.com> | |
4703 | ||
4704 | * config/linux/ia64/futex.h: New file. | |
4705 | * configure.tgt: Use it. | |
4706 | ||
4707 | * team.c (gomp_barrier_init, gomp_barrier_destroy): Mark inline. | |
4708 | ||
4709 | 2005-05-07 Richard Henderson <rth@redhat.com> | |
4710 | ||
4711 | * config/linux/powerpc/futex.h: New file. | |
4712 | * configure.tgt: Use it. | |
4713 | ||
4714 | * config/linux/i486/futex.h: Merge ... | |
4715 | * config/linux/x86_64/futex.h: ... into ... | |
4716 | * config/linux/x86/futex.h: ... here. | |
4717 | * configure.tgt: Update to match. | |
4718 | ||
4719 | 2005-05-06 Richard Henderson <rth@redhat.com> | |
4720 | ||
4721 | * config/linux/alpha/futex.h: Conditionally define SYS_futex. | |
4722 | * config/linux/i486/futex.h: Likewise. | |
4723 | * config/linux/x86_64/futex.h: Likewise. | |
4724 | ||
4725 | * config/linux/lock.c: New file. | |
4726 | * config/linux/omp-lock.h: New file. | |
4727 | ||
4728 | * critical.c, env.h: Don't include omp.h | |
4729 | * config/posix/lock.c: Include libgomp.h instead of omp.h. | |
4730 | * config/posix/time.c: Likewise. | |
4731 | * config/posix/omp-lock.h: New file. | |
4732 | * libgomp.h: Include omp-lock.h and omp.h. | |
4733 | * Makefile.am (nodist_include_HEADERS): New. | |
4734 | (omp.h): New rule. | |
4735 | * configure.ac (PERL): New. | |
4736 | * mkomp_h.pl: New file. | |
4737 | * omp.h.in: Rename from omp.h; replace omp_lock_t and omp_nest_lock_t | |
4738 | with templates. | |
4739 | * Makefile.in, configure, testsuite/Makefile.in: Rebuild. | |
4740 | ||
4741 | * testsuite/lib/libgomp-dg.exp (libgomp_init): Add include into | |
4742 | build directory. Re-add -march=i486 hack. | |
4743 | ||
4744 | * testsuite/lib/libgomp-dg.exp (libgomp_compile_flags): Remove. | |
4745 | (libgomp_link_flags): Remove. | |
4746 | (libgomp_initialized): Remove. | |
4747 | (libgomp_init): Don't protect from reinitialization. Copy code | |
4748 | from libstdc++ for getting the multilib set correctly. | |
4749 | ||
4750 | 2005-05-05 Richard Henderson <rth@redhat.com> | |
4751 | ||
4752 | * config/linux/alpha/futex.h: New file. | |
4753 | * configure.tgt (alpha*-*-linux*): Use it. | |
4754 | ||
4755 | * config/posix/mutex.c: New file. | |
4756 | * config/posix/sem.c: Use libgomp.h. | |
4757 | ||
4758 | * configure.tgt (x86_64-linux): Also test CC for -m32. | |
4759 | * config/linux/x86_64/futex.h (futex_wait): Fix r10 usage. | |
4760 | ||
a1daed2d | 4761 | * testsuite/lib/libgomp-dg.exp (libgomp_link_flags): Add / |
953ff289 DN |
4762 | after $gccpath. |
4763 | ||
4764 | * Makefile.am (SUBDIRS): New. | |
4765 | (libgomp_la_LDFLAGS): Add -lpthread. | |
4766 | * configure.ac (AM_INIT_AUTOMAKE): Enable dependencies. | |
4767 | * Makefile.in, aclocal.m4, config.h.in, configure: Rebuild. | |
4768 | ||
4769 | * libgomp_g.h: New file. | |
4770 | * libgomp.h: Split out all public declarations to libgomp_g.h. | |
4771 | Use pragma GCC visibility instead of ATTRIBUTE_HIDDEN. | |
4772 | * config/linux/mutex.h: Remove ATTRIBUTE_HIDDEN. | |
4773 | * config/linux/sem.h: Likewise. | |
4774 | * config/posix/sem.h: Likewise. | |
4775 | ||
4776 | * Makefile.am (AM_LDFLAGS): New. | |
4777 | (libgomp_version_script): Split out from ... | |
4778 | (libgomp_la_LDFLAGS): ... here. | |
4779 | (libgomp_version_info): New. | |
4780 | * acinclude.m4 (LIBGOMP_CHECK_TLS): Use LIBGOMP_ENABLE. | |
4781 | (LIBGOMP_ENABLE): New. | |
4782 | (LIBGOMP_CHECK_LINKER_FEATURES): New. | |
4783 | (LIBGOMP_ENABLE_SYMVERS): New. | |
4784 | * configure.ac (AC_INIT): Version 1.0. | |
4785 | (enable-version-specific-runtime-libs): Use LIBGOMP_ENABLE. | |
4786 | (enable-linux-futex): Likewise. Rename from enable-futex. | |
4787 | (libtool_VERSION): New. | |
4788 | (LIBGOMP_ENABLE_SYMVERS): Use it. | |
4789 | * configure.tgt: Check with_gnu_ld wrt have_tls optimizations. | |
4790 | * Makefile.in, aclocal.m4, configure: Rebuild. | |
4791 | ||
4792 | * config/linux/mutex.c: Include libgomp.h instead of mutex.h. | |
4793 | (gomp_mutex_unlock_slow): Fix typo. | |
4794 | * config/linux/sem.c: Similarly. | |
4795 | (gomp_sem_post_slow): Fix typo. | |
4796 | * config/linux/sem.h (gomp_sem_post_slow): Fix typo. | |
4797 | * config/linux/i486/futex.h: Remove USE_LINUX_SYSENTER code. | |
4798 | [__PIC__] (sys_futex0): Don't use tmp output in asm. | |
4799 | ||
4800 | * Makefile.am (AM_CFLAGS): Expand with XCFLAGS. | |
4801 | (libgomp_la_LDFLAGS): Add top_srcdir to path. | |
4802 | * acinclude.m4: Copy libtool.m4 stuff from libgfortran. | |
4803 | * configure.ac: Check for getloadavg. Substitute XCFLAGS and | |
4804 | XLDFLAGS. Add XCFLAGS to CFLAGS around LIBGOMP_CHECK_SYNC_BUILTINS. | |
4805 | * configure.tgt: Set XCFLAGS and XLDFLAGS instead of CFLAGS and | |
4806 | LDFLAGS. Pull enable_futex check to top-level. | |
4807 | * libgomp.h: Fix sem.h and mutex.h includes. Define ATTRIBUTE_HIDDEN. | |
4808 | * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate. | |
4809 | ||
4810 | First attempt at real configury. | |
4811 | * Makefile, config.h: Remove file. | |
4812 | * Makefile.am, Makefile.in: New file. | |
4813 | * acinclude.m4 aclocal.m4: New file. | |
4814 | * configure.ac, configure.tgt, configure: New file. | |
4815 | ||
4816 | * config/posix/lock.c: Rename from sys-lock.c. | |
4817 | * config/posix/mutex.h: Rename from sys-mutex.h. | |
4818 | * config/posix/sem.c: Rename from sys-sem.c. | |
4819 | * config/posix/sem.h: Rename from sys-sem.h. | |
4820 | * config/posix/proc.c: Rename from sys-proc.c. | |
4821 | * config/posix/time.c: Rename from sys-proc.c. | |
4822 | ||
4823 | * config/linux/mutex.c: New file. | |
4824 | * config/linux/mutex.h: New file. | |
4825 | * config/linux/sem.c: New file. | |
4826 | * config/linux/sem.h: New file. | |
4827 | * config/linux/i486/futex.h: New file. | |
4828 | * config/linux/x86_64/futex.h: New file. | |
4829 | ||
4830 | 2005-05-04 Richard Henderson <rth@redhat.com> | |
4831 | ||
4832 | * iter.c (gomp_iter_dynamic_next, gomp_iter_guided_next): New. | |
4833 | * libgomp.h: Declare them. | |
4834 | * loop.c (gomp_loop_dynamic_start, gomp_loop_guided_start, | |
4835 | gomp_loop_dynamic_next, gomp_loop_guided_next): Use them. | |
4836 | ||
4837 | 2005-05-04 Richard Henderson <rth@redhat.com> | |
4838 | ||
4839 | * libgomp-1 code drop | |
4840 | ||
4841 | 2005-05-04 Richard Henderson <rth@redhat.com> | |
4842 | ||
4843 | * iter.c (gomp_iter_static_next): Return tri-state on 0. | |
4844 | * ordered.c (gomp_ordered_static_next): Remove not_last argument. | |
4845 | * libgomp.h (struct gomp_team_state): Make static_trip unsigned. | |
4846 | (gomp_iter_static_next): Update. | |
4847 | (gomp_ordered_static_next): Update. | |
4848 | * loop.c (gomp_loop_static_start): Update for gomp_iter_static_next. | |
4849 | (gomp_loop_ordered_static_start): Likewise. Exit early for a | |
4850 | totally empty range. | |
4851 | (gomp_loop_ordered_static_next): Refine test for calling | |
4852 | gomp_ordered_static_next. | |
4853 | * testsuite/ordered-1.c: Add case for more threads than iterations. | |
4854 | ||
4855 | * iter.c (gomp_iter_runtime_next_locked): Remove. | |
4856 | * loop.c (gomp_loop_static_start, gomp_loop_dynamic_start, | |
a1daed2d | 4857 | gomp_loop_guided_start, gomp_loop_ordered_static_start, |
953ff289 DN |
4858 | gomp_loop_ordered_dynamic_start, gomp_loop_ordered_guided_start, |
4859 | gomp_loop_static_next, gomp_loop_dynamic_next, gomp_loop_guided_next, | |
4860 | gomp_loop_ordered_static_next, gomp_loop_ordered_dynamic_next, | |
4861 | gomp_loop_ordered_guided_next): Downcase name, make static, add | |
4862 | an external alias with the old name. | |
4863 | (GOMP_loop_runtime_start, GOMP_loop_ordered_runtime_start, | |
4864 | GOMP_loop_runtime_next, GOMP_loop_ordered_runtime_next): Use a | |
4865 | switch and call one of the above static functions. | |
4866 | * libgomp.h: Update. | |
4867 | ||
4868 | * work.c (gomp_work_share_start): Lock the mutex for !first too. | |
4869 | * loop.c (GOMP_loop_static_start, GOMP_loop_dynamic_start, | |
4870 | GOMP_loop_guided_start, GOMP_loop_runtime_start, | |
4871 | GOMP_loop_ordered_static_start, GOMP_loop_ordered_dynamic_start, | |
4872 | GOMP_loop_ordered_guided_start): Update to match. | |
4873 | * sections.c (GOMP_sections_start): Likewise. | |
4874 | * single.c (GOMP_single_start, GOMP_single_copy_start): Likewise. | |
4875 | ||
4876 | * ordered.c (gomp_ordered_first, gomp_ordered_last, gomp_ordered_next, | |
4877 | gomp_ordered_static_init, gomp_ordered_static_next): Rename s/_loop//. | |
4878 | Use bounds check instead of modulus. | |
4879 | (gomp_ordered_sync): Split out of GOMP_ordered_start. | |
4880 | (gomp_ordered_last): Don't sync with ordered_owner here. | |
4881 | (gomp_ordered_next): Likewise. | |
4882 | (gomp_ordered_static_loop_next): Likewise. | |
4883 | * loop.c, libgomp.h: Update to match. | |
4884 | ||
4885 | * libgomp.h (GOMP_barrier): Declare. | |
4886 | ||
4887 | * testsuite/barrier-1.c: New file. | |
4888 | * testsuite/critical-1.c: New file. | |
4889 | * testsuite/ordered-2.c: New file. | |
4890 | * testsuite/ordered-1.c: New file. | |
4891 | * testsuite/sections-1.c: New file. | |
4892 | * testsuite/single-1.c: New file. | |
4893 | * testsuite/Makefile (TESTS): Add them. | |
4894 | ||
4895 | 2005-05-04 Richard Henderson <rth@redhat.com> | |
4896 | ||
4897 | * libgomp.h (struct gomp_work_share): Add ordered_owner. | |
4898 | * loop.c (GOMP_loop_static_start): If not the startup thread, | |
4899 | acquire the mutex to wait for initialization complete. | |
4900 | (GOMP_loop_ordered_static_start): Likewise. | |
4901 | (GOMP_loop_ordered_runtime_start): Likewise. | |
4902 | (GOMP_loop_ordered_static_first): Remove. | |
4903 | (GOMP_loop_ordered_dynamic_first): Remove. | |
4904 | (GOMP_loop_ordered_guided_first): Remove. | |
4905 | (GOMP_loop_ordered_runtime_first): Remove. | |
4906 | * ordered.c (gomp_ordered_loop_first): Post to own release when | |
4907 | we're the first thread. | |
4908 | (gomp_ordered_loop_last): Wait on release if not owner. | |
4909 | (gomp_ordered_loop_next): Likewise. | |
4910 | (gomp_ordered_static_loop_init): New. | |
4911 | (gomp_ordered_static_loop_next): Use ordered_owner. | |
4912 | (GOMP_ordered_start): Likewise. | |
4913 | * work.c (gomp_new_work_share): Initialize ordered_owner. | |
4914 | ||
4915 | 2005-05-03 Richard Henderson <rth@redhat.com> | |
4916 | ||
4917 | * Makefile (OPT): New. | |
4918 | (CFLAGS): Use it. | |
4919 | ||
4920 | * loop.c (GOMP_loop_end, GOMP_loop_end_nowait): New. | |
4921 | * sections.c (GOMP_sections_end, GOMP_sections_end_nowait): New. | |
4922 | * libgomp.h, libgomp.map, NOTES: Update to match. | |
4923 | ||
4924 | * team.c (struct gomp_thread_start_data): Remove ts, fn, data. | |
4925 | Add initialized and thr members. | |
4926 | (gomp_thread_start): Pause when initially spawned to wait for | |
4927 | the whole team to be created. | |
4928 | (gomp_team_start): Release team members at the end. | |
4929 | ||
4930 | * testsuite/loop-1.c (N): New. Use it instead of hardcoded 100. | |
4931 | (f_foo_1): Use GOMP_loop_end. | |
4932 | (f_foo_2): Use GOMP_loop_end_nowait. | |
4933 | ||
4934 | * testsuite/loop-2.c: New file. | |
4935 | * testsuite/Makefile (TESTS): Add it. | |
4936 | ||
4937 | 2005-05-03 Richard Henderson <rth@redhat.com> | |
4938 | ||
4939 | * iter.c (gomp_iter_static_next): Fix overflow check typo. | |
4940 | (gomp_iter_dynamic_next_locked): Fix overflow check thinko. | |
4941 | * team.c (new_team): Initialize oldest_live_gen to 1 if no | |
4942 | initial work_share. | |
4943 | ||
4944 | * testsuite/Makefile: New file. | |
4945 | * testsuite/loop-1.c: New file. | |
4946 | ||
4947 | 2005-05-03 Richard Henderson <rth@redhat.com> | |
4948 | ||
4949 | Initial implementation and checkin. |