]>
Commit | Line | Data |
---|---|---|
1 | 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> | |
2 | ||
3 | PR target/63610 | |
4 | * configure: Regenerate. | |
5 | ||
6 | 2014-10-06 Marek Polacek <polacek@redhat.com> | |
7 | ||
8 | * testsuite/libitm.c/memcpy-1.c: Declare getpagesize. | |
9 | * testsuite/libitm.c/memset-1.c: Likewise. | |
10 | ||
11 | 2014-07-24 Richard Henderson <rth@redhat.com> | |
12 | ||
13 | * config/aarch64/sjlj.S (_ITM_beginTransaction): Use post-inc | |
14 | addressing mode in epilogue. | |
15 | ||
16 | 2014-05-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
17 | ||
18 | * acinclude.m4 (LIBITM_CHECK_LINKER_HWCAP): Check for | |
19 | -mclear-hwcap instead. | |
20 | * configure: Regenerate. | |
21 | * clearcap.map: Remove. | |
22 | ||
23 | 2014-05-21 John Marino <gnugcc@marino.st> | |
24 | ||
25 | * configure.tgt (*-*-dragonfly*): New target. | |
26 | ||
27 | 2014-05-19 Richard Henderson <rth@redhat.com> | |
28 | ||
29 | * config/aarch64/sjlj.S: New file. | |
30 | * config/aarch64/target.h: New file. | |
31 | * configure.tgt: Enable aarch64. | |
32 | ||
33 | 2014-04-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
34 | ||
35 | * config/generic/asmcfi.h: Also check for | |
36 | __GCC_HAVE_DWARF2_CFI_ASM. | |
37 | ||
38 | 2013-04-02 Richard Henderson <rth@redhat.com> | |
39 | ||
40 | * config/alpha/target.h (PAGE_SIZE, FIXED_PAGE_SIZE): Remove. | |
41 | * config/arm/target.h, config/sh/target.h: Likewise. | |
42 | * config/sparc/target.h, config/x86/target.h: Likewise. | |
43 | ||
44 | 2014-03-26 Jakub Jelinek <jakub@redhat.com> | |
45 | ||
46 | * config/linux/futex_bits.h: Include errno.h. | |
47 | (sys_futex0): If syscall returns -1, return -errno rather than | |
48 | -1. | |
49 | ||
50 | 2014-03-26 Joseph Myers <joseph@codesourcery.com> | |
51 | ||
52 | * libitm.texi (Index): Rename to Library Index. | |
53 | ||
54 | 2014-01-13 H.J. Lu <hongjiu.lu@intel.com> | |
55 | ||
56 | PR libitm/53113 | |
57 | * Makefile.am (x86_sse.lo): Append -msse to CXXFLAGS. | |
58 | (x86_avx.lo): Append -mavx to CXXFLAGS. | |
59 | * Makefile.in: Regenerate. | |
60 | ||
61 | 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com> | |
62 | ||
63 | Update copyright years | |
64 | ||
65 | 2014-01-02 Tobias Burnus <burnus@net-b.de> | |
66 | ||
67 | * libitm.texi: Bump @copying's copyright year. | |
68 | ||
69 | 2013-11-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> | |
70 | ||
71 | * config/powerpc/sjlj.S [__powerpc64__ && _CALL_ELF == 2]: | |
72 | (FUNC): Define ELFv2 variant. | |
73 | (END): Likewise. | |
74 | (HIDDEN): Likewise. | |
75 | (CALL): Likewise. | |
76 | (BASE): Likewise. | |
77 | (LR_SAVE): Likewise. | |
78 | ||
79 | 2013-09-20 Alan Modra <amodra@gmail.com> | |
80 | ||
81 | * configure: Regenerate. | |
82 | ||
83 | 2013-08-30 Torvald Riegel <triegel@redhat.com> | |
84 | ||
85 | * config/posix/rwlock.cc: Fix initialization order. | |
86 | ||
87 | 2013-08-30 Torvald Riegel <triegel@redhat.com> | |
88 | ||
89 | * libitm_i.h (gtm_thread): Assign an asm name to serial_lock. | |
90 | (htm_fastpath): Assign an asm name. | |
91 | * libitm.h (_ITM_codeProperties): Add non-ABI flags used by custom | |
92 | HTM fast paths. | |
93 | (_ITM_actions): Likewise. | |
94 | * config/x86/target.h (HTM_CUSTOM_FASTPATH): Enable custom fastpath on | |
95 | x86_64. | |
96 | * config/x86/sjlj.S (_ITM_beginTransaction): Add custom HTM fast path. | |
97 | * config/posix/rwlock.h (gtm_rwlock): Update comments. Move summary | |
98 | field to the start of the structure. | |
99 | * config/linux/rwlock.h (gtm_rwlock): Update comments. | |
100 | * beginend.cc (gtm_thread::begin_transaction): Add retry policy | |
101 | handling for custom HTM fast paths. | |
102 | ||
103 | 2013-08-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> | |
104 | Revert: | |
105 | 2013-08-02 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> | |
106 | ||
107 | * configure.tgt: Add -msoft-float to XCFLAGS. | |
108 | ||
109 | 2013-08-02 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> | |
110 | ||
111 | * configure.tgt: Add -msoft-float to XCFLAGS. | |
112 | ||
113 | 2013-07-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> | |
114 | ||
115 | * config/s390/target.h (htm_begin, htm_commit, htm_abort) | |
116 | (htm_transaction_active): Enable zEC12 instructions in the | |
117 | assembler. | |
118 | * configure.tgt: Remove -Wa,-march=zEC12 from XCFLAGS. | |
119 | ||
120 | 2013-07-17 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> | |
121 | ||
122 | * acinclude.m4: Add htm asm check for s390. | |
123 | * configure.tgt: Add -mhtm and -Wa,-march=zEC12 to the options. | |
124 | * configure: Regenerate. | |
125 | * config/s390/target.h: Remove __HTM__ check. | |
126 | (htm_available): Call getauxval to get hwcaps and check whether | |
127 | HTM is available or not. | |
128 | ||
129 | 2013-07-15 Peter Bergner <bergner@vnet.ibm.com> | |
130 | ||
131 | * acinclude.m4 (LIBITM_CHECK_AS_HTM): New. | |
132 | * configure.ac: Use it. | |
133 | (AC_CHECK_HEADERS): Check for sys/auxv.h. | |
134 | (AC_CHECK_FUNCS): Check for getauxval. | |
135 | * config.h.in, configure: Rebuild. | |
136 | * configure.tgt (target_cpu): Add -mhtm to XCFLAGS. | |
137 | * config/powerpc/target.h: Include sys/auxv.h and htmintrin.h. | |
138 | (USE_HTM_FASTPATH): Define. | |
139 | (_TBEGIN_STARTED, _TBEGIN_INDETERMINATE, _TBEGIN_PERSISTENT, | |
140 | _HTM_RETRIES) New macros. | |
141 | (htm_abort, htm_abort_should_retry, htm_available, htm_begin, htm_init, | |
142 | htm_begin_success, htm_commit, htm_transaction_active): New functions. | |
143 | ||
144 | 2013-06-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> | |
145 | ||
146 | * config/s390/target.h: Include htmintrin.h. | |
147 | (_HTM_ITM_RETRIES): New macro definition. | |
148 | (htm_available, htm_init, htm_begin, htm_begin_success) | |
149 | (htm_commit, htm_abort, htm_abort_should_retry): New functions. | |
150 | ||
151 | 2013-06-20 Iain Sandoe <iain@codesourcery.com> | |
152 | Cesar Philippidis <cesar@codesourcery.com> | |
153 | ||
154 | * testsuite/lib/libitm.exp: Reorder lib loads into dependency order. | |
155 | Do not load_gcc_lib gcc-dg.exp and add a comment as to why. | |
156 | * testsuite/libitm.c/c.exp: load_gcc_lib gcc-dg.exp. | |
157 | * testsuite/libitm.c++/c++.exp: load_gcc_lib gcc-dg.exp. | |
158 | ||
159 | 2013-06-20 Torvald Riegel <triegel@redhat.com> | |
160 | ||
161 | * query.cc (_ITM_inTransaction): Abort when using the HTM fastpath. | |
162 | (_ITM_getTransactionId): Same. | |
163 | * config/x86/target.h (htm_transaction_active): New. | |
164 | ||
165 | 2013-06-20 Torvald Riegel <triegel@redhat.com> | |
166 | ||
167 | PR libitm/57643 | |
168 | * beginend.cc (gtm_thread::begin_transaction): Handle reentrancy in | |
169 | the HTM fastpath. | |
170 | ||
171 | 2013-03-31 Gerald Pfeifer <gerald@pfeifer.com> | |
172 | ||
173 | PR bootstrap/56714 | |
174 | * local_atomic (__always_inline): Always define our version. | |
175 | (__calculate_memory_order): Mark inline. | |
176 | (atomic_thread_fence): Ditto. | |
177 | (atomic_signal_fence): Ditto. | |
178 | (atomic_bool::atomic_flag_test_and_set_explicit): Ditto. | |
179 | (atomic_bool::atomic_flag_clear_explicit): Ditto. | |
180 | (atomic_bool::atomic_flag_test_and_set): Ditto. | |
181 | (atomic_bool::atomic_flag_clear): Ditto. | |
182 | ||
183 | 2013-04-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> | |
184 | ||
185 | * config/s390/sjlj.S: New file. | |
186 | * config/s390/target.h: New file. | |
187 | * configure.tgt: Set options for S/390. | |
188 | ||
189 | 2013-03-23 Andi Kleen <ak@linux.intel.com> | |
190 | ||
191 | * local_atomic (__always_inline): Add. | |
192 | (__calculate_memory_order, atomic_thread_fence, | |
193 | atomic_signal_fence, test_and_set, clear, store, load, | |
194 | exchange, compare_exchange_weak, compare_exchange_strong, | |
195 | fetch_add, fetch_sub, fetch_and, fetch_or, fetch_xor): | |
196 | Add __always_inline to force inlining. | |
197 | ||
198 | 2013-02-11 Iain Sandoe <iain@codesourcery.com> | |
199 | Jack Howarth <howarth@bromo.med.uc.edu> | |
200 | Patrick Marlier <patrick.marlier@gmail.com> | |
201 | ||
202 | PR libitm/55693 | |
203 | * alloc_cpp.cc: Enable function declarations on darwin. | |
204 | * eh_cpp.cc: Likewise. | |
205 | ||
206 | 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com> | |
207 | ||
208 | Update copyright years. | |
209 | ||
210 | 2012-11-09 Torvald Riegel <triegel@redhat.com> | |
211 | ||
212 | * beginend.cc (htm_fastpath): New. | |
213 | (gtm_thread::begin_transaction, _ITM_commitTransaction, | |
214 | _ITM_commitTransactionEH): Add HTM fastpath handling. | |
215 | * config/linux/rwlock.h (gtm_rwlock.is_write_locked): New. | |
216 | * config/posix/rwlock.h (gtm_rwlock.is_write_locked): New. | |
217 | * config/x86/target.h (htm_available, htm_init, htm_begin_success, | |
218 | htm_begin, htm_commit, htm_abort, htm_abort_should_retry): New. | |
219 | * configure.tgt: Add -mrtm to XCFLAGS. | |
220 | * method-serial.cc (htm_mg, o_htm_mg, htm_dispatch, dispatch_htm): New. | |
221 | (gtm_thread::serialirr_mode): Add HTM fastpath handling. | |
222 | * libitm_i.h (htm_fastpath, dispatch_htm): Declare. | |
223 | * retry.cc (parse_default_method): Add HTM method parsing. | |
224 | (gtm_thread::number_of_threads_changed): Use HTM by default if | |
225 | available. | |
226 | ||
227 | 2012-11-04 Thomas Schwinge <thomas@codesourcery.com> | |
228 | ||
229 | * configure: Regenerate. | |
230 | ||
231 | 2012-10-31 Richard Henderson <rth@redhat.com> | |
232 | ||
233 | * acinclude.m4 (LIBITM_CHECK_AS_RTM): New. | |
234 | * configure.ac: Use it. | |
235 | * config.h.in, configure: Rebuild. | |
236 | * testsuite/Makefile.in: Rebuild. | |
237 | ||
238 | 2012-10-24 Torvald Riegel <triegel@redhat.com> | |
239 | ||
240 | * libitm.texi: Clarify ABI requirements for data-logging functions. | |
241 | ||
242 | 2012-10-24 Torvald Riegel <triegel@redhat.com> | |
243 | ||
244 | * retry.cc (gtm_thread::decide_begin_dispatch): Ask dispatch whether | |
245 | it requires serial mode instead of assuming that for certain | |
246 | dispatchs. | |
247 | * dispatch.h (abi_dispatch::requires_serial): New. | |
248 | (abi_dispatch::abi_dispatch): Adapt. | |
249 | * method-gl.cc (gl_wt_dispatch::gl_wt_dispatch): Adapt. | |
250 | * method-ml.cc (ml_wt_dispatch::ml_wt_dispatch): Same. | |
251 | * method-serial.cc (serialirr_dispatch::serialirr_dispatch, | |
252 | serial_dispatch::serial_dispatch, | |
253 | serialirr_onwrite_dispatch::serialirr_onwrite_dispatch): Same. | |
254 | ||
255 | 2012-10-02 Uros Bizjak <ubizjak@gmail.com> | |
256 | ||
257 | * config/x86/target.h (struct gtm_jmpbuf): Merge x86_64 | |
258 | and ia32 declarations some more. | |
259 | * config/x86/sjlj.S (_ITM_beginTransaction): Move ret to common code. | |
260 | ||
261 | 2012-09-20 Jakub Jelinek <jakub@redhat.com> | |
262 | ||
263 | PR other/43620 | |
264 | * configure.ac (AM_INIT_AUTOMAKE): Add no-dist. | |
265 | * configure: Regenerate. | |
266 | * Makefile.in: Regenerate. | |
267 | ||
268 | 2012-09-14 David Edelsohn <dje.gcc@gmail.com> | |
269 | ||
270 | * configure: Regenerated. | |
271 | ||
272 | 2012-07-31 Uros Bizjak <ubizjak@gmail.com> | |
273 | ||
274 | * config/x86/target.h (cpu_relax): Use __builtin_ia32_pause. | |
275 | ||
276 | 2012-05-21 Patrick Marlier <patrick.marlier@gmail.com> | |
277 | ||
278 | * eh_cpp.cc: Fix __cxa_end_catch declaration. | |
279 | ||
280 | 2012-05-16 H.J. Lu <hongjiu.lu@intel.com> | |
281 | ||
282 | * configure: Regenerated. | |
283 | ||
284 | 2012-04-04 H.J. Lu <hongjiu.lu@intel.com> | |
285 | ||
286 | PR libitm/52854 | |
287 | * config/x86/target.h (gtm_jmpbuf): Replace long with long long | |
288 | for x86-64. | |
289 | ||
290 | 2012-04-03 Tristan Gingold <gingold@adacore.com> | |
291 | ||
292 | * configure: Regenerate. | |
293 | ||
294 | 2012-03-31 H.J. Lu <hongjiu.lu@intel.com> | |
295 | ||
296 | PR bootstrap/52812 | |
297 | * configure.tgt (i[456]86-*-linux*): Handle -mx32 like -m64. | |
298 | ||
299 | 2012-03-16 Bernhard Reutner-Fischer <aldot@gcc.gnu.org> | |
300 | ||
301 | * testsuite/lib/libitm.exp: load fortran-modules.exp | |
302 | ||
303 | 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
304 | ||
305 | * configure.tgt (*-*-irix6*): Remove. | |
306 | ||
307 | 2012-03-13 Torvald Riegel <triegel@redhat.com> | |
308 | ||
309 | PR libitm/52526 | |
310 | * config/linux/rwlock.cc (GTM::gtm_rwlock::read_lock): Fix lost | |
311 | wake-up. | |
312 | ||
313 | 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
314 | ||
315 | * configure.tgt (*-*-osf*): Remove. | |
316 | * configure: Regenerate. | |
317 | ||
318 | 2012-03-05 Torvald Riegel <triegel@redhat.com> | |
319 | ||
320 | * dispatch.h (CREATE_DISPATCH_METHODS_MEM): Don't execute | |
321 | memtransfer/memset if size isn't larger than zero. | |
322 | ||
323 | 2012-03-02 Torvald Riegel <triegel@redhat.com> | |
324 | ||
325 | * libitm.texi: Link to specification and add a usage example. | |
326 | ||
327 | 2012-02-24 Torvald Riegel <triegel@redhat.com> | |
328 | ||
329 | * retry.cc (GTM::gtm_thread::number_of_threads_changed): Change | |
330 | default dispatch for more than 1 thread to ml_wt. | |
331 | ||
332 | 2012-02-20 Torvald Riegel <triegel@redhat.com> | |
333 | ||
334 | * method-gl.cc (gl_wt_dispatch::orec): Put on separate cacheline. | |
335 | ||
336 | 2012-02-20 Torvald Riegel <triegel@redhat.com> | |
337 | ||
338 | * method-gl.cc (gl_wt_dispatch::rollback): Optimize memory orders. | |
339 | ||
340 | 2012-02-20 Torvald Riegel <triegel@redhat.com> | |
341 | ||
342 | * method-gl.cc (gl_wt_dispatch::trycommit): Remove handling of | |
343 | serial mode corner cases made obsolete by prior gtm_rwlock changes. | |
344 | (gl_wt_dispatch.rollback): Same. | |
345 | ||
346 | 2012-02-20 Torvald Riegel <triegel@redhat.com> | |
347 | ||
348 | * method-gl.cc (gl_wt_dispatch::pre_write): Optimize memory orders. | |
349 | ||
350 | 2012-02-20 Torvald Riegel <triegel@redhat.com> | |
351 | ||
352 | * method-gl.cc (gl_wt_dispatch::memtransfer_static): Add missing undo | |
353 | for RfW src. Optimize number of calls to gtm_thr. | |
354 | ||
355 | 2012-02-20 Torvald Riegel <triegel@redhat.com> | |
356 | ||
357 | * beginend.cc (GTM::gtm_thread::begin_transaction): Move serial lock | |
358 | acquisition to ... | |
359 | * retry.cc (GTM::gtm_thread::decide_begin_dispatch): ... here. | |
360 | (default_dispatch): Make atomic. | |
361 | (GTM::gtm_thread::set_default_dispatch): Access atomically. | |
362 | (GTM::gtm_thread::decide_retry_strategy): Access atomically and | |
363 | use decide_begin_dispatch() if default_dispatch might have changed. | |
364 | (GTM::gtm_thread::number_of_threads_changed): Initialize | |
365 | default_dispatch here. | |
366 | ||
367 | 2012-02-15 Iain Sandoe <iains@gcc.gnu.org> | |
368 | Patrick Marlier <patrick.marlier@gmail.com> | |
369 | ||
370 | PR libitm/52220 | |
371 | * alloc_cpp.cc: No dummy definitions for darwin. | |
372 | * eh_cpp.cc: Likewise. | |
373 | ||
374 | 2012-02-14 Richard Henderson <rth@redhat.com> | |
375 | ||
376 | * config/x86/target.h (GTM_longjmp): Correct the .cfi corrections. | |
377 | ||
378 | 2012-02-14 Uros Bizjak <ubizjak@gmail.com> | |
379 | ||
380 | * config/x86/target.h (GTM_longjmp): Correct .cfi directives. | |
381 | ||
382 | 2012-02-14 Torvald Riegel <triegel@redhat.com> | |
383 | ||
384 | * libitm_i.h (GTM::gtm_rwlog_entry): New. | |
385 | (GTM::gtm_thread): Add read and write logs. | |
386 | (GTM::dispatch_ml_wt): Declare. | |
387 | * retry.cc (parse_default_method): Support ml_wt. | |
388 | * method-ml.cc: New file. | |
389 | * Makefile.am: Add method-ml.cc. | |
390 | * Makefile.in: Regenerate. | |
391 | ||
392 | 2012-02-14 Torvald Riegel <triegel@redhat.com> | |
393 | ||
394 | * dispatch.h (GTM::abi_dispatch::supports): New. | |
395 | (GTM::method_group::reinit): New. | |
396 | * retry.cc (GTM::gtm_thread::decide_retry_strategy): Use reinit(). | |
397 | (GTM::gtm_thread::number_of_threads_changed): Check that the method | |
398 | supports the current situation. | |
399 | ||
400 | 2012-02-14 Torvald Riegel <triegel@redhat.com> | |
401 | ||
402 | * util.cc (GTM::xcalloc): New. | |
403 | * common.h (GTM::xcalloc): Declare. | |
404 | ||
405 | 2012-02-14 Eric Botcazou <ebotcazou@adacore.com> | |
406 | ||
407 | * config/sparc/target.h (cpu_relax): Read from CC register. | |
408 | * config/sparc/sjlj.S (GTM_longjmp): Restore %fp atomically. | |
409 | ||
410 | 2012-02-14 Uros Bizjak <ubizjak@gmail.com> | |
411 | ||
412 | * config/x86/target.h (GTM_longjmp): Jump indirect from memory address. | |
413 | ||
414 | 2012-02-13 Eric Botcazou <ebotcazou@adacore.com> | |
415 | ||
416 | * configure.tgt (target_cpu): Handle sparc and sparc64/sparcv9. | |
417 | * config/sparc/cacheline.h: New file. | |
418 | * config/sparc/target.h: Likewise. | |
419 | * config/sparc/sjlj.S: Likewise. | |
420 | * config/linux/sparc/futex_bits.h: Likewise. | |
421 | ||
422 | 2012-02-13 Eric Botcazou <ebotcazou@adacore.com> | |
423 | ||
424 | * configure.ac (link_itm): Fix comment. | |
425 | * configure: Regenerate. | |
426 | * testsuite/lib/libitm.exp: Do not pass -litm for the link. | |
427 | ||
428 | 2012-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
429 | ||
430 | PR libitm/51822 | |
431 | * testsuite/libitm.c++/c++.exp (lang_link_flags): Add -shared-libgcc. | |
432 | Correct libgomp references. | |
433 | ||
434 | 2012-01-24 Torvald Riegel <triegel@redhat.com> | |
435 | ||
436 | * config/linux/rwlock.cc (GTM::gtm_rwlock::write_unlock): Fix reader | |
437 | wake-up. | |
438 | ||
439 | 2012-01-24 Uros Bizjak <ubizjak@gmail.com> | |
440 | ||
441 | * config/x86/target.h (gtm_jmpbuf) [__x86_64__]: Move rip to the | |
442 | end of structure. | |
443 | * config/x86/sjlj.S (_ITM_beginTransaction) [__x86_64__]: Update | |
444 | offset values. Do not copy return address. Decrement stack | |
445 | by 56 bytes only. | |
446 | (GTM_longjump) [__x86_64__]: Update offset values. | |
447 | ||
448 | 2012-01-23 Uros Bizjak <ubizjak@gmail.com> | |
449 | ||
450 | PR libitm/51830 | |
451 | * config/x86/sjlj.S (_ITM_beginTransaction) [!__x86_64__]: Load | |
452 | the first function argument to %eax. | |
453 | ||
454 | 2012-01-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
455 | ||
456 | * libitm.h (_ITM_getThreadnum): Remove. | |
457 | * libitm.map (_ITM_getThreadnum): Remove from LIBITM_1.0. | |
458 | ||
459 | 2012-01-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
460 | ||
461 | * clearcap.map: New file. | |
462 | * acinclude.m4 (LIBITM_CHECK_LINKER_HWCAP): New test. | |
463 | * configure.ac: Call it. | |
464 | Clear HWCAP_LDFLAGS if defaulting to -mavx. | |
465 | * Makefile.am (AM_LDFLAGS): Add $(HWCAP_LDFLAGS) | |
466 | * configure: Regenerate. | |
467 | * Makefile.in: Regenerate. | |
468 | * testsuite/Makefile.in: Regenerate. | |
469 | ||
470 | 2012-01-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
471 | ||
472 | PR libitm/51173 | |
473 | * testsuite/libitm.c++/static_ctor.C: Skip test, note PR, remove | |
474 | include, exclude options. | |
475 | ||
476 | 2012-01-14 Torvald Riegel <triegel@redhat.com> | |
477 | ||
478 | * local.cc (GTM::gtm_undolog::rollback): Truncate undo log after | |
479 | rolling back. | |
480 | * containers.h (GTM::vector::set_size): New. | |
481 | ||
482 | 2012-01-14 Torvald Riegel <triegel@redhat.com> | |
483 | ||
484 | PR libitm/51855 | |
485 | * config/generic/tls.h (GTM::mask_stack_top): New. | |
486 | (GTM::mask_stack_bottom): Declare. | |
487 | * config/generic/tls.c (GTM::mask_stack_bottom): New. | |
488 | * local.cc (gtm_undolog::rollback): Filter out any updates that | |
489 | overlap the libitm stack. Add current transaction as parameter. | |
490 | * libitm_i.h (GTM::gtm_undolog::rollback): Adapt. | |
491 | * beginend.cc (GTM::gtm_thread::rollback): Adapt. | |
492 | * testsuite/libitm.c/stackundo.c: New test. | |
493 | ||
494 | 2012-01-10 Richard Henderson <rth@redhat.com> | |
495 | ||
496 | * libitm_i.h (_Unwind_DeleteException): Declare weak. | |
497 | * eh_cpp.cc (_Unwind_DeleteException): Define for | |
498 | !HAVE_ELF_STYLE_WEAKREF. | |
499 | ||
500 | 2012-01-08 Torvald Riegel <triegel@redhat.com> | |
501 | ||
502 | * local.cc (GTM_LB): Use GTM::gtm_undolog. | |
503 | (GTM::gtm_thread::drop_references_undolog): Remove. | |
504 | (GTM::gtm_thread::commit_undolog, | |
505 | GTM::gtm_thread::rollback_undolog): Move to ... | |
506 | * libitm_i.h (GTM::gtm_undolog): ...here. New. | |
507 | (GTM::gtm_undolog_entry): Remove. | |
508 | (GTM::gtm_thread): Adapt. | |
509 | * beginend.cc (GTM::gtm_thread::rollback): Adapt. | |
510 | (GTM::gtm_thread::trycommit): Adapt. | |
511 | * method-serial.cc (serial_dispatch::log): Adapt. | |
512 | * method-gl.cc (gl_wt_dispatch::pre_write): Adapt. | |
513 | (gl_wt_dispatch::store): Fix likely/unlikely. | |
514 | * containers.h (GTM::vector::resize): Add additional_capacity | |
515 | parameter and handle it. | |
516 | (GTM::vector::resize_noinline): New/adapt. | |
517 | (GTM::vector::push): New. | |
518 | ||
519 | 2012-01-06 Richard Henderson <rth@redhat.com> | |
520 | ||
521 | * configure.tgt: Support powerpc-linux and powerpc-darwin. | |
522 | * config/linux/powerpc/futex_bits.h: New file. | |
523 | * config/powerpc/cacheline.h: New file. | |
524 | * config/powerpc/sjlj.S: New file. | |
525 | * config/powerpc/target.h: New file. | |
526 | * config/generic/asmcfi.h (cfi_offset): New. | |
527 | (cfi_restore, cfi_undefined): New. | |
528 | ||
529 | 2012-01-05 Aldy Hernandez <aldyh@redhat.com> | |
530 | ||
531 | PR other/51171 | |
532 | * testsuite/libitm.c/reentrant.c: Remove xfail. | |
533 | (thread): Pass x to pure(). | |
534 | From Patrik Marlier <patrick.marlier@gmail.com>. | |
535 | ||
536 | 2011-12-24 Torvald Riegel <triegel@redhat.com> | |
537 | ||
538 | * beginend.cc (GTM::gtm_thread::trycommit): Don't enforce | |
539 | privatization safety if already in serial mode. | |
540 | ||
541 | 2011-12-24 Torvald Riegel <triegel@redhat.com> | |
542 | ||
543 | * beginend.cc (GTM::gtm_thread::restart): Add and handle | |
544 | finish_serial_upgrade parameter. | |
545 | * libitm.h (GTM::gtm_thread::restart): Adapt declaration. | |
546 | * config/linux/rwlock.cc (GTM::gtm_rwlock::write_lock_generic): | |
547 | Don't unset reader flag. | |
548 | (GTM::gtm_rwlock::write_upgrade_finish): New. | |
549 | * config/posix/rwlock.cc: Same. | |
550 | * config/linux/rwlock.h (GTM::gtm_rwlock::write_upgrade_finish): | |
551 | Declare. | |
552 | * config/posix/rwlock.h: Same. | |
553 | * method-serial.cc (GTM::gtm_thread::serialirr_mode): Unset reader | |
554 | flag after commit or after rollback when restarting. | |
555 | ||
556 | 2011-12-24 Torvald Riegel <triegel@redhat.com> | |
557 | ||
558 | * beginend.cc (GTM::gtm_thread::begin_transaction): Add comment. | |
559 | (GTM::gtm_thread::try_commit): Changed memory order. | |
560 | * config/linux/alpha/futex_bits.h (sys_futex0): Take atomic int | |
561 | as parameter. | |
562 | * config/linux/x86/futex_bits.h (sys_futex0): Same. | |
563 | * config/linux/sh/futex_bits.h (sys_futex0): Same. | |
564 | * config/linux/futex_bits.h (sys_futex0): Same. | |
565 | * config/linux/futex.cc (futex_wait, futex_wake): Same. | |
566 | * config/linux/futex.h (futex_wait, futex_wake): Same. | |
567 | * config/linux/rwlock.h (gtm_rwlock::writers, | |
568 | gtm_rwlock::writer_readers, gtm_rwlock::readers): Change to atomic | |
569 | ints. | |
570 | * config/linux/rwlock.cc (gtm_rwlock::read_lock, | |
571 | gtm_rwlock::write_lock_generic, gtm_rwlock::read_unlock, | |
572 | gtm_rwlock::write_unlock): Fix memory orders and fences. | |
573 | * config/posix/rwlock.cc (gtm_rwlock::read_lock, | |
574 | gtm_rwlock::write_lock_generic, gtm_rwlock::read_unlock, | |
575 | gtm_rwlock::write_unlock): Same. | |
576 | * config/linux/rwlock.h (gtm_rwlock::summary): Change to atomic int. | |
577 | * method-gl.cc (gl_mg::init, gl_wt_dispatch::memtransfer_static, | |
578 | gl_wt_dispatch::memset_static, gl_wt_dispatch::begin_or_restart): | |
579 | Add comments. | |
580 | (gl_wt_dispatch::pre_write, gl_wt_dispatch::validate, | |
581 | gl_wt_dispatch::load, gl_wt_dispatch::store, | |
582 | gl_wt_dispatch::try_commit, gl_wt_dispatch::rollback): Fix memory | |
583 | orders and fences. Add comments. | |
584 | ||
585 | 2011-12-21 Jakub Jelinek <jakub@redhat.com> | |
586 | ||
587 | * Makefile.am (AM_CXXFLAGS): Put $(XCFLAGS) first. | |
588 | * Makefile.in: Regenerated. | |
589 | ||
590 | 2011-12-17 Kaz Kojima <kkojima@gcc.gnu.org> | |
591 | ||
592 | * configure.tgt: Add sh* case. | |
593 | * config/sh/target.h: New file. | |
594 | * config/sh/sjlj.S: New file. | |
595 | * config/linux/sh/futex_bits.h: New file. | |
596 | ||
597 | 2011-12-14 Richard Henderson <rth@redhat.com> | |
598 | ||
599 | * config/arm/hwcap.h, config/arm/hwcap.cc: New files. | |
600 | * config/arm/sjlj.S, config/arm/target.h: New files. | |
601 | * config/generic/asmcfi.h (cfi_adjust_cfa_offset): New. | |
602 | (cfi_rel_offset): New. | |
603 | * config/linux/futex_bits.h: New file. | |
604 | * config/linux/futex.cc: Include futex_bits.h here... | |
605 | * config/linux/futex.h: ... not here. | |
606 | * Makefile.am (libitm_la_SOURCES) <ARCH_ARM>: Add hwcap.cc. | |
607 | * configure.ac (ARCH_AM): New conditional. | |
608 | * Makefile.in, configure: Rebuild. | |
609 | * configure.tgt: Handle ARM. | |
610 | ||
611 | 2011-12-13 Richard Henderson <rth@redhat.com> | |
612 | ||
613 | * config/posix/rwlock.cc (gtm_rwlock::write_lock_generic): Fix | |
614 | signed/unsigned comparison werror. | |
615 | ||
616 | * local_atomic: New file. | |
617 | * libitm_i.h: Include it. | |
618 | (gtm_thread::shared_state): Use atomic template. | |
619 | * beginend.cc (GTM::gtm_clock): Use atomic template. | |
620 | (global_tid): Use atomic template if 64-bit atomics available. | |
621 | (gtm_thread::gtm_thread): Update shared_state access. | |
622 | (gtm_thread::trycommit): Likewise. | |
623 | (choose_code_path): Update global_tid access. | |
624 | * method-gl.cc (gl_mg::orec): Use atomic template. Update all users. | |
625 | * stmlock.h (GTM::gtm_clock): Use atomic template. | |
626 | (gtm_get_clock, gtm_inc_clock): Update accesses. | |
627 | * config/linux/rwlock.cc (gtm_rwlock::read_lock): Remove | |
628 | redundant __sync_synchronize after atomic shared_state access. | |
629 | * config/posix/rwlock.cc (gtm_rwlock::read_lock): Likewise. | |
630 | (gtm_rwlock::write_lock_generic): Likewise. | |
631 | (gtm_rwlock::read_unlock): Likewise. | |
632 | * config/alpha/target.h (atomic_read_barrier): Remove. | |
633 | (atomic_write_barrier): Remove. | |
634 | * config/x86/target.h (atomic_read_barrier): Remove. | |
635 | (atomic_write_barrier): Remove. | |
636 | ||
637 | 2011-11-30 Richard Henderson <rth@redhat.com> | |
638 | ||
639 | * libitm_i.h (GTM_longjmp): Swap first and second arguments. | |
640 | * beginend.c (_ITM_abortTransaction): Update to match. | |
641 | (GTM::gtm_thread::restart): Likewise. | |
642 | * config/alpha/sjlj.S (GTM_longjmp): Likewise. | |
643 | * config/x86/sjlj.S (GTM_longjmp): Likewise. | |
644 | ||
645 | 2011-11-23 Iain Sandoe <iains@gcc.gnu.org> | |
646 | ||
647 | * Makefile.am (libitm_la_LDFLAGS): Remove "-no-undefined". | |
648 | * Makefile.in: Regenerate. | |
649 | ||
650 | 2011-11-22 Iain Sandoe <iains@gcc.gnu.org> | |
651 | ||
652 | * configure.ac: Use GCC_CHECK_ELF_STYLE_WEAKREF. | |
653 | * alloc_cpp.cc: Generate dummy functions if we don't | |
654 | HAVE_ELF_STYLE_WEAKREF. | |
655 | * eh_cpp.cc: Likewise. | |
656 | * configure: Regenerate. | |
657 | * aclocal.m4: Likewise. | |
658 | * config.h.in: Likewise. | |
659 | * Makefile.in: Likewise. | |
660 | * testsuite/Makefile.in: Likewise. | |
661 | ||
662 | 2011-11-22 Iain Sandoe <iains@gcc.gnu.org> | |
663 | ||
664 | * config/x86/sjlj.S (CONCAT1, CONCAT2, SYM): Respond to | |
665 | __USER_LABEL_PREFIX__ for targets that use it. | |
666 | (TYPE, SIZE, HIDDEN): New macros to assist on non-elf targets. | |
667 | (_ITM_beginTransaction): Use SYM, TYPE, SIZE macros to assist | |
668 | in portability to non-elf targets. | |
669 | (GTM_longjmp): Likewise. | |
670 | * libitm_i.h (begin_transaction): Apply __USER_LABEL_PREFIX__ | |
671 | where required. | |
672 | ||
673 | 2011-11-22 Iain Sandoe <iains@gcc.gnu.org> | |
674 | ||
675 | * testsuite/libitm.c/memcpy-1.c: Allow for MAP_ANON spelling. | |
676 | * testsuite/libitm.c/memset-1.c: Likewise. | |
677 | ||
678 | 2011-11-21 Andreas Tobler <andreast@fgznet.ch> | |
679 | ||
680 | * configure: Regenerate. | |
681 | ||
682 | 2011-11-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
683 | ||
684 | * acinclude.m4 (LIBITM_CHECK_LINKER_FEATURES): Handle gold. | |
685 | (LIBITM_ENABLE_SYMVERS): Handle sun style. | |
686 | * Makefile.am: Handle sun style versioning. | |
687 | (libitm_la_LINK): Add $(libitm_la_LDFLAGS). | |
688 | * configure: Regenerate. | |
689 | * Makefile.in: Regenerate. | |
690 | ||
691 | 2011-11-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
692 | ||
693 | * config/generic/asmcfi.h: Fix comment. | |
694 | * config/x86/sjlj.S (_ITM_beginTransaction): Provide ELF PIC code | |
695 | sequence without .hidden support, error for non-ELF targets. | |
696 | (GTM_longjmp) [__ELF__]: Only use .hidden if | |
697 | HAVE_ATTRIBUTE_VISIBILITY. | |
698 | ||
699 | 2011-11-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
700 | ||
701 | * alloc_cpp.cc [__osf__] (_ZnwX, _ZdlPv, _ZnaX, _ZdaPv, | |
702 | _ZnwXRKSt9nothrow_t, _ZdlPvRKSt9nothrow_t, _ZdaPvRKSt9nothrow_t): | |
703 | Dummy functions. | |
704 | * eh_cpp.cc [__osf__] (__cxa_allocate_exception, __cxa_throw, | |
705 | __cxa_begin_catch, __cxa_end_catch, __cxa_tm_cleanup): Likewise. | |
706 | ||
707 | 2011-11-16 Uros Bizjak <ubizjak@gmail.com> | |
708 | ||
709 | PR bootstrap/51098 | |
710 | * acinclude.m4 (LIBITM_CHECK_AS_AVX): Fix target selector. | |
711 | * configure: Regenerate. | |
712 | ||
713 | 2011-11-14 H.J. Lu <hongjiu.lu@intel.com> | |
714 | ||
715 | * testsuite/lib/libitm.exp: Check ia32 instead of ilp32. | |
716 | ||
717 | 2011-11-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
718 | ||
719 | * config/alpha/sjlj.S (_ITM_beginTransaction) [!__ELF__]: Don't use | |
720 | .hidden. | |
721 | (.note.GNU-stack): Only use if __linux__. | |
722 | * alloc_cpp.cc [!__osf__] (_ZnaXRKSt9nothrow_t): Dummy function. | |
723 | * testsuite/libitm.c/notx.c: Use dg-options "-pthread". | |
724 | * testsuite/libitm.c/reentrant.c: Likewise. | |
725 | * testsuite/libitm.c/simple-2.c: Likewise. | |
726 | * testsuite/libitm.c/txrelease.c: Likewise. | |
727 | * testsuite/libitm.c++/static_ctor.C: Likewise. | |
728 | ||
729 | 2011-11-10 Richard Henderson <rth@redhat.com> | |
730 | ||
731 | * config/x86/x86_avx.cc: Remove #undef __AVX__ hack. Tidy comments. | |
732 | * Makefile.am (x86_avx.lo): Only add -mavx if ARCH_X86_AVX. | |
733 | * configure.ac (ARCH_X86_AVX): New conditional. | |
734 | * Makefile.in, configure: Rebuild. | |
735 | ||
736 | 2011-11-09 Richard Henderson <rth@redhat.com> | |
737 | ||
738 | * acinclude.m4 (LIBITM_CHECK_AS_AVX): New. | |
739 | * configure.ac: Use it. | |
740 | * config.h.in, configure: Rebuild. | |
741 | * config/x86/x86_avx.cc: Handle !HAVE_AS_AVX. | |
742 | ||
743 | 2011-11-09 Richard Henderson <rth@redhat.com> | |
744 | ||
745 | * barrier.tpl, memcpy.cc, memset.cc, method-wbetl.cc: Remove file. | |
746 | * config/alpha/unaligned.h: Remove file. | |
747 | * config/generic/unaligned.h: Remove file. | |
748 | * config/x86/unaligned.h: Remove file. | |
749 | * config/generic/cachepage.h: Remove file. | |
750 | * config/posix/cachepage.cc: Remove file. | |
751 | * config/generic/cacheline.cc: Remove file. | |
752 | * config/x86/cacheline.cc: Remove file. | |
753 | * config/generic/cacheline.h (gtm_cacheline): Remove the | |
754 | store_mask, copy_mask, copy_mask_wb methods. | |
755 | * config/x86/cacheline.h: Likewise. | |
756 | * config/alpha/cacheline.h: Fall back to generic after setting size. | |
757 | * config/generic/tls.cc (gtm_mask_stack): Remove. | |
758 | * config/x86/x86_avx.cc (GTM_vpperm_shift): Remove. | |
759 | (GTM_vpalignr_table): Remove. | |
760 | * config/x86/x86_sse.cc (GTM_palignr_table): Remove. | |
761 | (GTM_pshift_table): Remove. | |
762 | * config/libitm_i.h: Don't include cachepage.h. | |
763 | * Makefile.am (libitm_la_SOURCES): Remove cacheline.cc, cachepage.cc | |
764 | * Makefile.in, testsuite/Makefile.in: Rebuild. | |
765 | ||
766 | 2011-11-09 Richard Henderson <rth@redhat.com> | |
767 | ||
768 | * config/x86/cacheline.h (gtm_cacheline::store_mask): Use .byte | |
769 | to emit branch prediction hint. | |
770 | ||
771 | * config/x86/sjlj.S: Protect elf directives with __ELF__. | |
772 | Protect .note.GNU-stack with __linux__. | |
773 | ||
774 | * configure.ac (GCC_AS_CFI_PSEUDO_OP): Test it. | |
775 | * configure, aclocal.m4, config.h.in: Rebuild. | |
776 | * config/generic/asmcfi.h: New file. | |
777 | * config/x86/sjlj.S: Use it. | |
778 | ||
779 | 2011-11-08 Richard Henderson <rth@redhat.com> | |
780 | ||
781 | * local.cc (_ITM_LB): Use a normal call, not a function alias. | |
782 | ||
783 | 2011-11-08 Richard Henderson <rth@redhat.com> | |
784 | ||
785 | * configure.tgt: Test correct directory for supported cpus. | |
786 | ||
787 | * configure.ac: Exit if unsupported. | |
788 | * configure: Rebuild. | |
789 | * configure.tgt: Delete boilerplate from libgomp for unsupported | |
790 | targets. Set UNSUPPORTED for unsupported targets. | |
791 | ||
792 | 2011-11-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
793 | ||
794 | * configure.tgt: Handle i386 like i[456]86. | |
795 | * config/generic/tls.h [!HAVE_ARCH_GTM_THREAD] (gtm_thr): Don't | |
796 | take address. | |
797 | * config/generic/tls.cc [!HAVE_ARCH_GTM_THREAD || | |
798 | !HAVE_ARCH_GTM_THREAD_DISP] (_gtm_thr_tls): New variable. | |
799 | ||
800 | 2011-11-05 Aldy Hernandez <aldyh@redhat.com> | |
801 | ||
802 | * method-wbetl.cc: Update copyright notice. | |
803 | * aatree.cc: Same. | |
804 | * util.cc: Same. | |
805 | * libitm.h: Same. | |
806 | * memset.cc: Same. | |
807 | * eh_cpp.cc: Same. | |
808 | * barrier.tpl: Same. | |
809 | * useraction.cc: Same. | |
810 | * stmlock.h: Same. | |
811 | * memcpy.cc: Same. | |
812 | * common.h: Same. | |
813 | * config/generic/tls.cc: Same. | |
814 | * config/generic/cacheline.h: Same. | |
815 | * config/generic/cachepage.h: Same. | |
816 | * config/generic/cacheline.cc: Same. | |
817 | * config/generic/unaligned.h: Same. | |
818 | * config/x86/cacheline.h: Same. | |
819 | * config/x86/cacheline.cc: Same. | |
820 | * config/x86/unaligned.h: Same. | |
821 | * config/alpha/cacheline.h: Same. | |
822 | * config/alpha/unaligned.h: Same. | |
823 | * config/alpha/sjlj.S: Same. | |
824 | * config/posix/cachepage.cc: Same. | |
825 | * config/linux/futex.h: Same. | |
826 | * config/linux/alpha/futex_bits.h: Same. | |
827 | ||
828 | 2011-11-04 Torvald Riegel <triegel@redhat.com> | |
829 | ||
830 | * libitm.texi: No cover text and invariant sections. | |
831 | ||
832 | 2011-11-03 Richard Henderson <rth@redhat.com> | |
833 | ||
834 | * local_type_traits: New file. | |
835 | * libitm_i.h: Use it. Use C headers, not C++ wrappers. | |
836 | ||
837 | 2011-11-03 Richard Henderson <rth@redhat.com> | |
838 | ||
839 | * configure.ac: Don't test for gfortran. | |
840 | * configure: Rebuild. | |
841 | ||
842 | * testsuite/lib/libitm.exp: Don't include gfortran-dg.exp. | |
843 | * testsuite/libitm.c++/c++.exp: Don't use gfortran-dg-runtest. | |
844 | ||
845 | 2011-11-03 Aldy Hernandez <aldyh@redhat.com> | |
846 | ||
847 | * testsuite/libitm.c/memcpy-1.c: Add copyright notice. | |
848 | * testsuite/libitm.c/memset-1.c: Same. | |
849 | * testsuite/libitm.c/c.exp: Same. | |
850 | * testsuite/lib/libitm-dg.exp: Same. | |
851 | * testsuite/lib/libitm.exp: Same. | |
852 | * testsuite/libitm.c++/c++.exp: Same. | |
853 | ||
854 | 2011-11-03 Aldy Hernandez <aldyh@redhat.com> | |
855 | ||
856 | * testsuite/config/default.exp: Update copyright date. | |
857 | * configure.ac: Add copyright info. | |
858 | * configure.tgt: Same. | |
859 | ||
860 | 2011-11-03 Aldy Hernandez <aldyh@redhat.com> | |
861 | ||
862 | * testsuite/libitm.c/reentrant.c: XFAIL. | |
863 | * testsuite/libitm.c++/static_ctor.C: XFAIL. | |
864 | ||
865 | 2011-10-29 Torvald Riegel <triegel@redhat.com> | |
866 | ||
867 | * beginend.cc (GTM::gtm_thread::rollback): Add aborting flag and | |
868 | handle aborts. | |
869 | (_ITM_abortTransaction): Handle aborts of outer transactions. | |
870 | * libitm_i.h: Same. | |
871 | * eh_cpp.cc (GTM::gtm_thread::revert_cpp_exceptions): Fix assertion. | |
872 | * libitm.texi: Document aborts of outer transactions. | |
873 | * testsuite/libitm.c/cancel.c: New file. | |
874 | ||
875 | 2011-10-19 Torvald Riegel <triegel@redhat.com> | |
876 | ||
877 | * testsuite/*: Change __transaction to __transaction_atomic or | |
878 | __transaction_relaxed. | |
879 | ||
880 | 2011-10-19 Torvald Riegel <triegel@redhat.com> | |
881 | ||
882 | * config/linux/x86/tls.h (abi_disp): Make TLS slot read volatile. | |
883 | (gtm_thr): Same. | |
884 | ||
885 | 2011-10-19 Torvald Riegel <triegel@redhat.com> | |
886 | ||
887 | * libitm_i.h: Add gl_wt dispatch. | |
888 | * retry.cc (parse_default_method): Same. | |
889 | * method-gl.cc: New file. | |
890 | * Makefile.am: Use method-gl.cc. | |
891 | * Makefile.in: Rebuild. | |
892 | ||
893 | 2011-10-19 Torvald Riegel <triegel@redhat.com> | |
894 | ||
895 | * beginend.cc (GTM::gtm_thread::trycommit): Ensure privatization | |
896 | safety if requested by a TM method. | |
897 | * dispatch.h (GTM::abi_dispatch::trycommit): Add parameter for | |
898 | privatization safety. | |
899 | * method-serial.cc: Same. | |
900 | ||
901 | 2011-10-19 Torvald Riegel <triegel@redhat.com> | |
902 | ||
903 | * libitm_i.h: Renamed gtm_local_undo to gtm_undolog_entry. | |
904 | (GTM::gtm_thread): Renamed local_undo to undolog. Renamed | |
905 | undolog-related member functions from *_local to *_undolog. | |
906 | * local.cc (gtm_thread::commit_undolog): Same. | |
907 | * beginend.cc (GTM::gtm_thread::trycommit): Same. | |
908 | (GTM::gtm_thread::rollback): Roll back undolog before | |
909 | dispatch-specific rollback. | |
910 | ||
911 | 2011-10-19 Torvald Riegel <triegel@redhat.com> | |
912 | ||
913 | * retry.cc (GTM::gtm_thread::decide_retry_strategy): Handle | |
914 | re-initialization of the current method group. | |
915 | * libitm_i.h (GTM::gtm_restart_reason): Add restart reason for this. | |
916 | ||
917 | 2011-10-19 Torvald Riegel <triegel@redhat.com> | |
918 | ||
919 | * alloc.cc (commit_allocations_2): Do not free transaction-local | |
920 | memory when committing a nested transaction. | |
921 | ||
922 | 2011-10-19 Torvald Riegel <triegel@redhat.com> | |
923 | ||
924 | * method-serial.cc (GTM::gtm_thread::serialirr_mode): Fixed: Use | |
925 | serial-irrevocable dispatch, not serial. | |
926 | ||
927 | 2011-10-19 Torvald Riegel <triegel@redhat.com> | |
928 | ||
929 | * libitm_i.h (GTM::gtm_restart_reason): Re-arrange and clean up | |
930 | declarations. | |
931 | * dispatch.h (GTM::abi_dispatch::begin_or_restart): New. | |
932 | * method-serial.cc: Implement begin_or_restart(). | |
933 | * beginend.cc (GTM::gtm_thread::begin_transaction): Call | |
934 | dispatch-specific begin_or_restart(). | |
935 | (GTM::gtm_thread::restart): Same. | |
936 | ||
937 | 2011-08-23 Torvald Riegel <triegel@redhat.com> | |
938 | ||
939 | * retry.cc (GTM::gtm_thread::decide_retry_strategy): Cleanup. Fix | |
940 | restarting without switching to serial mode. | |
941 | (GTM::gtm_thread::decide_begin_dispatch): Let the caller set the | |
942 | transaction state. Choose closed-nesting alternative if available. | |
943 | (GTM::gtm_thread::set_default_dispatch): New. | |
944 | (parse_default_method): New. | |
945 | (GTM::gtm_thread::number_of_threads_changed): New. | |
946 | * method-serial.cc (GTM::serial_mg): New method group class. | |
947 | (GTM::serialirr_dispatch): Belongs to serial_mg. Remove reinit and | |
948 | fini. | |
949 | (GTM::serial_dispatch): Same. | |
950 | (GTM::serialirr_onwrite_dispatch): Same. | |
951 | (GTM::gtm_thread::serialirr_mode): Remove calls to fini. | |
952 | * beginend.cc (GTM::gtm_thread::~gtm_thread): Maintain number of | |
953 | registered threads. | |
954 | (GTM::gtm_thread::gtm_thread): Same. | |
955 | (_ITM_abortTransaction): Remove calls to abi_dispatch::fini(). | |
956 | (GTM::gtm_thread::trycommit): Same. Reset number of restarts. | |
957 | (GTM::gtm_thread::begin_transaction): Let decide_begin_dispatch() | |
958 | choose dispatch but set state according to dispatch here. | |
959 | * dispatch.h (GTM::abi_dispatch::fini): Move to method group. | |
960 | (GTM::method_group): New class. | |
961 | (GTM::abi_dispatch): Add comments. Maintain pointer to method_group. | |
962 | * libitm_i.h (GTM::gtm_thread): Add declarations for new members. | |
963 | * libitm.texi: Document TM methods, method groups, method life cycle. | |
964 | Rename method sets to method groups. | |
965 | ||
966 | 2011-08-23 Torvald Riegel <triegel@redhat.com> | |
967 | ||
968 | * config/x86/tls.h: Moved to ... | |
969 | * config/linux/x86/tls.h: ... here. | |
970 | ||
971 | 2011-08-23 Torvald Riegel <triegel@redhat.com> | |
972 | ||
973 | * config/x86/tls.h: Use __x86_64__ instead of __LP64__. | |
974 | Add X32 support. | |
975 | * config/x86/sjlj.S: Same. | |
976 | ||
977 | 2011-08-19 Torvald Riegel <triegel@redhat.com> | |
978 | ||
979 | * config/linux/rwlock.h: New file. | |
980 | * config/linux/rwlock.c: New file. | |
981 | * configure.ac: Reenable futex support (undo SVN rev 157758). | |
982 | * Makefile.am: Same. | |
983 | * configure.tgt: Same. | |
984 | * config/linux/alpha/futex_bits.h: Same. | |
985 | * config/linux/futex.h: Same. Return number of woken processes. | |
986 | * config/linux/futex.cc: Same. | |
987 | (futex_wait): Remove spinning. | |
988 | * config/linux/x86/futex_bits.h: Same. Set futex timeout to zero. | |
989 | Use __x86_64__ instead of __LP64__. | |
990 | * aclocal.m4: Include generic futex checks. | |
991 | * configure: Rebuild. | |
992 | * Makefile.in: Rebuild. | |
993 | * testsuite/Makefile.in: Rebuild. | |
994 | * beginend.cc: Include pthread.h. | |
995 | * config/posix/cachepage.cc: Same. | |
996 | ||
997 | 2011-08-12 Torvald Riegel <triegel@redhat.com> | |
998 | ||
999 | * config/x86/tls.h (gtm_tx, set_gtm_tx, setup_gtm_thr): Removed. | |
1000 | (abi_disp, set_abi_disp): Move to tx's TLS slot. | |
1001 | (set_gtm_thr): New. | |
1002 | * config/generic/tls.h (gtm_tx, set_gtm_tx, setup_gtm_thr): Removed. | |
1003 | (set_gtm_thr): New. | |
1004 | (GTM::gtm_thread::thread_num): Removed. | |
1005 | (GTM::gtm_thread): Renamed to GTM::gtm_thread_tls. | |
1006 | * libitm_i.h (GTM::gtm_transaction): Renamed to GTM::gtm_thread. More | |
1007 | tx-to-thread renaming. | |
1008 | * beginend.cc: Adapted to tx-to-thread renaming. | |
1009 | (GTM::gtm_thread::~gtm_thread): Extracted from thread_exit_handler(). | |
1010 | (GTM::gtm_thread::gtm_thread): Extracted from begin_transaction(). | |
1011 | * query.cc (_ITM_getTransactionId, _ITM_inTransaction): Renamed | |
1012 | gtm_transaction to gtm_thread. | |
1013 | (_ITM_getThreadnum): Removed. Not supported anymore. | |
1014 | * testsuite/libitm.c/notx.c (main): Removed _ITM_getThreadnum call. | |
1015 | * libitm.texi: Documented that _ITM_getThreadnum is not supported. | |
1016 | * useraction.cc: Renamed gtm_transaction to gtm_thread. Adapted to | |
1017 | gtm_tx-to-gtm_thr renaming if necessary. | |
1018 | * eh_cpp.cc: Same. | |
1019 | * local.cc: Same. | |
1020 | * retry.cc: Same. | |
1021 | * clone.cc: Same. | |
1022 | * alloc.cc: Same. | |
1023 | * alloc_c.cc: Same. | |
1024 | * alloc_cpp.cc: Same. | |
1025 | * method-serial.cc: Same. | |
1026 | * config/generic/tls.cc: Same. | |
1027 | * config/posix/rwlock.h (gtm_rwlock): Same. | |
1028 | * config/posix/rwlock.cc: Same. Adapted to more tx-to-thread renaming. | |
1029 | ||
1030 | 2011-08-12 Torvald Riegel <triegel@redhat.com> | |
1031 | ||
1032 | * config/posix/rwlock.cc (gtm_rwlock::read_lock): Changed locking | |
1033 | implementation. | |
1034 | (gtm_rwlock::read_unlock): Same. | |
1035 | (gtm_rwlock::write_lock_generic): New. Generalized from ... | |
1036 | (gtm_rwlock::write_lock, gtm_rwlock::write_upgrade): ... these. | |
1037 | * libitm_i.h (GTM::gtm_transaction): Added shared_state. | |
1038 | * config/posix/rwlock.h (GTM::gtm_rwlock): Removed a_reader and | |
1039 | w_upgrade. Replaced by per-transaction flags (in shared_state). | |
1040 | Added c_confirmed_writers. | |
1041 | (GTM::gtm_rwlock::read_lock, GTM::gtm_rwlock::read_unlock, | |
1042 | GTM::gtm_rwlock::write_upgrade): Add tx parameter. | |
1043 | * retry.cc (GTM::gtm_transaction::decide_retry_strategy): Same. | |
1044 | * method-serial.cc (GTM::gtm_transaction::serialirr_mode): Same. | |
1045 | * beginend.cc (GTM::gtm_transaction::begin_transaction, | |
1046 | _ITM_abortTransaction, GTM::gtm_transaction::trycommit): Same. | |
1047 | * libitm.texi: Document locking conventions and implementations in | |
1048 | libitm. | |
1049 | ||
1050 | 2011-08-12 Torvald Riegel <triegel@redhat.com> | |
1051 | ||
1052 | * libitm_i.h (next_tx): Add list of all threads' transaction. | |
1053 | * beginend.cc (GTM::gtm_transaction::begin_transaction): Register | |
1054 | transaction with list of transactions and ... | |
1055 | (thread_exit_handler): ... deregister here. | |
1056 | * config/alpha/target.h: Add HW_CACHELINE_SIZE setting. | |
1057 | * config/x86/target.h: Same. | |
1058 | ||
1059 | 2011-08-12 Torvald Riegel <triegel@redhat.com> | |
1060 | ||
1061 | * testsuite/libitm.c++/static_ctor.C: New file. | |
1062 | ||
1063 | 2011-08-12 Torvald Riegel <triegel@redhat.com> | |
1064 | ||
1065 | * testsuite/libitm.c/reentrant.c: New file. | |
1066 | ||
1067 | 2011-08-12 Torvald Riegel <triegel@redhat.com> | |
1068 | ||
1069 | * config/generic/tls.h: Remove the free list for transactions and ... | |
1070 | * beginend.cc (GTM::gtm_transaction::operator new): ... allocate ... | |
1071 | (GTM::gtm_transaction::operator delete): ... and release here. | |
1072 | (thread_exit_handler): New. Delete tx when thread terminates. | |
1073 | (thread_exit_init): New. | |
1074 | (GTM::gtm_transaction::begin_transaction): Set up on-exit handler. | |
1075 | * testsuite/libitm.c/txrelease.c: New file. | |
1076 | ||
1077 | 2011-08-12 Torvald Riegel <triegel@redhat.com> | |
1078 | ||
1079 | * query.cc (_ITM_getThreadnum): Set up gtm_thread if necessary. | |
1080 | * testsuite/libitm.c/notx.c: New file. | |
1081 | ||
1082 | 2011-08-12 Torvald Riegel <triegel@redhat.com> | |
1083 | ||
1084 | * config/generic/tls.h (gtm_thread): Move local_tid from here ... | |
1085 | * libitm_i.h (local_tid): ... to here. | |
1086 | * beginend.cc (GTM::gtm_transaction::begin_transaction): Same. | |
1087 | (GTM::gtm_transaction::operator new): Set up gtm_thread if necessary. | |
1088 | ||
1089 | 2011-08-12 Torvald Riegel <triegel@redhat.com> | |
1090 | ||
1091 | * retry.cc (GTM::gtm_transaction::decide_begin_dispatch): Use | |
1092 | serialirr_onwrite_dispatch as new default for now. | |
1093 | * method-serial.cc (serialirr_onwrite_dispatch): New. | |
1094 | (GTM::dispatch_serialirr_onwrite): New. | |
1095 | * libitm_i.h: Same. | |
1096 | ||
1097 | 2011-08-12 Torvald Riegel <triegel@redhat.com> | |
1098 | ||
1099 | * beginend.cc (GTM::gtm_transaction::rollback): Roll back tx id as well. | |
1100 | * query.cc (_ITM_getTransactionId): There is no active transaction if | |
1101 | the current nesting level is zero. | |
1102 | ||
1103 | 2011-07-28 Torvald Riegel <triegel@redhat.com> | |
1104 | ||
1105 | * beginend.cc (GTM::gtm_transaction::rollback): Fix nesting level | |
1106 | rollback. | |
1107 | ||
1108 | 2011-07-28 Torvald Riegel <triegel@redhat.com> | |
1109 | ||
1110 | * retry.cc (GTM::gtm_transaction::decide_begin_dispatch): Get | |
1111 | transaction properties from the caller instead of from the | |
1112 | transaction object. | |
1113 | * libitm_i.h: Same. | |
1114 | * beginend.cc (GTM::gtm_transaction::begin_transaction): Same. | |
1115 | ||
1116 | 2011-07-28 Torvald Riegel <triegel@redhat.com> | |
1117 | ||
1118 | * local.cc (gtm_transaction::rollback_local): Support closed nesting. | |
1119 | * eh_cpp.cc (GTM::gtm_transaction::revert_cpp_exceptions): Same. | |
1120 | * dispatch.h: Same. | |
1121 | * method-serial.cc: Same. | |
1122 | * beginend.cc (GTM::gtm_transaction::begin_transaction): Change to | |
1123 | flat nesting as default, and closed nesting on demand. | |
1124 | (GTM::gtm_transaction::rollback): Same. | |
1125 | (_ITM_abortTransaction): Same. | |
1126 | (GTM::gtm_transaction::restart): Same. | |
1127 | (GTM::gtm_transaction::trycommit): Same. | |
1128 | (GTM::gtm_transaction::trycommit_and_finalize): Removed. | |
1129 | (choose_code_path): New. | |
1130 | (GTM::gtm_transaction_cp::save): New. | |
1131 | (GTM::gtm_transaction_cp::commit): New. | |
1132 | * query.cc (_ITM_inTransaction): Support flat nesting. | |
1133 | * libitm_i.h (GTM::gtm_transaction_cp): New helper struct for nesting. | |
1134 | (GTM::gtm_transaction): Support flat and closed nesting. | |
1135 | * alloc.cc (commit_allocations_2): New. | |
1136 | (commit_cb_data): New helper struct. | |
1137 | (GTM::gtm_transaction::commit_allocations): Handle nested | |
1138 | commits/rollbacks. | |
1139 | * libitm.texi: Update user action section, add description of nesting. | |
1140 | ||
1141 | 2011-07-28 Torvald Riegel <triegel@redhat.com> | |
1142 | ||
1143 | * libitm_i.h: Add closed nesting as restart reason. | |
1144 | * retry.cc (GTM::gtm_transaction::decide_retry_strategy): Same. | |
1145 | ||
1146 | 2011-07-28 Torvald Riegel <triegel@redhat.com> | |
1147 | ||
1148 | * useraction.cc: Use vector instead of list to store actions. | |
1149 | Also support partial rollbacks for closed nesting. | |
1150 | * libitm_i.h (GTM::gtm_transaction::user_action): Same. | |
1151 | * beginend.cc: Same. | |
1152 | ||
1153 | 2011-07-28 Torvald Riegel <triegel@redhat.com> | |
1154 | ||
1155 | * dispatch.h (GTM::abi_dispatch): Add can_run_uninstrumented_code and | |
1156 | closed_nesting flags, as well as a closed nesting alternative. | |
1157 | * method-serial.cc: Same. | |
1158 | (serial_dispatch): Renamed to serialirr_dispatch. | |
1159 | (GTM::dispatch_serialirr): Same. | |
1160 | (serial_dispatch_ul): Renamed to serial_dispatch. | |
1161 | (GTM::dispatch_serial): Same. | |
1162 | ||
1163 | 2011-07-28 Torvald Riegel <triegel@redhat.com> | |
1164 | ||
1165 | * libitm.h (_ITM_codeProperties): Change pr_hasElse to the ABI's value. | |
1166 | ||
1167 | 2011-07-28 Torvald Riegel <triegel@redhat.com> | |
1168 | ||
1169 | * aatree.h (aa_tree::remove): New. | |
1170 | (aa_tree::operator new): Add placement new. | |
1171 | ||
1172 | 2011-07-02 Torvald Riegel <triegel@redhat.com> | |
1173 | ||
1174 | * containers.h: New file. | |
1175 | * util.cc (xmalloc, xrealloc): Accept cacheline-alloc flag. | |
1176 | * libitm_i.h (xmalloc, xrealloc): Moved declarations from here ... | |
1177 | * common.h: ... to here. | |
1178 | (local_undo): Use GTM::vector for gtm_transaction::local_undo. | |
1179 | * local.cc: Same. | |
1180 | ||
1181 | 2011-06-30 Torvald Riegel <triegel@redhat.com> | |
1182 | ||
1183 | * libitm_i.h (STATE_ABORTING): Remove. | |
1184 | * beginend.cc (_ITM_abortTransaction): Same. | |
1185 | (GTM::gtm_transaction::trycommit_and_finalize): Same. | |
1186 | * libitm.h (_ITM_registerThrownObject, _ITM_tryCommitTransaction): Remove. | |
1187 | (_ITM_rollbackTransaction): Remove. | |
1188 | * beginend.cc: Same. | |
1189 | * libitm.map: Same. | |
1190 | * libitm.texi: Document these ABI changes. | |
1191 | ||
1192 | 2011-06-30 Torvald Riegel <triegel@redhat.com> | |
1193 | ||
1194 | * libitm.texi: New file. | |
1195 | * Makefile.am: Add libitm.texi. | |
1196 | * Makefile.in: Rebuild. | |
1197 | ||
1198 | 2011-06-30 Torvald Riegel <triegel@redhat.com> | |
1199 | ||
1200 | * libitm_i.h: Move parts to common.h and dispatch.h. | |
1201 | * common.h: New file. | |
1202 | * dispatch.h: New file, new dispatch class. | |
1203 | Rename GTM::abi_dispatch::lock_type to ls_modifier. | |
1204 | RenameGTM::abi_dispatch::NOLOCK to NONTXNAL. | |
1205 | * beginend.cc (GTM::gtm_transaction::begin_transaction): Delegate mode | |
1206 | decision to retry.cc. | |
1207 | * retry.cc (GTM::gtm_transaction::decide_retry_strategy): Use serial mode | |
1208 | only. | |
1209 | (GTM::gtm_transaction::decide_begin_dispatch): Same. | |
1210 | * method-serial.cc: Adapt to new dispatch. Add serial mode with undo | |
1211 | logging. | |
1212 | * barrier.cc: Use new barriers definitions. | |
1213 | (abi_dispatch::memmove_overlap_check): New. | |
1214 | * config/x86/x86_sse.cc: Same. | |
1215 | * config/x86/x86_avx.cc: Same. | |
1216 | * Makefile.am: Don't build readonly and wbetl methods, memset.cc and | |
1217 | memcpy.cc. | |
1218 | * Makefile.in: Rebuild. | |
1219 | * method-readonly.cc: Remove. | |
1220 | * method-wbetl.cc: Rename GTM::abi_dispatch::lock_type to ls_modifier. | |
1221 | Rename GTM::abi_dispatch::NOLOCK to NONTXNAL. | |
1222 | ||
1223 | 2011-06-30 Torvald Riegel <triegel@redhat.com> | |
1224 | ||
1225 | * alloc_c.cc (_ITM_dropReferences): Don't support it anymore. | |
1226 | * testsuite/libitm.c++/dropref.C: _ITM_dropReferences is expected to fail. | |
1227 | * testsuite/libitm.c/dropref-2.c: Same. | |
1228 | * testsuite/libitm.c/dropref.c: Same. | |
1229 | ||
1230 | 2011-06-30 Torvald Riegel <triegel@redhat.com> | |
1231 | ||
1232 | * config/generic/tls.h (gtm_disp): Rename to abi_disp. | |
1233 | * config/generic/tls.h (set_gtm_disp): Rename to set_abi_disp. | |
1234 | * libitm_i.h: Rename gtm_dispatch to abi_dispatch. | |
1235 | * alloc_c.cc: Same. | |
1236 | * barrier.tpl: Same. | |
1237 | * beginend.c: Same. | |
1238 | * config/generic/tls.h: Same. | |
1239 | * config/x86/tls.h: Same. | |
1240 | * libitm_i.h: Same. | |
1241 | * memcpy.cc: Same. | |
1242 | * memset.cc: Same. | |
1243 | * method-readonly.cc: Same. | |
1244 | * method-serial.cc: Same. | |
1245 | * method-wbetl.cc: Same. | |
1246 | * retry.cc: Same. | |
1247 | ||
1248 | 2011-03-03 Richard Henderson <rth@redhat.com> | |
1249 | ||
1250 | * config/posix/rwlock.cc (write_upgrade): Add missing case. | |
1251 | From Patrik Marlier <patrick.marlier@unine.ch>. | |
1252 | ||
1253 | 2011-02-03 Richard Henderson <rth@redhat.com> | |
1254 | ||
1255 | * acinclude.m4 (LIBITM_CHECK_SIZE_T_MANGLING): New. | |
1256 | * configure.ac: Use it. | |
1257 | * configure, config.h.in: Rebuild. | |
1258 | * alloc_cpp.cc (_ZnwX): Use MANGLE_SIZE_T in constructing the name. | |
1259 | (_ZnaX, _ZnwXRKSt9nothrow_t, _ZnaXRKSt9nothrow_t, _ZGTtnwX, | |
1260 | _ZGTtnaX, _ZGTtnwXRKSt9nothrow_t, _ZGTtnaXRKSt9nothrow_t): Likewise. | |
1261 | * libitm.map: Use wildcards to match size_t mangling. | |
1262 | ||
1263 | 2010-12-14 Richard Henderson <rth@redhat.com> | |
1264 | ||
1265 | * beginend.cc (GTM::gtm_transaction::begin_transaction): Allocate | |
1266 | blocks of TIDs per thread. | |
1267 | * config/generic/tls.h (struct gtm_thread): Add local_tid member. | |
1268 | (setup_gtm_thr): Return the thread structure. | |
1269 | * config/x86/tls.h (setup_gtm_thr): Likewise. | |
1270 | ||
1271 | 2010-12-14 Richard Henderson <rth@redhat.com> | |
1272 | ||
1273 | * clone.cc (table_lock): Remove. | |
1274 | (find_clone): Don't take it. | |
1275 | (ExcludeTransaction): New helper class. | |
1276 | (_ITM_registerTMCloneTable): Use it. | |
1277 | (_ITM_deregisterTMCloneTable): Likewise. | |
1278 | ||
1279 | 2010-12-14 Richard Henderson <rth@redhat.com> | |
1280 | ||
1281 | * config/x86/tls.h: New file. | |
1282 | ||
1283 | 2010-07-15 Richard Henderson <rth@redhat.com> | |
1284 | ||
1285 | * Makefile.am (AM_CXXFLAGS): Add -funwind-tables. | |
1286 | * Makefile.in: Rebuild. | |
1287 | ||
1288 | 2010-07-13 Aldy Hernandez <aldyh@redhat.com> | |
1289 | ||
1290 | * method-wbetl.cc (trydropreference): Fix source line. | |
1291 | ||
1292 | 2010-07-13 Aldy Hernandez <aldyh@redhat.com> | |
1293 | ||
1294 | * libitm.h: Add comment. | |
1295 | * libitm_i.h (begin_transaction): Add ITM_REGPARM. | |
1296 | ||
1297 | 2010-07-07 Aldy Hernandez <aldyh@redhat.com> | |
1298 | ||
1299 | * configure.ac: Call LIBITM_CHECK_64BIT_SYNC_BUILTINS. | |
1300 | * beginend.cc (begin_transaction): If 64-bit sync builtins are not | |
1301 | available, use pthread mutexes. | |
1302 | * acinclude.m4 (LIBITM_CHECK_64BIT_SYNC_BUILTINS): New. | |
1303 | * config.h.in: Regenerate. | |
1304 | * configure: Regenerate. | |
1305 | ||
1306 | 2010-07-06 Aldy Hernandez <aldyh@redhat.com> | |
1307 | ||
1308 | * libitm.h (ITM_PURE): Define. | |
1309 | Declare _ITM_malloc, _ITM_calloc, and _ITM_free. | |
1310 | ||
1311 | 2010-06-28 Aldy Hernandez <aldyh@redhat.com> | |
1312 | ||
1313 | * method-wbetl.cc (class wbetl_dispatch): Add trydropreference. | |
1314 | (validate): Add comment. | |
1315 | (trydropreference): New. | |
1316 | * method-readonly.cc (class readonly_dispatch): Add | |
1317 | trydropreference. | |
1318 | * alloc_c.cc (_ITM_dropReferences): Remove const attribute. | |
1319 | Call trydropreference(). | |
1320 | * libitm.h (_ITM_dropReferences): Remove const attribute. | |
1321 | * method-serial.cc (class serial_dispatch): Add trydropreference. | |
1322 | * libitm_i.h (struct gtm_dispatch): Add trydropreference. | |
1323 | ||
1324 | 2010-06-28 Aldy Hernandez <aldyh@redhat.com> | |
1325 | ||
1326 | * memcpy.cc (do_memcpy): Comment. | |
1327 | ||
1328 | 2010-06-25 Aldy Hernandez <aldyh@redhat.com> | |
1329 | ||
1330 | * barrier.tpl: Add comments throughout. | |
1331 | ||
1332 | 2010-06-24 Aldy Hernandez <aldyh@redhat.com> | |
1333 | ||
1334 | * method-wbetl.cc (struct w_entry): Add comments. | |
1335 | (trycommit): Same. | |
1336 | (rollback): Same. | |
1337 | ||
1338 | 2010-06-24 Aldy Hernandez <aldyh@redhat.com> | |
1339 | ||
1340 | * alloc_c.cc (_ITM_dropReferences): New. | |
1341 | * libitm.map (_ITM_dropReferences): Add. | |
1342 | * libitm.h (_ITM_dropReferences): Add transaction_pure attribute. | |
1343 | * libitm_i.h (struct gtm_transaction): Declare | |
1344 | drop_references_allocations and drop_references_local. | |
1345 | * local.cc (rollback_local): Ignore memory when applicable. | |
1346 | (drop_references_local): New. | |
1347 | ||
1348 | 2010-06-23 Richard Henderson <rth@redhat.com> | |
1349 | ||
1350 | * barrier.tpl, beginend.cc, clone.cc, tls.h, memcpy.cc, | |
1351 | memset.cc, method-serial.cc: Revert the 2010-06-16 change. | |
1352 | * config/x86/target.h (struct gtm_jmpbuf): Change CFA type to void*. | |
1353 | * config/alpha/target.h: Likewise. | |
1354 | * config/generic/tls.cc (gtm_mask_stack): Use it. | |
1355 | ||
1356 | 2010-06-23 Richard Henderson <rth@redhat.com> | |
1357 | ||
1358 | * config/posix/cachepage.cc (gtm_cacheline_page::operator new): Use | |
1359 | a mutex instead of trying a lock-free compare-and-swap on the list. | |
1360 | (gtm_cacheline_page::operator delete): Likewise. | |
1361 | ||
1362 | 2010-06-16 Richard Henderson <rth@redhat.com> | |
1363 | ||
1364 | * method-wbetl.cc (wbetl_dispatch::trycommit): Discard changes | |
1365 | that overlap the libitm stack. | |
1366 | * barrier.tpl: Mark incoming stack. | |
1367 | * beginend.cc (_ITM_rollbackTransaction, _ITM_abortTransaction, | |
1368 | _ITM_commitTransaction, _ITM_commitTransactionEH): Likewise. | |
1369 | * clone.cc (_ITM_getTMCloneOrIrrevocable): Likewise. | |
1370 | * memcpy.cc, memset.cc: Likewise. | |
1371 | * method-serial.cc (_ITM_changeTransactionMode): Likewise. | |
1372 | * config/generic/tls.h (gtm_thread): Add stack_top member. | |
1373 | (gtm_stack_top, set_gtm_stack_top, struct gtm_stack_marker): New. | |
1374 | * libitm_i.h (gtm_mask_stack): Declare. | |
1375 | * config/generic/tls.cc: New file. | |
1376 | * Makefile.am (libitm_la_SOURCES): Add it. | |
1377 | (AM_CXXFLAGS): Turn off exceptions. | |
1378 | * Makefile.in: Rebuild. | |
1379 | ||
1380 | 2010-06-16 Richard Henderson <rth@redhat.com> | |
1381 | ||
1382 | * alloc.cc (struct gtm_alloc_action): Move definition ... | |
1383 | * libitm_i.h: ... here. | |
1384 | (class gtm_transaction): Declare new and delete. | |
1385 | * beginend.cc (alloc_tx): Reformulate as operator new. | |
1386 | (free_tx): Reformulate as operator delete. | |
1387 | * config/generic/tls.h (gtm_thread): Change free_tx member to void *. | |
1388 | ||
1389 | 2010-06-11 Richard Henderson <rth@redhat.com> | |
1390 | ||
1391 | * clone.cc (clone_entry_compare): Fix typo. | |
1392 | From Patrik Marlier <patrick.marlier@unine.ch>. | |
1393 | ||
1394 | 2010-05-13 Richard Henderson <rth@redhat.com> | |
1395 | ||
1396 | * alloc_c.cc (_ITM_malloc, _ITM_calloc, _ITM_free): Wrap functions | |
1397 | in extern "C". | |
1398 | ||
1399 | 2010-05-07 Aldy Hernandez <aldyh@redhat.com> | |
1400 | ||
1401 | * libitm_i.h (struct gtm_transaction): Remove | |
1402 | get_allocation_size. | |
1403 | (record_allocation): Remove size parameter. | |
1404 | * libitm.map (_ITM_realloc): Remove. | |
1405 | * alloc_c.cc (_ITM_realloc): Remove. | |
1406 | (_ITM_malloc): Remove size argument to record_allocation. | |
1407 | (_ITM_calloc): Same. | |
1408 | * alloc_cpp.cc (_ZGTtnwm): Same. | |
1409 | (_ZGTtnwmRKSt9nothrow_t): Same. | |
1410 | (_ZGTtnam): Same. | |
1411 | (_ZGTtnamRKSt9nothrow_t): Same. | |
1412 | * alloc.cc (struct gtm_alloc_action): Remove size. | |
1413 | (get_allocation_size): Remove. | |
1414 | (commit_allocations): Add comment. | |
1415 | (record_allocation): Remove size parameter. | |
1416 | (forget_allocation): Remove set of size. | |
1417 | ||
1418 | 2010-04-19 Aldy Hernandez <aldyh@redhat.com> | |
1419 | ||
1420 | * Makefile.am (abi_version): New. | |
1421 | (AM_CXXFLAGS): Pass abi_version. | |
1422 | * Makefile.in: Regenerate. | |
1423 | * config/x86/unaligned.h: Remove always_inline kludge for vectors. | |
1424 | ||
1425 | 2010-04-06 Aldy Hernandez <aldyh@redhat.com> | |
1426 | ||
1427 | * clone.cc (_ITM_getTMCloneOrIrrevocable): Rename from | |
1428 | _ITM_getTMCloneOrIrrevokable. | |
1429 | * libitm.h (_ITM_getTMCloneOrIrrevocable): Same. | |
1430 | * libitm.map (_ITM_getTMCloneOrIrrevocable): Same. | |
1431 | ||
1432 | 2010-03-26 Aldy Hernandez <aldyh@redhat.com> | |
1433 | ||
1434 | * configure.ac: Remove Linux futex support. | |
1435 | * configure.tgt (config_path): Same. | |
1436 | * Makefile.am: Same. | |
1437 | * config/linux: Remove entire directory. | |
1438 | * configure: Rebuild. | |
1439 | * Makefile.in: Rebuild. | |
1440 | * testsuite/Makefile.in: Rebuild. | |
1441 | ||
1442 | 2010-03-09 Aldy Hernandez <aldyh@redhat.com> | |
1443 | ||
1444 | * retry.cc (decide_retry_strategy): Set state to STATE_SERIAL when | |
1445 | switching to serial mode. | |
1446 | * beginend.cc (trycommit_and_finalize): Unlock serial_lock. | |
1447 | ||
1448 | 2010-03-03 Aldy Hernandez <aldyh@redhat.com> | |
1449 | ||
1450 | * configure.tgt: Add emacs -*- tags. | |
1451 | * barrier.tpl: Same. | |
1452 | ||
1453 | 2010-02-23 Aldy Hernandez <aldyh@redhat.com> | |
1454 | ||
1455 | * Makefile.am: Rename serial.cc to method-serial.cc. | |
1456 | * Makefile.in: Regenerate with automake 1.11.1. | |
1457 | * testsuite/Makefile.in: Same. | |
1458 | * aclocal.m4: Regenerate with aclocal 1.11.1. | |
1459 | * method-serial.cc: Rename from serial.cc. | |
1460 | * libitm_i.h (struct gtm_transaction): Update comment on | |
1461 | serialirr_mode. | |
1462 | ||
1463 | 2010-02-22 Aldy Hernandez <aldyh@redhat.com> | |
1464 | ||
1465 | * libitm_i.h (GTM_longjmp): Add ITM_REGPARM. | |
1466 | * config/linux/rwlock.h (class gtm_rwlock): Add comments. | |
1467 | ||
1468 | 2010-02-11 Aldy Hernandez <aldyh@redhat.com> | |
1469 | ||
1470 | * configure: Rebuild. | |
1471 | ||
1472 | 2009-11-12 Richard Henderson <rth@redhat.com> | |
1473 | ||
1474 | * Rewrite everything in C++. | |
1475 | ||
1476 | 2009-11-03 Richard Henderson <rth@redhat.com> | |
1477 | ||
1478 | * config/x86/x86_sse.c, config/x86/x86_avx.c: New files. | |
1479 | * Makefile.am (libitm_la_SOURCES): Add them. | |
1480 | * configure.ac (ARCH_X86): New conditional. | |
1481 | * Makefile.in, configure: Rebuild. | |
1482 | * configure.tgt: Set up ARCH; do cflags setup at the same time. | |
1483 | Move futex setup into "other system configury" case. | |
1484 | * local.c (rollback_local): Merge into ... | |
1485 | (GTM_rollback_local): ... here. | |
1486 | (GTM_LB): Rename from GTM_alloc_local; do the memcpy here. | |
1487 | (_ITM_LB): Define as an alias to GTM_LB. | |
1488 | ||
1489 | 2009-11-03 Richard Henderson <rth@redhat.com> | |
1490 | ||
1491 | * method-readonly.c: New file. | |
1492 | * Makefile.am (libitm_la_SOURCES): Add it. | |
1493 | * Makefile.in: Rebuild. | |
1494 | * beginend.c (gtm_stmlock_array, gtm_clock): New. | |
1495 | (GTM_begin_transaction): Use dispatch_readonly for read-only txn. | |
1496 | * libitm_i.h (gtm_stmlock, gtm_version): Move from method-wbetl.c. | |
1497 | (GTM_VERSION_MAX, GTM_VERSION_INVALID, gtm_stmlock_owned_p, | |
1498 | gtm_stmlock_set_owned, gtm_stmlock_get_addr, | |
1499 | gtm_stmlock_get_version, gtm_stmlock_set_version, LOCK_ARRAY_SIZE, | |
1500 | gtm_stmlock_array, gtm_get_stmlock, gtm_clock, RESTART_NOT_READONLY, | |
1501 | gtm_get_clock, gtm_inc_clock): New. | |
1502 | * method-wbetl.c (gtm_version, gtm_stmlock, OWNED_MASK, VERSION_MAX, | |
1503 | LOCK_GET_OWNED, LOCK_SET_ADDR, LOCK_GET_ADDR, LOCK_GET_TIMESTAMP, | |
1504 | LOCK_SET_TIMESTAMP, LOCK_ARRAY_SIZE, LOCK_MASK, LOCK_IDX, GET_LOCK, | |
1505 | locks, gclock, CLOCK, GET_CLOCK, FETCH_AND_INC_CLOCK): Remove and | |
1506 | replace uses with new libitm_i.h symbols. | |
1507 | (dispatch_wbetl): Rename from wbetl_dispatch. | |
1508 | * retry.c (GTM_decide_retry_strategy): If RESTART_NOT_READONLY, move | |
1509 | away from dispatch_readonly; abort if the beginTransaction call | |
1510 | asserted that the transaction was readonly. | |
1511 | ||
1512 | 2009-11-03 Richard Henderson <rth@redhat.com> | |
1513 | ||
1514 | * memset.c: New file. | |
1515 | * Makefile.am (libitm_la_SOURCES): Add it. | |
1516 | * Makefile.in: Rebuild. | |
1517 | * testsuite/libitm.c/memset-1.c: New. | |
1518 | ||
1519 | 2009-11-03 Richard Henderson <rth@redhat.com> | |
1520 | ||
1521 | * dispatch.c: Remove file. | |
1522 | * useraction.c (struct gtm_user_action): Move from libitm.h. | |
1523 | * serial.c (GTM_null_read_lock, GTM_null_write_lock): New. | |
1524 | (serial_memset, serial_memmove, serial_memcpy): Remove. | |
1525 | (serial_W*, serial_R*): Remove. | |
1526 | (serial_dispatch): Update to match. | |
1527 | * configure.ac: Move Werror down below configure checks. Don't | |
1528 | check for sys/loadavg.h, do check for malloc.h. Don't check for | |
1529 | getloadavg and clock_gettime; do check for memalign, posix_memalign. | |
1530 | Use GCC_AC_FUNC_MMAP_BLACKLIST | |
1531 | * libitm.h: Split out all internal items to... | |
1532 | * libitm_i.h: ... here. New file. | |
1533 | * copymask.c: New file. | |
1534 | * local.c (struct gtm_local_undo): Move from libitm.h. | |
1535 | (GTM_alloc_local): Rename from alloc_local; export. | |
1536 | * memcpy.c: New file. | |
1537 | * alloc_c.c (_ITM_realloc): Use _ITM_memcpyRnWt directly. | |
1538 | * config/posix/page.c: New file. | |
1539 | * config/posix/target_tls.h: Remove file. | |
1540 | * barrier.c: New file. | |
1541 | * Makefile.am (libitm_la_SOURCES): Add barrier.c, memcpy.c, | |
1542 | copymask.c, page.c. | |
1543 | * alloc.c (struct gtm_alloc_action): Move from libitm.h. | |
1544 | * method-wbetl.c: Rewrite for new cacheline methods. | |
1545 | * Makefile.in, configure, testsuite/Makefile.in, config.h.in: Rebuild. | |
1546 | ||
1547 | * config/alpha/sjlj.S: Fix typo. | |
1548 | * config/alpha/target_i.h: Copy functions from alpha/target.h. | |
1549 | * config/alpha/copymask.c: New file. | |
1550 | * config/alpha/target.h (CACHELINE_SIZE): New. | |
1551 | (STRICT_ALIGNMENT, PAGE_SIZE, FIXED_PAGE_SIZE): New. | |
1552 | ||
1553 | * config/x86/target_i.h: Copy functions from x86/target.h. | |
1554 | * config/x86/copymask.c: New file. | |
1555 | * config/x86/target.h (_ITM_ALL_TARGET_TYPES): Remove. | |
1556 | (CACHELINE_SIZE, STRICT_ALIGNMENT): New. | |
1557 | (PAGE_SIZE, FIXED_PAGE_SIZE): New. | |
1558 | * config/x86/target_tls.h: Move contents to target_i.h. | |
1559 | ||
1560 | * testsuite/libitm.c/clone-1.c: Include libitm.h. | |
1561 | * testsuite/libitm.c/memcpy-1.c: New. | |
1562 | ||
1563 | 2009-10-22 Richard Henderson <rth@redhat.com> | |
1564 | ||
1565 | * Makefile.am (CCAS, CCASFLAGS, LTCCASCOMPILE): Remove. | |
1566 | (AM_CCASFLAGS): New. | |
1567 | * configure.ac: Add AM_PROG_AS. Use m4_rename_force for | |
1568 | saving/restoring _AC_ARG_VAR_PRECIOUS. | |
1569 | * Makefile.in, aclocal.m4, config.h.in, configure, | |
1570 | testsuite/Makefile.in: Rebuild with automake 1.11; autoconf 2.64. | |
1571 | ||
1572 | 2009-10-22 Richard Henderson <rth@redhat.com> | |
1573 | ||
1574 | * testsuite/*: Update for new compiler syntax. | |
1575 | ||
1576 | 2009-10-21 Richard Henderson <rth@redhat.com> | |
1577 | ||
1578 | * libitm.h (_ITM_abortReason): Add outerAbort. | |
1579 | ||
1580 | 2009-08-03 Richard Henderson <rth@redhat.com> | |
1581 | ||
1582 | * libitm.map (_ITM_commitTransactionEH, _ITM_cxa_allocate_exception, | |
1583 | _ITM_cxa_begin_catch, _ITM_cxa_end_catch, _ITM_cxa_throw): Export. | |
1584 | * method-wbetl.c (struct w_entry): Remove mask. | |
1585 | (wbetl_write, wbetl_load): Return pointer to word containing the data; | |
1586 | adjust all callers. | |
1587 | ||
1588 | 2009-07-22 Richard Henderson <rth@redhat.com> | |
1589 | ||
1590 | * eh_cpp.c: New file. | |
1591 | * Makefile.am (libitm_la_SOURCES): Add it. | |
1592 | * Makefile.in: Rebuild. | |
1593 | * beginend.c (GTM_rollback_transaction): Undo exception state. | |
1594 | (GTM_trycommit_transaction): Mark inline. | |
1595 | (GTM_trycommit_and_finalize_transaction): Split out from ... | |
1596 | (_ITM_commitTransaction): ... here. | |
1597 | (_ITM_commitTransactionEH): New function. | |
1598 | * libitm.h (struct gtm_transaction): Add cxa_catch_count, | |
1599 | cxa_unthrown, eh_in_flight; reorder. | |
1600 | ||
1601 | * testsuite/libitm.c++/c++.exp: New. | |
1602 | * testsuite/libitm.c++/eh-1.C: New. | |
1603 | ||
1604 | * aatree.c (aa_free): Remove REGPARM. | |
1605 | * aatree.h: Remove all REGPARM. | |
1606 | ||
1607 | 2009-07-18 Richard Henderson <rth@redhat.com> | |
1608 | ||
1609 | * aatree.c, aatree.h, alloc.c, alloc_c.c, alloc_cpp.c: New files. | |
1610 | * Makefile.am (libitm_la_SOURCES): Add them. | |
1611 | * Makefile.in: Rebuild. | |
1612 | * beginend.c (GTM_rollback_transaction): Use GTM_commit_allocations. | |
1613 | (GTM_trycommit_transaction): Likewise. | |
1614 | * libitm.h: Include aatree.h | |
1615 | (struct gtm_alloc_action): New. | |
1616 | (struct gtm_transaction): Add alloc_actions. | |
1617 | (GTM_record_allocation, GTM_forget_allocation): Declare. | |
1618 | (GTM_get_allocation_size, GTM_commit_allocations): Declare. | |
1619 | * libitm.map (_ITM_malloc, _ITM_calloc, _ITM_realloc, _ITM_free, | |
1620 | _ZGTtnwm, _ZGTtnam, _ZGTtdlPv, _ZGTtdaPv, _ZGTtnwmRKSt9nothrow_t, | |
1621 | _ZGTtnamRKSt9nothrow_t, _ZGTtdlPvRKSt9nothrow_t, | |
1622 | _ZGTtdaPvRKSt9nothrow_t): Export. | |
1623 | ||
1624 | 2009-07-18 Richard Henderson <rth@redhat.com> | |
1625 | ||
1626 | * target_tls.h: Move ... | |
1627 | * config/posix/target_tls.h: ... here. | |
1628 | ||
1629 | 2009-07-07 Richard Henderson <rth@redhat.com> | |
1630 | ||
1631 | * config/x86/target.h (atomic_write_barrier): Use sfence if available. | |
1632 | ||
1633 | 2009-07-07 Richard Henderson <rth@redhat.com> | |
1634 | ||
1635 | * Update to GPL3. | |
1636 | ||
1637 | 2009-07-07 Richard Henderson <rth@redhat.com> | |
1638 | ||
1639 | * libitm.h (struct gtm_transaction): Widen id to _ITM_transactionId_t. | |
1640 | * beginend.c (global_tid): Widen to _ITM_transactionId_t. | |
1641 | ||
1642 | * configure.tgt: Don't use -ftls-model for x86 linux. | |
1643 | * libitm.h: Include target.h after standard includes. | |
1644 | (_gtm_thr): Rename from gtm_thr. | |
1645 | (setup_gtm_thr, gtm_thr, gtm_tx, set_gtm_tx): New. | |
1646 | (gtm_disp, set_gtm_disp): New. | |
1647 | * beginend.c, dispatch.c, local.c, method-wbetl.c, query.c, | |
1648 | retry.c, serial.c, useraction.c: Use accessor functions throughout. | |
1649 | * config/alpha/target_tls.h, config/x86/target_tls.h: New files. | |
1650 | ||
1651 | 2009-07-07 Richard Henderson <rth@redhat.com> | |
1652 | ||
1653 | * config/linux/rwlock.c (EZ): New define. Use it throughout. | |
1654 | ||
1655 | 2009-07-06 Richard Henderson <rth@redhat.com> | |
1656 | ||
1657 | * libitm.h (_ITM_SRCLOCATION_DECL_1, _ITM_SRCLOCATION_DECL_2): Remove. | |
1658 | (_ITM_SRCLOCATION_DEFN_1, _ITM_SRCLOCATION_DEFN_2): Remove. | |
1659 | (_ITM_beginTransaction): Take variadic arguments. | |
1660 | (_ITM_registerThrownObject): Declare. | |
1661 | * beginend.c, serial.c: Update. | |
1662 | * libitm.map: Add _ITM_registerThrownObject. | |
1663 | ||
1664 | 2009-01-28 Richard Henderson <rth@redhat.com> | |
1665 | ||
1666 | * Makefile.am (libitm_la_SOURCES): Add clone.c. | |
1667 | * Makefile.in: Rebuild. | |
1668 | * beginend.c (_ITM_abortTransaction): Abort if irrevokable. | |
1669 | (GTM_restart_transaction): Fix uninstrumented code check. | |
1670 | * retry.c (GTM_decide_retry_strategy): Add serial check. | |
1671 | * serial.c (GTM_serialmode): Add irrevokable variable. Don't | |
1672 | automatically go irrevokable when in serial mode. | |
1673 | * clone.c: New file. | |
1674 | * libitm.h, libitm.map: Update. | |
1675 | ||
1676 | 2009-01-27 Richard Henderson <rth@redhat.com> | |
1677 | ||
1678 | * Makefile.am (LTCCASCOMPILE): Define. | |
1679 | (libitm_la_SOURCES): Add methid-wbetl.c. | |
1680 | * testsuite/Makefile.am: New | |
1681 | * configure.ac: Add testsuite/Makefile. | |
1682 | * Makefile.in, testsuite/Makefile.in, configure: Regenerate. | |
1683 | * beginend.c (GTM_begin_transaction): Install wbetl_dispatch. | |
1684 | (_ITM_abortTransaction): Finalize implementation method; pass | |
1685 | transaction properties to longjmp. | |
1686 | (GTM_restart_transaction): Split out from ... | |
1687 | (_ITM_commitTransaction): ... here. | |
1688 | * config/linux/x86/futex_bits.h (cpu_relax, atomic_write_barrier): | |
1689 | Move to config/x86/target.h. | |
1690 | * config/linux/alpha/futex_bits.h: New. | |
1691 | * config/x86/sjlj.S (GTM_longjmp): Fix 64-bit input register. | |
1692 | * config/x86/target.h: Disable target types for 32-bit. | |
1693 | * config/alpha/sjlj.S, config/alpha/target.h: New. | |
1694 | * libitm.h (struct gtm_dispatch): Add init, fini. | |
1695 | (enum restart_reason): New. | |
1696 | (struct gtm_transaction): Add method and restarts. | |
1697 | * retry.c (GTM_decide_retry_strategy): Implement. | |
1698 | * serial.c (serial_init, serial_fini): New. | |
1699 | (GTM_serialmode): Finialize outgoing method. | |
1700 | * method-wbetl.c: New. | |
1701 | ||
1702 | 2008-12-09 Richard Henderson <rth@redhat.com> | |
1703 | ||
1704 | * config/x86/target.h (_ITM_ALL_TARGET_TYPES, _ITM_TYPE_ATTR): New. | |
1705 | * configure.tgt (i386-*, x86_64-*): Don't force SSE. | |
1706 | * dispatch.c (_ITM_##R##T, _ITM_##W##T): Use _ITM_TYPE_ATTR. | |
1707 | * libitm.h (_ITM_ALL_TARGET_TYPES, _ITM_TYPE_ATTR): Provide default. | |
1708 | (_ITM_TYPE_M64, _ITM_TYPE_M128, _ITM_TYPE_M256): Move to x86 header. | |
1709 | (_ITM_ALL_TYPES): Use _ITM_ALL_TARGET_TYPES. | |
1710 | * local.c (_ITM_L##T): Use _ITM_TYPE_ATTR. | |
1711 | * serial.c (serial_R##T, serial_W##T): Likewise. | |
1712 | ||
1713 | 2008-11-21 Richard Henderson <rth@redhat.com> | |
1714 | ||
1715 | * Initial commit. |