]>
Commit | Line | Data |
---|---|---|
60e1758f RH |
1 | 2006-04-25 Richard Henderson <rth@redhat.com> |
2 | ||
3 | PR libgomp/25865 | |
4 | * configure.ac: Use GCC_CHECK_TLS. | |
5 | * acinclude.m4 (LIBGOMP_CHECK_TLS): Remove. | |
6 | * Makefile.in, aclocal.m4, configure: Regenerate. | |
7 | ||
615baed7 MK |
8 | 2006-04-10 Matthias Klose <doko@debian.org> |
9 | ||
10 | * testsuite/lib/libgomp.exp (libgomp_init): Recognize multilib | |
11 | directory names containing underscores. | |
12 | ||
fae2b46b JJ |
13 | 2006-03-21 Jakub Jelinek <jakub@redhat.com> |
14 | ||
15 | PR c++/26691 | |
16 | * testsuite/libgomp.c++/pr26691.C: New test. | |
17 | ||
11a5f608 JJ |
18 | 2006-03-13 Jakub Jelinek <jakub@redhat.com> |
19 | ||
20 | * testsuite/libgomp.fortran/retval2.f90: New test. | |
21 | ||
1799e5d5 RH |
22 | 2006-03-09 Diego Novillo <dnovillo@redhat.com> |
23 | ||
24 | * testsuite/libgomp.c++: New directory. | |
25 | ||
d349482e AT |
26 | 2006-02-25 Shantonu Sen <ssen@opendarwin.org> |
27 | ||
28 | * config/posix/sem.h: Define BROKEN_POSIX_SEMAPHORES functions. | |
29 | * config/posix/sem.c: Implement the above. | |
30 | ||
31 | 2006-02-25 Andreas Tobler <a.tobler@schweiz.ch> | |
32 | ||
33 | * configure.ac (HAVE_BROKEN_POSIX_SEMAPHORES): Check for darwin and | |
34 | define HAVE_BROKEN_POSIX_SEMAPHORES. | |
35 | * configure: Rebuilt. | |
36 | * config.h.in: Rebuilt. | |
37 | ||
124452c9 FXC |
38 | 2006-02-17 Francois-Xavier Coudert <coudert@clipper.ens.fr> |
39 | ||
40 | PR bootstrap/26161 | |
41 | * configure.ac: Remove AC_CHECK_HEADER for pthread.h. Add comment | |
42 | for the other pthread check. | |
43 | * configure: Regenerate. | |
44 | * config.h.in: Regenerate. | |
45 | ||
dd8d6dfe JJ |
46 | 2006-02-15 Jakub Jelinek <jakub@redhat.com> |
47 | ||
48 | PR libgomp/25938 | |
49 | PR libgomp/25984 | |
50 | * Makefile.am (fincludedir): New variable. | |
51 | (nodist_include_HEADERS): Remove Fortran files. | |
52 | (nodist_finclude_HEADERS): New variable. | |
53 | * Makefile.in: Regenerated. | |
54 | ||
6c7a4dfd JJ |
55 | 2006-02-13 Jakub Jelinek <jakub@redhat.com> |
56 | ||
57 | * testsuite/libgomp.fortran/vla7.f90: Add -w to options. | |
58 | Remove tests for returning assumed character length arrays. | |
59 | ||
5142e08b RS |
60 | 2006-02-12 Roger Sayle <roger@eyesopen.com> |
61 | John David Anglin <dave@hiauly1.hia.nrc.ca> | |
62 | ||
63 | PR libgomp/25936 | |
64 | * configure.tgt: Link against -lrt for sem_init on HPUX v11 systems. | |
65 | ||
5821fba8 UW |
66 | 2006-02-08 Ulrich Weigand <uweigand@de.ibm.com> |
67 | ||
68 | * testsuite/lib/libgomp-dg.exp: Load scanrtl.exp library. | |
69 | ||
cb2bbc67 EB |
70 | 2006-02-07 Eric Botcazou <ebotcazou@libertysurf.fr> |
71 | ||
72 | * testsuite/lib/libgomp-dg.exp (libgomp_init): Compute multilib related | |
73 | part of LD_LIBRARY_PATH manually. | |
74 | ||
f05ee80c L |
75 | 2006-02-03 H.J. Lu <hongjiu.lu@intel.com> |
76 | ||
77 | PR libgomp/25852 | |
78 | * testsuite/lib/libgomp-dg.exp (blddir): Set it in | |
79 | libgomp_init. | |
80 | ||
03b8fe49 PB |
81 | 2005-01-25 Paolo Bonzini <bonzini@gnu.org> |
82 | ||
83 | PR libgomp/25884 | |
f05ee80c L |
84 | * Makefile.am (omp.h, omp_lib.h, omp_lib.f90, libgomp_f.h): Remove. |
85 | * configure.ac (PERL): Don't set. | |
86 | (gstdint.h, omp.h, omp_lib.h, omp_lib.f90, libgomp_f.h): Create here. | |
87 | (OMP_LOCK_SIZE, OMP_LOCK_ALIGN, OMP_LOCK_KIND, OMP_NEST_LOCK_SIZE, | |
88 | OMP_NEST_LOCK_ALIGN, OMP_NEST_LOCK_KIND): New substitutions. | |
89 | * omp.h.in: Wrap the new configure substitutions with @ characters. | |
90 | * omp_lib.h.in, omp_lib.f90.in, libgomp_f.h.in: Likewise. | |
91 | * aclocal.m4, configure, Makefile.in: Regenerate. | |
92 | * mkomp_h.pl: Delete. | |
03b8fe49 | 93 | |
18cbfd85 PB |
94 | 2005-01-24 Paolo Bonzini <bonzini@gnu.org> |
95 | ||
96 | PR libgomp/25259 | |
97 | * configure.ac: Use GCC_HEADER_STDINT. | |
98 | * libgomp.h: Include gstdint.h. | |
99 | * libgomp_f.h.in: Don't include stdint.h or inttypes.h. | |
100 | * configure, Makefile.in, testsuite/Makefile.in, aclocal.m4: Rebuild. | |
101 | ||
c41303c6 RH |
102 | 2006-01-24 Richard Henderson <rth@redhat.com> |
103 | ||
104 | PR libgomp/25942 | |
105 | * configure.ac: Add AM_MAINTAINER_MODE. | |
106 | * Makefile.in, aclocal.m4, configure, testsuite/Makefile.in: Rebuild. | |
107 | ||
149b9553 DN |
108 | 2006-01-24 Diego Novillo <dnovillo@redhat.com> |
109 | ||
110 | * Makefile.in: Regenerate. | |
111 | * testsuite/Makefile.in: Regenerate. | |
112 | * aclocal.m4: Regenerate. | |
113 | ||
192a50ad AT |
114 | 2006-01-23 Andreas Tobler <a.tobler@schweiz.ch> |
115 | ||
116 | * config/posix/proc.c: Conditional include of sys/loadavg.h for | |
117 | Solaris. | |
118 | * configure.ac: Add check for loadavg.h. | |
119 | (link_gomp): Adjust comment. | |
120 | * configure: Regenerate. | |
121 | * config.h.in: Regenerate. | |
122 | ||
a55b8e18 SE |
123 | 2006-01-21 Steve Ellcey <sje@cup.hp.com> |
124 | ||
125 | PR libgomp/25877 | |
126 | * configure.ac: Remove check for alloca.h. | |
127 | * configure: Regenerate. | |
128 | * config.h.in: Regenerate. | |
129 | * libgomp.h: define gomp_alloca to be __builtin_alloca. | |
130 | * team.c: Remove use of alloca.h. | |
131 | Call gomp_alloca instead of alloca. | |
132 | ||
692eeb34 SE |
133 | 2006-01-20 Steve Ellcey <sje@cup.hp.com> |
134 | ||
135 | PR libgomp/25877 | |
136 | * team.c: Add include of alloca.h. | |
137 | * configure.ac: Add check for alloca.h. | |
138 | * configure: Regenerate. | |
139 | * config.h.in: Regenerate. | |
140 | ||
953ff289 DN |
141 | 2006-01-17 Jakub Jelinek <jakub@redhat.com> |
142 | ||
143 | PR fortran/25219 | |
144 | * testsuite/libgomp.fortran/pr25219.f90: New test. | |
145 | ||
146 | 2005-12-05 Uros Bizjak <uros@kss-loka.si> | |
147 | ||
148 | * testsuite/libgomp.c/pr24455.c, testsuite/libgomp.c/copyin-1.c, | |
149 | testsuite/libgomp.c/copyin-2.c, testsuite/libgomp.c/copyin-3.c, | |
150 | testsuite/libgomp.c++/copyin-1.C, testsuite/libgomp.c++/copyin-2.C, | |
151 | testsuite/libgomp.c++/ctor-5.C, testsuite/libgomp.c++/ctor-8.C, | |
152 | testsuite/libgomp.c++/ctor-9.C, testsuite/libgomp.c++/pr24455.C, | |
153 | testsuite/libgomp.fortran/threadprivate1.f90, | |
154 | testsuite/libgomp.fortran/threadprivate2.f90, | |
155 | testsuite/libgomp.fortran/threadprivate3.f90, | |
156 | testsuite/libgomp.fortran/appendix-a/a.22.7.f9, | |
157 | testsuite/libgomp.fortran/appendix-a/a.22.8.f9, | |
158 | testsuite/libgomp.fortran/omp_parse3.f90: Change required | |
159 | effective-target to TLS runtime. | |
160 | ||
161 | * testsuite/libgomp.fortran/pr25162.f: Require | |
162 | effective-target TLS runtime. | |
163 | ||
164 | 2005-12-01 Jakub Jelinek <jakub@redhat.com> | |
165 | ||
166 | * testsuite/libgomp.fortran/nestedfn2.f90: New test. | |
167 | * testsuite/libgomp.c/nestedfn-3.c: New test. | |
168 | ||
169 | 2005-11-30 Jakub Jelinek <jakub@redhat.com> | |
170 | ||
171 | PR fortran/25162 | |
172 | * testsuite/libgomp.fortran/pr25162.f: New test. | |
173 | ||
174 | 2005-11-28 Jakub Jelinek <jakub@redhat.com> | |
175 | ||
176 | * config/posix/time.c (omp_get_wtime, omp_get_wtick): Fall back to | |
177 | CLOCK_REALTIME if clock_* (CLOCK_MONOTONIC, &ts) call failed. | |
178 | ||
179 | 2005-11-25 Jakub Jelinek <jakub@redhat.com> | |
180 | ||
181 | * alloc.c, barrier.c, critical.c, env.c, error.c, fortran.c, iter.c, | |
182 | libgomp.h, libgomp_f.h.in, libgomp_g.h, loop.c, mkomp_h.pl, omp.h.in, | |
183 | omp_lib.f90.in, omp_lib.h.in, ordered.c, parallel.c, sections.c, | |
184 | single.c, team.c, work.c, config/linux/alpha/futex.h, | |
185 | config/linux/bar.c, config/linux/bar.h, config/linux/ia64/futex.h, | |
186 | config/linux/lock.c, config/linux/mutex.c, config/linux/mutex.h, | |
187 | config/linux/powerpc/futex.h, config/linux/s390/futex.h, | |
188 | config/linux/sem.c, config/linux/sem.h, config/linux/sparc/futex.h, | |
189 | config/linux/x86/futex.h, config/posix/bar.c, config/posix/bar.h, | |
190 | config/posix/lock.c, config/posix/mutex.h, config/posix/proc.c, | |
191 | config/posix/sem.c, config/posix/sem.h, config/posix/time.c: Update | |
192 | FSF address. | |
193 | ||
194 | 2005-11-18 Jakub Jelinek <jakub@redhat.com> | |
195 | ||
196 | * Makefile.am: Move libgomp_f.h from nodist_include_HEADERS | |
197 | to nodist_noinst_HEADERS. | |
198 | * Makefile.in: Rebuilt. | |
199 | ||
200 | * config/posix/omp-lock.h (omp_nest_lock_t): Change into struct, | |
201 | add integer count field. | |
202 | * config/posix/lock.c (omp_destroy_nest_lock): Adjust for | |
203 | omp_nest_lock_t type change. | |
204 | (omp_init_nest_lock): Likewise. Initialize count to 0. | |
205 | (omp_set_nest_lock): Adjust for omp_nest_lock_t type change. | |
206 | Increment count. | |
207 | (omp_unset_nest_lock): Adjust for omp_nest_lock_t type change. | |
208 | Decrement count. | |
209 | (omp_test_nest_lock): Adjust for omp_nest_lock_t type change. | |
210 | Increment count if successful and return the new nesting level. | |
211 | * config/linux/lock.c (omp_test_nest_lock): Return new nesting level. | |
212 | * omp_lib.f90.in (omp_test_lock): Fix LOCK argument type. | |
213 | * testsuite/libgomp.c/lib-1.c: New test. | |
214 | * testsuite/libgomp.fortran/lib1.f90: New test. | |
215 | * testsuite/libgomp.fortran/lib2.f: New test. | |
216 | * testsuite/libgomp.fortran/lib3.f: New test. | |
217 | ||
218 | 2005-11-17 Richard Henderson <rth@redhat.com> | |
219 | ||
220 | PR 24845 | |
221 | * Makefile.am (nodist_toolexeclib_HEADERS): New. | |
222 | * configure.ac (link_gomp): New. Substitute it. | |
223 | (AC_CONFIG_FILES): Add libgomp.spec. | |
224 | * libgomp.spec.in: New file. | |
225 | * Makefile.in, testsuite/Makefile.in, configure: Rebuild. | |
226 | * testsuite/lib/libgomp-dg.exp: Add -B${blddir}/ to flags. | |
227 | ||
228 | 2005-11-18 Jakub Jelinek <jakub@redhat.com> | |
229 | ||
230 | * testsuite/libgomp.fortran/reduction1.f90: Adjust for | |
231 | reduction(-:var) behaving the same as reduction(+:var). | |
232 | * testsuite/libgomp.c/reduction-4.c: New test. | |
233 | ||
234 | 2005-11-15 Uros Bizjak <uros@kss-loka.si> | |
235 | ||
236 | * testsuite/libgomp.c/pr24455-1.c, testsuite/libgomp.c/pr24455.c, | |
237 | testsuite/libgomp.c/copyin-1.c, testsuite/libgomp.c/copyin-2.c, | |
238 | testsuite/libgomp.c/copyin-3.c, | |
239 | testsuite/libgomp.c++/copyin-1.C, testsuite/libgomp.c++/copyin-2.C, | |
240 | testsuite/libgomp.c++/ctor-5.C, testsuite/libgomp.c++/ctor-8.C, | |
241 | testsuite/libgomp.c++/ctor-9.C, testsuite/libgomp.c++/pr24455-1.C, | |
242 | testsuite/libgomp.c++/pr24455.C, | |
243 | testsuite/libgomp.fortran/threadprivate1.f90, | |
244 | testsuite/libgomp.fortran/threadprivate2.f90, | |
245 | testsuite/libgomp.fortran/threadprivate3.f90, | |
246 | testsuite/libgomp.fortran/appendix-a/a.22.7.f9, | |
247 | testsuite/libgomp.fortran/appendix-a/a.22.8.f9, | |
248 | testsuite/libgomp.fortran/omp_parse3.f90: Require | |
249 | effective-target TLS. | |
250 | ||
251 | 2005-11-14 Diego Novillo <dnovillo@redhat.com> | |
252 | ||
253 | * HEADER: Remove. | |
254 | ||
255 | 2005-11-13 Jakub Jelinek <jakub@redhat.com> | |
256 | ||
257 | PR libgomp/24797 | |
258 | * team.c (initialize_team): Pass NULL rather than free as | |
259 | pthread_key_create destructor. Initialize thread specific data | |
260 | pointer in initial thread to a static local variable rather than | |
261 | malloced memory. | |
262 | ||
263 | 2005-11-11 Uros Bizjak <uros@kss-loka.si> | |
264 | ||
265 | * testsuite/lib/libgomp-dg.exp: Locate libgcc.a and append | |
266 | its location to ld_library_path. | |
267 | ||
268 | 2005-11-10 Diego Novillo <dnovillo@redhat.com> | |
269 | ||
270 | * testsuite/libgomp.c/c.exp: Rename from dg.exp. | |
271 | ||
272 | 2005-11-10 Diego Novillo <dnovillo@redhat.com> | |
273 | ||
274 | * testsuite/libgomp.c: Rename from libgomp.dg. | |
275 | ||
276 | 2005-11-09 Diego Novillo <dnovillo@redhat.com> | |
277 | ||
278 | * testsuite/libgomp.c++/pr24455.C: Add copyin clause for | |
279 | threadprivate variable 'i'. | |
280 | ||
281 | 2005-11-09 Jakub Jelinek <jakub@redhat.com> | |
282 | ||
283 | * config/linux/s390/futex.h: New file. | |
284 | * configure.tgt: Use it. | |
285 | ||
286 | * testsuite/libgomp.fortran/omp_parse4.f90: Move n initialization | |
287 | before the parallel. | |
288 | ||
289 | 2005-11-08 Jakub Jelinek <jakub@redhat.com> | |
290 | ||
291 | PR c++/24734 | |
292 | * testsuite/libgomp.c++/master-1.C: New test. | |
293 | ||
294 | 2005-11-07 Jakub Jelinek <jakub@redhat.com> | |
295 | ||
296 | * testsuite/libgomp.dg/copyin-3.c: New test. | |
297 | ||
298 | 2005-11-07 Jakub Jelinek <jakub@redhat.com> | |
299 | ||
300 | * testsuite/libgomp.fortran/retval1.f90: New test. | |
301 | * testsuite/libgomp.fortran/vla7.f90: New test. | |
302 | ||
303 | 2005-11-06 Jakub Jelinek <jakub@redhat.com> | |
304 | ||
305 | * testsuite/libgomp.fortran/vla2.f90: New test. | |
306 | * testsuite/libgomp.fortran/vla3.f90: New test. | |
307 | * testsuite/libgomp.fortran/vla4.f90: New test. | |
308 | * testsuite/libgomp.fortran/vla5.f90: New test. | |
309 | * testsuite/libgomp.fortran/vla6.f90: New test. | |
310 | ||
311 | 2005-11-01 Jakub Jelinek <jakub@redhat.com> | |
312 | ||
313 | * config/linux/sparc/futex.h: New file. | |
314 | * configure.tgt: Use it. | |
315 | * testsuite/lib/libgomp-dg.exp: Use -mcpu=v9 for sparc testing. | |
316 | ||
317 | * critical.c: Include stdlib.h. | |
318 | * acinclude.m4 (LIBGOMP_CHECK_SYNC_BUILTINS): Avoid warnings about | |
319 | ignoring return value. | |
320 | * configure.ac: Don't put -Wc,-pthread into XCFLAGS until after | |
321 | LIBGOMP_CHECK_SYNC_BUILTINS check. | |
322 | * configure: Rebuilt. | |
323 | ||
324 | 2005-10-31 Jakub Jelinek <jakub@redhat.com> | |
325 | ||
326 | * testsuite/libgomp.fortran/vla1.f90: New test. | |
327 | ||
328 | 2005-10-31 Richard Henderson <rth@redhat.com> | |
329 | ||
330 | * testsuite/libgomp.fortran/character2.f90: Fix race condition | |
331 | setting 's' in different threads. | |
332 | ||
333 | 2005-10-31 Jakub Jelinek <jakub@redhat.com> | |
334 | ||
335 | * libgomp.h (attribute_hidden, ialias): Define. | |
336 | * config/posix/proc.c (omp_get_num_procs): Add ialias. | |
337 | * config/posix/time.c (omp_get_wtime, omp_get_wtick): Likewise. | |
338 | * config/posix/lock.c (omp_init_lock, omp_init_nest_lock, | |
339 | omp_destroy_lock, omp_destroy_nest_lock, omp_set_lock, | |
340 | omp_set_nest_lock, omp_unset_lock, omp_unset_nest_lock, | |
341 | omp_test_lock, omp_test_nest_lock): Likewise. | |
342 | * config/linux/lock.c (omp_init_lock, omp_init_nest_lock, | |
343 | omp_destroy_lock, omp_destroy_nest_lock, omp_set_lock, | |
344 | omp_set_nest_lock, omp_unset_lock, omp_unset_nest_lock, | |
345 | omp_test_lock, omp_test_nest_lock): Likewise. | |
346 | * env.c (omp_set_dynamic, omp_set_nested, omp_set_num_threads, | |
347 | omp_get_dynamic, omp_get_nested): Likewise. | |
348 | * parallel.c (omp_get_num_threads, omp_get_max_threads, | |
349 | omp_get_thread_num, omp_in_parallel): Likewise. | |
350 | * fortran.c (ialias_redirect): Define. | |
351 | (omp_init_lock, omp_init_nest_lock, omp_destroy_lock, | |
352 | omp_destroy_nest_lock, omp_set_lock, omp_set_nest_lock, | |
353 | omp_unset_lock, omp_unset_nest_lock, omp_test_lock, | |
354 | omp_test_nest_lock, omp_set_dynamic, omp_set_nested, | |
355 | omp_set_num_threads, omp_get_dynamic, omp_get_nested, | |
356 | omp_in_parallel, omp_get_max_threads, omp_get_num_procs, | |
357 | omp_get_num_threads, omp_get_thread_num, omp_get_wtick, | |
358 | omp_get_wtime): Add ialias_redirect. | |
359 | ||
360 | 2005-10-30 Jakub Jelinek <jakub@redhat.com> | |
361 | ||
362 | * fortran.c: Include stdlib.h. | |
363 | ||
364 | 2005-10-29 Jakub Jelinek <jakub@redhat.com> | |
365 | ||
366 | * Makefile.am (env.o, env.lo): Depend on libgomp_f.h. | |
367 | * Makefile.in: Regenerated. | |
368 | ||
369 | 2005-10-28 Jakub Jelinek <jakub@redhat.com> | |
370 | ||
371 | * mkomp_h.pl: Remove all -Wc, option prefixes in $COMPILE. | |
372 | * libgomp_f.h.in (omp_check_defines): New function. | |
373 | * env.c: Include libgomp_f.h. | |
374 | (initialize_env): Call omp_check_defines. | |
375 | ||
376 | * testsuite/libgomp.dg/copyin-2.c: New test. | |
377 | * testsuite/libgomp.c++/copyin-2.C: New test. | |
378 | * testsuite/libgomp.fortran/threadprivate3.f90: New test. | |
379 | ||
380 | * testsuite/libgomp.fortran/threadprivate2.f90: New test. | |
381 | * testsuite/libgomp.fortran/sharing2.f90: New test. | |
382 | ||
383 | * testsuite/libgomp.dg/copyin-1.c: New test. | |
384 | * testsuite/libgomp.c++/copyin-1.C: New test. | |
385 | ||
386 | 2005-10-26 Jakub Jelinek <jakub@redhat.com> | |
387 | ||
388 | * testsuite/libgomp.fortran/crayptr1.f90: New test. | |
389 | ||
390 | * testsuite/libgomp.fortran/workshare1.f90: New test. | |
391 | ||
392 | * libgomp.fortran/appendix-a/a.28.5.f90: Change into compile | |
393 | only test. | |
394 | * libgomp.fortran/sharing1.f90: New test. | |
395 | ||
396 | 2005-10-24 Jakub Jelinek <jakub@redhat.com> | |
397 | ||
398 | PR c++/24502 | |
399 | * testsuite/libgomp.c++/loop-7.C: New test. | |
400 | ||
401 | * testsuite/libgomp.dg/nestedfn-2.c: New test. | |
402 | ||
403 | * testsuite/libgomp.dg/nestedfn-1.c: New test. | |
404 | * testsuite/libgomp.fortran/reduction6.f90: New test. | |
405 | * testsuite/libgomp.fortran/nestedfn1.f90: New test. | |
406 | ||
407 | 2005-10-23 Richard Henderson <rth@redhat.com> | |
408 | ||
409 | * testsuite/libgomp.c++/ctor-1.C: New. | |
410 | * testsuite/libgomp.c++/ctor-2.C: New. | |
411 | * testsuite/libgomp.c++/ctor-3.C: New. | |
412 | * testsuite/libgomp.c++/ctor-4.C: New. | |
413 | * testsuite/libgomp.c++/ctor-5.C: New. | |
414 | * testsuite/libgomp.c++/ctor-6.C: New. | |
415 | * testsuite/libgomp.c++/ctor-7.C: New. | |
416 | * testsuite/libgomp.c++/ctor-8.C: New. | |
417 | * testsuite/libgomp.c++/ctor-9.C: New. | |
418 | ||
419 | 2005-10-21 Diego Novillo <dnovillo@redhat.com> | |
420 | ||
421 | PR 24455 | |
422 | * testsuite/libgomp.c++/pr24455-1.C: New test. | |
423 | * testsuite/libgomp.c++/pr24455.C: New test. | |
424 | * testsuite/libgomp.dg/pr24455-1.c: New test. | |
425 | * testsuite/libgomp.dg/pr24455.c: New test. | |
426 | ||
427 | 2005-10-20 Richard Henderson <rth@redhat.com> | |
428 | ||
429 | * testsuite/libgomp.c++/loop-6.C: New. | |
430 | * testsuite/libgomp.dg/loop-3.c: New. | |
431 | ||
432 | 2005-10-20 Jakub Jelinek <jakub@redhat.com> | |
433 | ||
434 | * testsuite/libgomp.fortran/jacobi.f: Don't make i and j | |
435 | explicitly private. | |
436 | * testsuite/libgomp.fortran/omp_parse1.f90 (test_do): Make i | |
437 | explicitly shared. | |
438 | ||
439 | 2005-10-19 Diego Novillo <dnovillo@redhat.com> | |
440 | ||
441 | * testsuite/libgomp.fortran/jacobi.f: New test. | |
442 | ||
443 | 2005-10-19 Richard Henderson <rth@redhat.com> | |
444 | ||
445 | * configure.tgt (i?86-linux): Default to with_arch instead of | |
446 | CFLAGS. Add -mtune to match target_cpu. | |
447 | (x86_64-linux): Tune to i686. | |
448 | ||
449 | * fortran.c (omp_test_nest_lock_): Fix typo. | |
450 | ||
451 | 2005-10-19 Jakub Jelinek <jakub@redhat.com> | |
452 | ||
453 | * ordered.c (gomp_ordered_first, gomp_ordered_last, gomp_ordered_next, | |
454 | gomp_ordered_sync): Do nothing if team->nthreads == 1. | |
455 | * testsuite/libgomp.dg/ordered-3.c: New test. | |
456 | ||
457 | * testsuite/libgomp.dg/appendix-a/a.18.1.c: Remove unconditional abort. | |
458 | Remove volatile keyword. | |
459 | ||
460 | * testsuite/libgomp.fortran/appendix-a/a.19.1.f90: Reorder variables | |
461 | in COMMON block to avoid warnings on 64-bit targets. | |
462 | ||
463 | 2005-10-18 Diego Novillo <dnovillo@redhat.com> | |
464 | ||
465 | * testsuite/libgomp.dg/shared-3.c: New test. | |
466 | ||
467 | 2005-10-18 Jakub Jelinek <jakub@redhat.com> | |
468 | ||
469 | * testsuite/libgomp.fortran/appendix-a/a.31.3.f90: Removed. | |
470 | * testsuite/libgomp.fortran/reduction5.f90: New test. | |
471 | ||
472 | 2005-10-18 Jakub Jelinek <jakub@redhat.com> | |
473 | ||
474 | * testsuite/libgomp.fortran/appendix-a/a.40.1.f90: Add -ffixed-form to | |
475 | dg-options. | |
476 | * testsuite/libgomp.fortran/appendix-a/a.18.1.f90: Likewise. Enable | |
477 | flush loop now that __sync_synchronize has proper memory barrier. | |
478 | * testsuite/libgomp.fortran/appendix-a/a.3.1.f90: Fix a typo. | |
479 | Add -ffixed-form to dg-options. | |
480 | ||
481 | 2005-10-17 Diego Novillo <dnovillo@redhat.com> | |
482 | ||
483 | * testsuite/libgomp.fortran/fortran.exp: Also gather tests | |
484 | from subdirectories. | |
485 | * testsuite/libgomp.fortran/appendix-a/a.15.1.f90: New test. | |
486 | * testsuite/libgomp.fortran/appendix-a/a.16.1.f90: New test. | |
487 | * testsuite/libgomp.fortran/appendix-a/a.18.1.f90: New test. | |
488 | * testsuite/libgomp.fortran/appendix-a/a.19.1.f90: New test. | |
489 | * testsuite/libgomp.fortran/appendix-a/a.2.1.f90: New test. | |
490 | * testsuite/libgomp.fortran/appendix-a/a.21.1.f90: New test. | |
491 | * testsuite/libgomp.fortran/appendix-a/a.22.7.f90: New test. | |
492 | * testsuite/libgomp.fortran/appendix-a/a.22.8.f90: New test. | |
493 | * testsuite/libgomp.fortran/appendix-a/a.26.1.f90: New test. | |
494 | * testsuite/libgomp.fortran/appendix-a/a.28.1.f90: New test. | |
495 | * testsuite/libgomp.fortran/appendix-a/a.28.2.f90: New test. | |
496 | * testsuite/libgomp.fortran/appendix-a/a.28.3.f90: New test. | |
497 | * testsuite/libgomp.fortran/appendix-a/a.28.4.f90: New test. | |
498 | * testsuite/libgomp.fortran/appendix-a/a.28.5.f90: New test. | |
499 | * testsuite/libgomp.fortran/appendix-a/a.3.1.f90: New test. | |
500 | * testsuite/libgomp.fortran/appendix-a/a.31.3.f90: New test. | |
501 | * testsuite/libgomp.fortran/appendix-a/a.31.4.f90: New test. | |
502 | * testsuite/libgomp.fortran/appendix-a/a.31.5.f90: New test. | |
503 | * testsuite/libgomp.fortran/appendix-a/a.33.3.f90: New test. | |
504 | * testsuite/libgomp.fortran/appendix-a/a.38.1.f90: New test. | |
505 | * testsuite/libgomp.fortran/appendix-a/a.39.1.f90: New test. | |
506 | * testsuite/libgomp.fortran/appendix-a/a.4.1.f90: New test. | |
507 | * testsuite/libgomp.fortran/appendix-a/a.40.1.f90: New test. | |
508 | * testsuite/libgomp.fortran/appendix-a/a.5.1.f90: New test. | |
509 | * testsuite/libgomp.fortran/appendix-a/a10.1.f90: New test. | |
510 | ||
511 | 2005-10-17 Jakub Jelinek <jakub@redhat.com> | |
512 | ||
513 | * testsuite/libgomp.dg/dg.exp: Only unset lang_* if | |
514 | lang_library_path exists. Use find instead of glob to gather tests. | |
515 | * testsuite/libgomp.dg/appendix-a/appendix-a.exp: Removed. | |
516 | ||
517 | 2005-10-17 Diego Novillo <dnovillo@redhat.com> | |
518 | ||
519 | * testsuite/libgomp.dg/appendix-a/a.15.1.c: New test. | |
520 | * testsuite/libgomp.dg/appendix-a/a.16.1.c: New test. | |
521 | * testsuite/libgomp.dg/appendix-a/a.18.1.c: New test. | |
522 | * testsuite/libgomp.dg/appendix-a/a.19.1.c: New test. | |
523 | * testsuite/libgomp.dg/appendix-a/a.2.1.c: New test. | |
524 | * testsuite/libgomp.dg/appendix-a/a.21.1.c: New test. | |
525 | * testsuite/libgomp.dg/appendix-a/a.26.1.c: New test. | |
526 | * testsuite/libgomp.dg/appendix-a/a.29.1.c: New test. | |
527 | * testsuite/libgomp.dg/appendix-a/a.3.1.c: New test. | |
528 | * testsuite/libgomp.dg/appendix-a/a.39.1.c: New test. | |
529 | * testsuite/libgomp.dg/appendix-a/a.4.1.c: New test. | |
530 | * testsuite/libgomp.dg/appendix-a/a.5.1.c: New test. | |
531 | * testsuite/libgomp.dg/appendix-a/appendix-a.exp: New file. | |
532 | ||
533 | 2005-10-15 Jakub Jelinek <jakub@redhat.com> | |
534 | ||
535 | * testsuite/libgomp.dg/vla-1.c: New test. | |
536 | ||
537 | * testsuite/libgomp.fortran/reference2.f90: New test. | |
538 | ||
539 | * testsuite/libgomp.fortran/character2.f90: Remove explicit | |
540 | declaration of omp_get_thread_num. | |
541 | * testsuite/libgomp.fortran/threadprivate1.f90: Likewise. Add | |
542 | use omp_lib. | |
543 | ||
544 | * testsuite/libgomp.fortran/reduction1.f90: New test. | |
545 | * testsuite/libgomp.fortran/reduction2.f90: New test. | |
546 | * testsuite/libgomp.fortran/reduction3.f90: New test. | |
547 | * testsuite/libgomp.fortran/reduction4.f90: New test. | |
548 | ||
549 | 2005-10-13 Richard Henderson <rth@redhat.com> | |
550 | ||
551 | * Makefile.am (libgomp_la_SOURCES): Add bar.c. | |
552 | * Makefile.in: Regenerate. | |
553 | * barrier.c (GOMP_barrier): Use gomp_barrier_wait. | |
554 | * libgomp.h: Include bar.h. | |
555 | (struct gomp_barrier): Remove. | |
556 | (struct gomp_team): Add barrier. Replace master_barrier with | |
557 | master_release. Replace threads with ordered_release. | |
558 | (struct gomp_thread): Replace barrier with release. | |
559 | * ordered.c (gomp_ordered_first): Update for ordered_release change. | |
560 | (gomp_ordered_last, gomp_ordered_next, gomp_ordered_static_init, | |
561 | gomp_ordered_static_next, gomp_ordered_sync): Likewise. | |
562 | * single.c (GOMP_single_copy_start): Use gomp_barrier_wait. | |
563 | (GOMP_single_copy_end): Likewise. | |
564 | * team.c (gomp_threads_dock): New. | |
565 | (gomp_barrier_init, gomp_barrier_destroy): Remove. | |
566 | (gomp_thread_start): Use gomp_barrier_wait. | |
567 | (new_team, free_team): Update for gomp_team changes. | |
568 | (gomp_team_start): Use gomp_barrier_wait and gomp_barrier_reinit. | |
569 | (gomp_team_end): Use gomp_barrier_wait. | |
570 | (initialize_team): Update for gomp_thread changes. | |
571 | * work.c (gomp_work_share_end): Use gomp_barrier_wait_start. | |
572 | (gomp_work_share_end_nowait): Use atomic ops when available. | |
573 | * config/linux/bar.c, config/linux/bar.h: New files. | |
574 | * config/posix/bar.c, config/posix/bar.h: New files. | |
575 | ||
576 | 2005-10-13 Jakub Jelinek <jakub@redhat.com> | |
577 | ||
578 | * single.c (GOMP_single_copy_end): Don't segfault if team is NULL. | |
579 | * testsuite/libgomp.dg/single-2.c: New test. | |
580 | ||
581 | * testsuite/libgomp.dg/dg.exp (lang_library_path, lang_test_file, | |
582 | lang_link_flags): Unset, so that they aren't inherited from previously | |
583 | sourced *.exp. | |
584 | ||
585 | * testsuite/libgomp.fortran/threadprivate1.f90: New test. | |
586 | ||
587 | 2005-10-12 Richard Henderson <rth@redhat.com> | |
588 | ||
589 | * testsuite/lib/libgomp-dg.exp: Set blddir at toplevel. | |
590 | (libgomp_init): Use lang_test_file, lang_library_path, and | |
591 | lang_link_flags, set by the subdirectory files. Add -fopenmp here. | |
592 | ||
593 | * testsuite/libgomp.fortran/fortran.exp (lang_library_path): New. | |
594 | (lang_test_file, lang_link_flags): New. | |
595 | (DEFAULT_FFLAGS, ALWAYS_CFLAGS, multilibs, blddir): Remove. | |
596 | ||
597 | * testsuite/libgomp.c++/c++.exp, testsuite/libgomp.c++/loop-1.C, | |
598 | testsuite/libgomp.c++/loop-2.C, testsuite/libgomp.c++/loop-3.C, | |
599 | testsuite/libgomp.c++/loop-4.C, testsuite/libgomp.c++/nested-1.C, | |
600 | testsuite/libgomp.c++/parallel-1.C, | |
601 | testsuite/libgomp.c++/reduction-1.C, | |
602 | testsuite/libgomp.c++/reduction-2.C, | |
603 | testsuite/libgomp.c++/reduction-3.C, | |
604 | testsuite/libgomp.c++/sections-1.C, testsuite/libgomp.c++/shared-1.C, | |
605 | testsuite/libgomp.c++/shared-2.C, testsuite/libgomp.c++/single-1.C, | |
606 | testsuite/libgomp.c++/single-2.C, testsuite/libgomp.c++/single-3.C: | |
607 | New files, largely cribbed from the C testsuite. | |
608 | ||
609 | 2005-10-12 Jakub Jelinek <jakub@redhat.com> | |
610 | ||
611 | * testsuite/libgomp.fortran/character1.f90: New test. | |
612 | * testsuite/libgomp.fortran/character2.f90: New test. | |
613 | ||
614 | * testsuite/libgomp.dg/nested-1.c: New test. | |
615 | * testsuite/libgomp.dg/nested-2.c: New test. | |
616 | * testsuite/libgomp.fortran/do1.f90: New test. | |
617 | * testsuite/libgomp.fortran/do2.f90: New test. | |
618 | ||
619 | * testsuite/libgomp.fortran/reference1.f90: New test. | |
620 | ||
621 | 2005-10-11 Jakub Jelinek <jakub@redhat.com> | |
622 | ||
623 | * testsuite/libgomp.dg/reduction-1.c: New test. | |
624 | * testsuite/libgomp.dg/reduction-2.c: New test. | |
625 | * testsuite/libgomp.dg/reduction-3.c: New test. | |
626 | ||
627 | 2005-10-10 Jakub Jelinek <jakub@redhat.com> | |
628 | ||
629 | * testsuite/libgomp.dg/atomic-1.c: New test. | |
630 | * testsuite/libgomp.dg/atomic-2.c: New test. | |
631 | ||
632 | 2005-10-09 Richard Henderson <rth@redhat.com> | |
633 | ||
634 | * critical.c (atomic_lock): New. | |
635 | (initialize_critical): Initialize it. | |
636 | (GOMP_atomic_start, GOMP_atomic_end): New. | |
637 | * libgomp.map: Export them. | |
638 | * libgomp_g.h: Declare them. | |
639 | ||
640 | * testsuite/libgomp.dg/atomic-10.c: Move from gcc testsuite. | |
641 | ||
642 | 2005-10-02 Richard Henderson <rth@redhat.com> | |
643 | ||
644 | * configure.ac: Move save_CFLAGS hack earlier. Append -Wall/-Werror | |
645 | to XCFLAGS instead of CFLAGS. | |
646 | ||
647 | 2005-09-30 Richard Henderson <rth@redhat.com> | |
648 | ||
649 | * configure.ac: Determine whether -pthread or -lpthread is needed. | |
650 | * Makefile.am (libgomp_la_LDFLAGS): Remove explicit -lpthread. | |
651 | * Makefine.in, configure: Rebuild. | |
652 | ||
653 | 2005-09-28 Richard Henderson <rth@redhat.com> | |
654 | ||
655 | * testsuite/libgomp.dg/omp-loop03.c: Fix return code. | |
656 | * testsuite/libgomp.dg/omp-single-3.c: New test. | |
657 | ||
658 | 2005-09-28 Diego Novillo <dnovillo@redhat.com> | |
659 | ||
660 | * testsuite/libgomp.dg/omp-single-2.c: New test. | |
661 | * testsuite/libgomp.dg/shared-2.c: Fix return code. | |
662 | ||
663 | 2005-09-27 Richard Henderson <rth@redhat.com> | |
664 | ||
665 | * testsuite/libgomp.dg/omp-loop03.c: Add initial barrier. | |
666 | * testsuite/libgomp.dg/omp-parallel-for.c: Specify static schedule. | |
667 | ||
668 | 2005-09-27 Jakub Jelinek <jakub@redhat.com> | |
669 | ||
670 | * testsuite/libgomp.dg/omp-loop03.c: New test. | |
671 | ||
672 | 2005-09-27 Diego Novillo <dnovillo@redhat.com> | |
673 | ||
674 | * testsuite/libgomp.dg/omp-parallel-for.c: New test. | |
675 | ||
676 | 2005-09-27 Diego Novillo <dnovillo@redhat.com> | |
677 | ||
678 | * testsuite/libgomp.dg/omp-single-1.c: New test. | |
679 | * testsuite/libgomp.dg/shared-1.c: Return 0. | |
680 | Add prototype for abort. | |
681 | * testsuite/libgomp.dg/shared-2.c: Likewise. | |
682 | ||
683 | 2005-09-26 Jakub Jelinek <jakub@redhat.com> | |
684 | ||
685 | * testsuite/libgomp.fortran/omp_parse3.f90: Fix non-conforming | |
686 | constructs. | |
687 | ||
688 | 2005-09-26 Diego Novillo <dnovillo@redhat.com> | |
689 | ||
690 | * testsuite/libgomp.dg/shared-1.c: New test. | |
691 | * testsuite/libgomp.dg/shared-2.c: New test. | |
692 | ||
693 | 2005-09-24 Richard Henderson <rth@redhat.com> | |
694 | ||
695 | * testsuite/libgomp.dg/omp_workshare3.c: Mark dg-error. | |
696 | ||
697 | 2005-09-24 Richard Henderson <rth@redhat.com> | |
698 | ||
699 | * iter.c (gomp_iter_static_next): Round up when computing number | |
700 | of iterations. Don't bother distributing a remainder equally. | |
701 | ||
702 | * testsuite/libgomp.dg/omp-loop01.c (main1): Rename from main. | |
703 | Don't call srand. Zero b before testing. | |
704 | (main): New. | |
705 | ||
706 | 2005-09-24 Jakub Jelinek <jakub@redhat.com> | |
707 | ||
708 | * testsuite/libgomp.fortran/omp_atomic1.f90: New test. | |
709 | * testsuite/libgomp.fortran/omp_atomic2.f90: New test. | |
710 | ||
711 | 2005-09-23 Jakub Jelinek <jakub@redhat.com> | |
712 | ||
713 | * testsuite/libgomp.fortran/omp_parse1.f90: Add a test for !$omp do | |
714 | without !$omp end do, followed immediately by subroutine end. | |
715 | ||
716 | 2005-09-23 Diego Novillo <dnovillo@redhat.com> | |
717 | ||
718 | * testsuite/libgomp.dg/omp-parallel-if.c: New test. | |
719 | ||
720 | 2005-09-22 Richard Henderson <rth@redhat.com> | |
721 | ||
722 | * critical.c (GOMP_critical_name_start): Change argument to void**. | |
723 | Reuse the pointer space if the mutex fits. | |
724 | (GOMP_critical_name_end): Likewise. | |
725 | (initialize_critical): Don't define if GOMP_MUTEX_INIT_0. | |
726 | * libgomp_g.h (GOMP_critical_name_start): Update decl. | |
727 | (GOMP_critical_name_end): Likewise. | |
728 | * config/linux/mutex.h (GOMP_MUTEX_INIT_0): New. | |
729 | * config/posix/mutex.h (GOMP_MUTEX_INIT_0): New. | |
730 | ||
731 | 2005-09-20 Richard Henderson <rth@redhat.com> | |
732 | ||
733 | * critical.c (GOMP_critical_name_start, GOMP_critical_name_end): New. | |
734 | (create_lock_lock): New. | |
735 | (initialize_critical): Initialize it. | |
736 | * libgomp.map (GOMP_critical_name_start, GOMP_critical_name_end): New. | |
737 | * libgomp_g.h (GOMP_ordered_start, GOMP_ordered_end): Declare. | |
738 | ||
739 | 2005-09-20 Diego Novillo <dnovillo@redhat.com> | |
740 | ||
741 | * testsuite/libgom.dg/omp-loop01.c: Include stdio.h. | |
742 | ||
743 | 2005-09-20 Diego Novillo <dnovillo@redhat.com> | |
744 | ||
745 | * testsuite/libgomp.dg/omp-loop01.c: New test. | |
746 | * testsuite/libgomp.dg/omp-loop02.c: New test. | |
747 | ||
748 | 2005-09-20 Jakub Jelinek <jakub@redhat.com> | |
749 | ||
750 | * configure.ac (AC_PROG_FC): Add. | |
751 | (USE_FORTRAN): New automake conditional. | |
752 | * configure: Rebuilt. | |
753 | * Makefile.am (libgomp_la_SOURCES): Add fortran.c. | |
754 | (nodist_include_HEADERS): Add omp_lib.h, omp_lib.f90 and libgomp_f.h. | |
755 | If USE_FORTRAN, add also omp_lib.mod and omp_lib_kinds.mod. | |
756 | Add rules to build them. | |
757 | * Makefile.in: Rebuilt. | |
758 | * mkomp_h.pl: Compute and replace also OMP_LOCK_KIND and | |
759 | OMP_NEST_LOCK_KIND. | |
760 | * libgomp.map: Add Fortran wrappers. | |
761 | * libgomp_f.h.in: New file. | |
762 | * omp_lib.h.in: New file. | |
763 | * omp_lib.f90.in: New file. | |
764 | * fortran.c: New file. | |
765 | * testsuite/lib/libgomp-dg.exp: Load a few more .exp files. | |
766 | Append libgfortran directory to LD_LIBRARY_PATH if it exists. | |
767 | Add -Lpath_to_libgfortran and -lgfortran -lgfortranbegin if | |
768 | libgfortran has been built. | |
769 | * testsuite/libgomp.fortran/fortran.exp: New file. | |
770 | * testsuite/libgomp.fortran/omp_cond1.f: New test. | |
771 | * testsuite/libgomp.fortran/omp_cond2.f: New test. | |
772 | * testsuite/libgomp.fortran/omp_cond3.F90: New test. | |
773 | * testsuite/libgomp.fortran/omp_cond4.F90: New test. | |
774 | * testsuite/libgomp.fortran/omp_hello.f: New test. | |
775 | * testsuite/libgomp.fortran/omp_orphan.f: New test. | |
776 | * testsuite/libgomp.fortran/omp_parse1.f90: New test. | |
777 | * testsuite/libgomp.fortran/omp_parse2.f90: New test. | |
778 | * testsuite/libgomp.fortran/omp_parse3.f90: New test. | |
779 | * testsuite/libgomp.fortran/omp_parse4.f90: New test. | |
780 | * testsuite/libgomp.fortran/omp_reduction.f: New test. | |
781 | * testsuite/libgomp.fortran/omp_workshare1.f: New test. | |
782 | * testsuite/libgomp.fortran/omp_workshare2.f: New test. | |
783 | ||
784 | 2005-08-30 Richard Henderson <rth@redhat.com> | |
785 | ||
786 | * loop.c (GOMP_loop_static_start): Provide fallback wrapper | |
787 | function for when aliases are not usable. | |
788 | (GOMP_loop_dynamic_start, GOMP_loop_guided_start, | |
789 | GOMP_loop_ordered_static_start, GOMP_loop_ordered_dynamic_start, | |
790 | GOMP_loop_ordered_guided_start, GOMP_loop_static_next, | |
791 | GOMP_loop_dynamic_next, GOMP_loop_guided_next, | |
792 | GOMP_loop_ordered_static_next, GOMP_loop_ordered_dynamic_next, | |
793 | GOMP_loop_ordered_guided_next): Likewise. | |
794 | * ordered.c (GOMP_ordered_start): Likewise. | |
795 | ||
796 | 2005-08-01 Diego Novillo <dnovillo@redhat.com> | |
797 | ||
798 | * testsuite/libgomp.dg/dg.exp: Use -O2 for now. | |
799 | * testsuite/libgomp.dg/omp_hello.c: Fix return code | |
800 | * testsuite/libgomp.dg/omp_matvec.c: Likewise. | |
801 | * testsuite/libgomp.dg/omp_orphan.c: Likewise | |
802 | * testsuite/libgomp.dg/omp_reduction.c: Likewise | |
803 | * testsuite/libgomp.dg/omp_workshare1.c: Likewise | |
804 | * testsuite/libgomp.dg/omp_workshare2.c: Likewise | |
805 | * testsuite/libgomp.dg/omp_workshare3.c: Likewise | |
806 | * testsuite/libgomp.dg/omp_workshare4.c: Likewise | |
807 | ||
808 | 2005-07-07 Eric Christopher <echristo@redhat.com> | |
809 | Diego Novillo <dnovillo@redhat.com> | |
810 | ||
811 | * testsuite/libgomp.dg/dg.exp: Add -fopenmp to DEFAULT_CFLAGS. | |
812 | * testsuite/libgomp.dg/omp_hello.c: Add standard includes, fix | |
813 | up code. | |
814 | * testsuite/libgomp.dg/omp_matvec.c: Ditto. | |
815 | * testsuite/libgomp.dg/omp_orphan.c: Ditto. | |
816 | * testsuite/libgomp.dg/omp_reduction.c: Ditto. | |
817 | * testsuite/libgomp.dg/omp_workshare1.c: Ditto. | |
818 | * testsuite/libgomp.dg/omp_workshare2.c: Ditto. | |
819 | * testsuite/libgomp.dg/omp_workshare3.c: Ditto. | |
820 | * testsuite/libgomp.dg/omp_workshare4.c: Ditto. | |
821 | ||
822 | 2005-06-13 Diego Novillo <dnovillo@redhat.com> | |
823 | ||
824 | * TOPLEVEL.patch: Remove. | |
825 | ||
826 | 2005-05-16 Richard Henderson <rth@redhat.com> | |
827 | ||
828 | * configure.ac: Test for clock_gettime. | |
829 | * config.h.in, configure: Rebuild. | |
830 | * config/posix/time.c: Use recommended TIME_WITH_SYS_TIME pattern. | |
831 | (omp_get_wtime): Use clock_gettime if available. | |
832 | (omp_get_wtick): Use clock_getres if available. | |
833 | ||
834 | 2005-05-11 Richard Henderson <rth@redhat.com> | |
835 | ||
836 | * config/linux/ia64/futex.h: New file. | |
837 | * configure.tgt: Use it. | |
838 | ||
839 | * team.c (gomp_barrier_init, gomp_barrier_destroy): Mark inline. | |
840 | ||
841 | 2005-05-07 Richard Henderson <rth@redhat.com> | |
842 | ||
843 | * config/linux/powerpc/futex.h: New file. | |
844 | * configure.tgt: Use it. | |
845 | ||
846 | * config/linux/i486/futex.h: Merge ... | |
847 | * config/linux/x86_64/futex.h: ... into ... | |
848 | * config/linux/x86/futex.h: ... here. | |
849 | * configure.tgt: Update to match. | |
850 | ||
851 | 2005-05-06 Richard Henderson <rth@redhat.com> | |
852 | ||
853 | * config/linux/alpha/futex.h: Conditionally define SYS_futex. | |
854 | * config/linux/i486/futex.h: Likewise. | |
855 | * config/linux/x86_64/futex.h: Likewise. | |
856 | ||
857 | * config/linux/lock.c: New file. | |
858 | * config/linux/omp-lock.h: New file. | |
859 | ||
860 | * critical.c, env.h: Don't include omp.h | |
861 | * config/posix/lock.c: Include libgomp.h instead of omp.h. | |
862 | * config/posix/time.c: Likewise. | |
863 | * config/posix/omp-lock.h: New file. | |
864 | * libgomp.h: Include omp-lock.h and omp.h. | |
865 | * Makefile.am (nodist_include_HEADERS): New. | |
866 | (omp.h): New rule. | |
867 | * configure.ac (PERL): New. | |
868 | * mkomp_h.pl: New file. | |
869 | * omp.h.in: Rename from omp.h; replace omp_lock_t and omp_nest_lock_t | |
870 | with templates. | |
871 | * Makefile.in, configure, testsuite/Makefile.in: Rebuild. | |
872 | ||
873 | * testsuite/lib/libgomp-dg.exp (libgomp_init): Add include into | |
874 | build directory. Re-add -march=i486 hack. | |
875 | ||
876 | * testsuite/lib/libgomp-dg.exp (libgomp_compile_flags): Remove. | |
877 | (libgomp_link_flags): Remove. | |
878 | (libgomp_initialized): Remove. | |
879 | (libgomp_init): Don't protect from reinitialization. Copy code | |
880 | from libstdc++ for getting the multilib set correctly. | |
881 | ||
882 | 2005-05-05 Richard Henderson <rth@redhat.com> | |
883 | ||
884 | * config/linux/alpha/futex.h: New file. | |
885 | * configure.tgt (alpha*-*-linux*): Use it. | |
886 | ||
887 | * config/posix/mutex.c: New file. | |
888 | * config/posix/sem.c: Use libgomp.h. | |
889 | ||
890 | * configure.tgt (x86_64-linux): Also test CC for -m32. | |
891 | * config/linux/x86_64/futex.h (futex_wait): Fix r10 usage. | |
892 | ||
893 | * testsuite/lib/libgomp-dg.exp (libgomp_link_flags): Add / | |
894 | after $gccpath. | |
895 | ||
896 | * Makefile.am (SUBDIRS): New. | |
897 | (libgomp_la_LDFLAGS): Add -lpthread. | |
898 | * configure.ac (AM_INIT_AUTOMAKE): Enable dependencies. | |
899 | * Makefile.in, aclocal.m4, config.h.in, configure: Rebuild. | |
900 | ||
901 | * libgomp_g.h: New file. | |
902 | * libgomp.h: Split out all public declarations to libgomp_g.h. | |
903 | Use pragma GCC visibility instead of ATTRIBUTE_HIDDEN. | |
904 | * config/linux/mutex.h: Remove ATTRIBUTE_HIDDEN. | |
905 | * config/linux/sem.h: Likewise. | |
906 | * config/posix/sem.h: Likewise. | |
907 | ||
908 | * Makefile.am (AM_LDFLAGS): New. | |
909 | (libgomp_version_script): Split out from ... | |
910 | (libgomp_la_LDFLAGS): ... here. | |
911 | (libgomp_version_info): New. | |
912 | * acinclude.m4 (LIBGOMP_CHECK_TLS): Use LIBGOMP_ENABLE. | |
913 | (LIBGOMP_ENABLE): New. | |
914 | (LIBGOMP_CHECK_LINKER_FEATURES): New. | |
915 | (LIBGOMP_ENABLE_SYMVERS): New. | |
916 | * configure.ac (AC_INIT): Version 1.0. | |
917 | (enable-version-specific-runtime-libs): Use LIBGOMP_ENABLE. | |
918 | (enable-linux-futex): Likewise. Rename from enable-futex. | |
919 | (libtool_VERSION): New. | |
920 | (LIBGOMP_ENABLE_SYMVERS): Use it. | |
921 | * configure.tgt: Check with_gnu_ld wrt have_tls optimizations. | |
922 | * Makefile.in, aclocal.m4, configure: Rebuild. | |
923 | ||
924 | * config/linux/mutex.c: Include libgomp.h instead of mutex.h. | |
925 | (gomp_mutex_unlock_slow): Fix typo. | |
926 | * config/linux/sem.c: Similarly. | |
927 | (gomp_sem_post_slow): Fix typo. | |
928 | * config/linux/sem.h (gomp_sem_post_slow): Fix typo. | |
929 | * config/linux/i486/futex.h: Remove USE_LINUX_SYSENTER code. | |
930 | [__PIC__] (sys_futex0): Don't use tmp output in asm. | |
931 | ||
932 | * Makefile.am (AM_CFLAGS): Expand with XCFLAGS. | |
933 | (libgomp_la_LDFLAGS): Add top_srcdir to path. | |
934 | * acinclude.m4: Copy libtool.m4 stuff from libgfortran. | |
935 | * configure.ac: Check for getloadavg. Substitute XCFLAGS and | |
936 | XLDFLAGS. Add XCFLAGS to CFLAGS around LIBGOMP_CHECK_SYNC_BUILTINS. | |
937 | * configure.tgt: Set XCFLAGS and XLDFLAGS instead of CFLAGS and | |
938 | LDFLAGS. Pull enable_futex check to top-level. | |
939 | * libgomp.h: Fix sem.h and mutex.h includes. Define ATTRIBUTE_HIDDEN. | |
940 | * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate. | |
941 | ||
942 | First attempt at real configury. | |
943 | * Makefile, config.h: Remove file. | |
944 | * Makefile.am, Makefile.in: New file. | |
945 | * acinclude.m4 aclocal.m4: New file. | |
946 | * configure.ac, configure.tgt, configure: New file. | |
947 | ||
948 | * config/posix/lock.c: Rename from sys-lock.c. | |
949 | * config/posix/mutex.h: Rename from sys-mutex.h. | |
950 | * config/posix/sem.c: Rename from sys-sem.c. | |
951 | * config/posix/sem.h: Rename from sys-sem.h. | |
952 | * config/posix/proc.c: Rename from sys-proc.c. | |
953 | * config/posix/time.c: Rename from sys-proc.c. | |
954 | ||
955 | * config/linux/mutex.c: New file. | |
956 | * config/linux/mutex.h: New file. | |
957 | * config/linux/sem.c: New file. | |
958 | * config/linux/sem.h: New file. | |
959 | * config/linux/i486/futex.h: New file. | |
960 | * config/linux/x86_64/futex.h: New file. | |
961 | ||
962 | 2005-05-04 Richard Henderson <rth@redhat.com> | |
963 | ||
964 | * iter.c (gomp_iter_dynamic_next, gomp_iter_guided_next): New. | |
965 | * libgomp.h: Declare them. | |
966 | * loop.c (gomp_loop_dynamic_start, gomp_loop_guided_start, | |
967 | gomp_loop_dynamic_next, gomp_loop_guided_next): Use them. | |
968 | ||
969 | 2005-05-04 Richard Henderson <rth@redhat.com> | |
970 | ||
971 | * libgomp-1 code drop | |
972 | ||
973 | 2005-05-04 Richard Henderson <rth@redhat.com> | |
974 | ||
975 | * iter.c (gomp_iter_static_next): Return tri-state on 0. | |
976 | * ordered.c (gomp_ordered_static_next): Remove not_last argument. | |
977 | * libgomp.h (struct gomp_team_state): Make static_trip unsigned. | |
978 | (gomp_iter_static_next): Update. | |
979 | (gomp_ordered_static_next): Update. | |
980 | * loop.c (gomp_loop_static_start): Update for gomp_iter_static_next. | |
981 | (gomp_loop_ordered_static_start): Likewise. Exit early for a | |
982 | totally empty range. | |
983 | (gomp_loop_ordered_static_next): Refine test for calling | |
984 | gomp_ordered_static_next. | |
985 | * testsuite/ordered-1.c: Add case for more threads than iterations. | |
986 | ||
987 | * iter.c (gomp_iter_runtime_next_locked): Remove. | |
988 | * loop.c (gomp_loop_static_start, gomp_loop_dynamic_start, | |
989 | gomp_loop_guided_start, gomp_loop_ordered_static_start, | |
990 | gomp_loop_ordered_dynamic_start, gomp_loop_ordered_guided_start, | |
991 | gomp_loop_static_next, gomp_loop_dynamic_next, gomp_loop_guided_next, | |
992 | gomp_loop_ordered_static_next, gomp_loop_ordered_dynamic_next, | |
993 | gomp_loop_ordered_guided_next): Downcase name, make static, add | |
994 | an external alias with the old name. | |
995 | (GOMP_loop_runtime_start, GOMP_loop_ordered_runtime_start, | |
996 | GOMP_loop_runtime_next, GOMP_loop_ordered_runtime_next): Use a | |
997 | switch and call one of the above static functions. | |
998 | * libgomp.h: Update. | |
999 | ||
1000 | * work.c (gomp_work_share_start): Lock the mutex for !first too. | |
1001 | * loop.c (GOMP_loop_static_start, GOMP_loop_dynamic_start, | |
1002 | GOMP_loop_guided_start, GOMP_loop_runtime_start, | |
1003 | GOMP_loop_ordered_static_start, GOMP_loop_ordered_dynamic_start, | |
1004 | GOMP_loop_ordered_guided_start): Update to match. | |
1005 | * sections.c (GOMP_sections_start): Likewise. | |
1006 | * single.c (GOMP_single_start, GOMP_single_copy_start): Likewise. | |
1007 | ||
1008 | * ordered.c (gomp_ordered_first, gomp_ordered_last, gomp_ordered_next, | |
1009 | gomp_ordered_static_init, gomp_ordered_static_next): Rename s/_loop//. | |
1010 | Use bounds check instead of modulus. | |
1011 | (gomp_ordered_sync): Split out of GOMP_ordered_start. | |
1012 | (gomp_ordered_last): Don't sync with ordered_owner here. | |
1013 | (gomp_ordered_next): Likewise. | |
1014 | (gomp_ordered_static_loop_next): Likewise. | |
1015 | * loop.c, libgomp.h: Update to match. | |
1016 | ||
1017 | * libgomp.h (GOMP_barrier): Declare. | |
1018 | ||
1019 | * testsuite/barrier-1.c: New file. | |
1020 | * testsuite/critical-1.c: New file. | |
1021 | * testsuite/ordered-2.c: New file. | |
1022 | * testsuite/ordered-1.c: New file. | |
1023 | * testsuite/sections-1.c: New file. | |
1024 | * testsuite/single-1.c: New file. | |
1025 | * testsuite/Makefile (TESTS): Add them. | |
1026 | ||
1027 | 2005-05-04 Richard Henderson <rth@redhat.com> | |
1028 | ||
1029 | * libgomp.h (struct gomp_work_share): Add ordered_owner. | |
1030 | * loop.c (GOMP_loop_static_start): If not the startup thread, | |
1031 | acquire the mutex to wait for initialization complete. | |
1032 | (GOMP_loop_ordered_static_start): Likewise. | |
1033 | (GOMP_loop_ordered_runtime_start): Likewise. | |
1034 | (GOMP_loop_ordered_static_first): Remove. | |
1035 | (GOMP_loop_ordered_dynamic_first): Remove. | |
1036 | (GOMP_loop_ordered_guided_first): Remove. | |
1037 | (GOMP_loop_ordered_runtime_first): Remove. | |
1038 | * ordered.c (gomp_ordered_loop_first): Post to own release when | |
1039 | we're the first thread. | |
1040 | (gomp_ordered_loop_last): Wait on release if not owner. | |
1041 | (gomp_ordered_loop_next): Likewise. | |
1042 | (gomp_ordered_static_loop_init): New. | |
1043 | (gomp_ordered_static_loop_next): Use ordered_owner. | |
1044 | (GOMP_ordered_start): Likewise. | |
1045 | * work.c (gomp_new_work_share): Initialize ordered_owner. | |
1046 | ||
1047 | 2005-05-03 Richard Henderson <rth@redhat.com> | |
1048 | ||
1049 | * Makefile (OPT): New. | |
1050 | (CFLAGS): Use it. | |
1051 | ||
1052 | * loop.c (GOMP_loop_end, GOMP_loop_end_nowait): New. | |
1053 | * sections.c (GOMP_sections_end, GOMP_sections_end_nowait): New. | |
1054 | * libgomp.h, libgomp.map, NOTES: Update to match. | |
1055 | ||
1056 | * team.c (struct gomp_thread_start_data): Remove ts, fn, data. | |
1057 | Add initialized and thr members. | |
1058 | (gomp_thread_start): Pause when initially spawned to wait for | |
1059 | the whole team to be created. | |
1060 | (gomp_team_start): Release team members at the end. | |
1061 | ||
1062 | * testsuite/loop-1.c (N): New. Use it instead of hardcoded 100. | |
1063 | (f_foo_1): Use GOMP_loop_end. | |
1064 | (f_foo_2): Use GOMP_loop_end_nowait. | |
1065 | ||
1066 | * testsuite/loop-2.c: New file. | |
1067 | * testsuite/Makefile (TESTS): Add it. | |
1068 | ||
1069 | 2005-05-03 Richard Henderson <rth@redhat.com> | |
1070 | ||
1071 | * iter.c (gomp_iter_static_next): Fix overflow check typo. | |
1072 | (gomp_iter_dynamic_next_locked): Fix overflow check thinko. | |
1073 | * team.c (new_team): Initialize oldest_live_gen to 1 if no | |
1074 | initial work_share. | |
1075 | ||
1076 | * testsuite/Makefile: New file. | |
1077 | * testsuite/loop-1.c: New file. | |
1078 | ||
1079 | 2005-05-03 Richard Henderson <rth@redhat.com> | |
1080 | ||
1081 | Initial implementation and checkin. |