OSDN Git Service

2011-11-16 Paolo Carlini <paolo.carlini@oracle.com>
[pf3gnuchains/gcc-fork.git] / libitm / ChangeLog
1 2011-11-14  H.J. Lu  <hongjiu.lu@intel.com>
2
3         * testsuite/lib/libitm.exp: Check ia32 instead of ilp32.
4
5 2011-11-10  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
6
7         * config/alpha/sjlj.S (_ITM_beginTransaction) [!__ELF__]: Don't use
8         .hidden.
9         (.note.GNU-stack): Only use if __linux__.
10         * alloc_cpp.cc [!__osf__] (_ZnaXRKSt9nothrow_t): Dummy function.
11         * testsuite/libitm.c/notx.c: Use dg-options "-pthread".
12         * testsuite/libitm.c/reentrant.c: Likewise.
13         * testsuite/libitm.c/simple-2.c: Likewise.
14         * testsuite/libitm.c/txrelease.c: Likewise.
15         * testsuite/libitm.c++/static_ctor.C: Likewise.
16
17 2011-11-10  Richard Henderson  <rth@redhat.com>
18
19         * config/x86/x86_avx.cc: Remove #undef __AVX__ hack.  Tidy comments.
20         * Makefile.am (x86_avx.lo): Only add -mavx if ARCH_X86_AVX.
21         * configure.ac (ARCH_X86_AVX): New conditional.
22         * Makefile.in, configure: Rebuild.
23
24 2011-11-09  Richard Henderson  <rth@redhat.com>
25
26         * acinclude.m4 (LIBITM_CHECK_AS_AVX): New.
27         * configure.ac: Use it.
28         * config.h.in, configure: Rebuild.
29         * config/x86/x86_avx.cc: Handle !HAVE_AS_AVX.
30
31 2011-11-09  Richard Henderson  <rth@redhat.com>
32
33         * barrier.tpl, memcpy.cc, memset.cc, method-wbetl.cc: Remove file.
34         * config/alpha/unaligned.h: Remove file.
35         * config/generic/unaligned.h: Remove file.
36         * config/x86/unaligned.h: Remove file.
37         * config/generic/cachepage.h: Remove file.
38         * config/posix/cachepage.cc: Remove file.
39         * config/generic/cacheline.cc: Remove file.
40         * config/x86/cacheline.cc: Remove file.
41         * config/generic/cacheline.h (gtm_cacheline): Remove the
42         store_mask, copy_mask, copy_mask_wb methods.
43         * config/x86/cacheline.h: Likewise.
44         * config/alpha/cacheline.h: Fall back to generic after setting size.
45         * config/generic/tls.cc (gtm_mask_stack): Remove.
46         * config/x86/x86_avx.cc (GTM_vpperm_shift): Remove.
47         (GTM_vpalignr_table): Remove.
48         * config/x86/x86_sse.cc (GTM_palignr_table): Remove.
49         (GTM_pshift_table): Remove.
50         * config/libitm_i.h: Don't include cachepage.h.
51         * Makefile.am (libitm_la_SOURCES): Remove cacheline.cc, cachepage.cc
52         * Makefile.in, testsuite/Makefile.in: Rebuild.
53
54 2011-11-09  Richard Henderson  <rth@redhat.com>
55
56         * config/x86/cacheline.h (gtm_cacheline::store_mask): Use .byte
57         to emit branch prediction hint.
58
59         * config/x86/sjlj.S: Protect elf directives with __ELF__.
60         Protect .note.GNU-stack with __linux__.
61
62         * configure.ac (GCC_AS_CFI_PSEUDO_OP): Test it.
63         * configure, aclocal.m4, config.h.in: Rebuild.
64         * config/generic/asmcfi.h: New file.
65         * config/x86/sjlj.S: Use it.
66
67 2011-11-08  Richard Henderson  <rth@redhat.com>
68
69         * local.cc (_ITM_LB): Use a normal call, not a function alias.
70
71 2011-11-08  Richard Henderson  <rth@redhat.com>
72
73         * configure.tgt: Test correct directory for supported cpus.
74
75         * configure.ac: Exit if unsupported.
76         * configure: Rebuild.
77         * configure.tgt: Delete boilerplate from libgomp for unsupported
78         targets.  Set UNSUPPORTED for unsupported targets.
79
80 2011-11-08  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
81
82         * configure.tgt: Handle i386 like i[456]86.
83         * config/generic/tls.h [!HAVE_ARCH_GTM_THREAD] (gtm_thr): Don't
84         take address.
85         * config/generic/tls.cc [!HAVE_ARCH_GTM_THREAD ||
86         !HAVE_ARCH_GTM_THREAD_DISP] (_gtm_thr_tls): New variable.
87
88 2011-11-05  Aldy Hernandez  <aldyh@redhat.com>
89
90         * method-wbetl.cc: Update copyright notice.
91         * aatree.cc: Same.
92         * util.cc: Same.
93         * libitm.h: Same.
94         * memset.cc: Same.
95         * eh_cpp.cc: Same.
96         * barrier.tpl: Same.
97         * useraction.cc: Same.
98         * stmlock.h: Same.
99         * memcpy.cc: Same.
100         * common.h: Same.
101         * config/generic/tls.cc: Same.
102         * config/generic/cacheline.h: Same.
103         * config/generic/cachepage.h: Same.
104         * config/generic/cacheline.cc: Same.
105         * config/generic/unaligned.h: Same.
106         * config/x86/cacheline.h: Same.
107         * config/x86/cacheline.cc: Same.
108         * config/x86/unaligned.h: Same.
109         * config/alpha/cacheline.h: Same.
110         * config/alpha/unaligned.h: Same.
111         * config/alpha/sjlj.S: Same.
112         * config/posix/cachepage.cc: Same.
113         * config/linux/futex.h: Same.
114         * config/linux/alpha/futex_bits.h: Same.
115
116 2011-11-04  Torvald Riegel  <triegel@redhat.com>
117
118         * libitm.texi: No cover text and invariant sections.
119
120 2011-11-03  Richard Henderson  <rth@redhat.com>
121
122         * local_type_traits: New file.
123         * libitm_i.h: Use it.  Use C headers, not C++ wrappers.
124
125 2011-11-03  Richard Henderson  <rth@redhat.com>
126
127         * configure.ac: Don't test for gfortran.
128         * configure: Rebuild.
129
130         * testsuite/lib/libitm.exp: Don't include gfortran-dg.exp.
131         * testsuite/libitm.c++/c++.exp: Don't use gfortran-dg-runtest.
132
133 2011-11-03  Aldy Hernandez  <aldyh@redhat.com>
134
135         * testsuite/libitm.c/memcpy-1.c: Add copyright notice.
136         * testsuite/libitm.c/memset-1.c: Same.
137         * testsuite/libitm.c/c.exp: Same.
138         * testsuite/lib/libitm-dg.exp: Same.
139         * testsuite/lib/libitm.exp: Same.
140         * testsuite/libitm.c++/c++.exp: Same.
141
142 2011-11-03  Aldy Hernandez  <aldyh@redhat.com>
143
144         * testsuite/config/default.exp: Update copyright date.
145         * configure.ac: Add copyright info.
146         * configure.tgt: Same.
147
148 2011-11-03  Aldy Hernandez  <aldyh@redhat.com>
149
150         * testsuite/libitm.c/reentrant.c: XFAIL.
151         * testsuite/libitm.c++/static_ctor.C: XFAIL.
152
153 2011-10-29  Torvald Riegel  <triegel@redhat.com>
154
155         * beginend.cc (GTM::gtm_thread::rollback): Add aborting flag and
156         handle aborts.
157         (_ITM_abortTransaction): Handle aborts of outer transactions.
158         * libitm_i.h: Same.
159         * eh_cpp.cc (GTM::gtm_thread::revert_cpp_exceptions): Fix assertion.
160         * libitm.texi: Document aborts of outer transactions.
161         * testsuite/libitm.c/cancel.c: New file.
162
163 2011-10-19  Torvald Riegel  <triegel@redhat.com>
164
165         * testsuite/*: Change __transaction to __transaction_atomic or
166         __transaction_relaxed.
167
168 2011-10-19  Torvald Riegel  <triegel@redhat.com>
169
170         * config/linux/x86/tls.h (abi_disp): Make TLS slot read volatile.
171         (gtm_thr): Same.
172
173 2011-10-19  Torvald Riegel  <triegel@redhat.com>
174
175         * libitm_i.h: Add gl_wt dispatch.
176         * retry.cc (parse_default_method): Same.
177         * method-gl.cc: New file.
178         * Makefile.am: Use method-gl.cc.
179         * Makefile.in: Rebuild.
180
181 2011-10-19  Torvald Riegel  <triegel@redhat.com>
182
183         * beginend.cc (GTM::gtm_thread::trycommit): Ensure privatization
184         safety if requested by a TM method.
185         * dispatch.h (GTM::abi_dispatch::trycommit): Add parameter for
186         privatization safety.
187         * method-serial.cc: Same.
188
189 2011-10-19  Torvald Riegel  <triegel@redhat.com>
190
191         * libitm_i.h: Renamed gtm_local_undo to gtm_undolog_entry.
192         (GTM::gtm_thread): Renamed local_undo to undolog. Renamed
193         undolog-related member functions from *_local to *_undolog.
194         * local.cc (gtm_thread::commit_undolog): Same.
195         * beginend.cc (GTM::gtm_thread::trycommit): Same.
196         (GTM::gtm_thread::rollback): Roll back undolog before
197         dispatch-specific rollback.
198
199 2011-10-19  Torvald Riegel  <triegel@redhat.com>
200
201         * retry.cc (GTM::gtm_thread::decide_retry_strategy): Handle
202         re-initialization of the current method group.
203         * libitm_i.h (GTM::gtm_restart_reason): Add restart reason for this.
204
205 2011-10-19  Torvald Riegel  <triegel@redhat.com>
206
207         * alloc.cc (commit_allocations_2): Do not free transaction-local
208         memory when committing a nested transaction.
209
210 2011-10-19  Torvald Riegel  <triegel@redhat.com>
211
212         * method-serial.cc (GTM::gtm_thread::serialirr_mode): Fixed: Use
213         serial-irrevocable dispatch, not serial.
214
215 2011-10-19  Torvald Riegel  <triegel@redhat.com>
216
217         * libitm_i.h (GTM::gtm_restart_reason): Re-arrange and clean up
218         declarations.
219         * dispatch.h (GTM::abi_dispatch::begin_or_restart): New.
220         * method-serial.cc: Implement begin_or_restart().
221         * beginend.cc (GTM::gtm_thread::begin_transaction): Call
222         dispatch-specific begin_or_restart().
223         (GTM::gtm_thread::restart): Same.
224
225 2011-08-23  Torvald Riegel  <triegel@redhat.com>
226
227         * retry.cc (GTM::gtm_thread::decide_retry_strategy): Cleanup. Fix
228         restarting without switching to serial mode.
229         (GTM::gtm_thread::decide_begin_dispatch): Let the caller set the
230         transaction state. Choose closed-nesting alternative if available.
231         (GTM::gtm_thread::set_default_dispatch): New.
232         (parse_default_method): New.
233         (GTM::gtm_thread::number_of_threads_changed): New.
234         * method-serial.cc (GTM::serial_mg): New method group class.
235         (GTM::serialirr_dispatch): Belongs to serial_mg. Remove reinit and
236         fini.
237         (GTM::serial_dispatch): Same.
238         (GTM::serialirr_onwrite_dispatch): Same.
239         (GTM::gtm_thread::serialirr_mode): Remove calls to fini.
240         * beginend.cc (GTM::gtm_thread::~gtm_thread): Maintain number of
241         registered threads.
242         (GTM::gtm_thread::gtm_thread): Same.
243         (_ITM_abortTransaction): Remove calls to abi_dispatch::fini().
244         (GTM::gtm_thread::trycommit): Same. Reset number of restarts.
245         (GTM::gtm_thread::begin_transaction): Let decide_begin_dispatch()
246         choose dispatch but set state according to dispatch here.
247         * dispatch.h (GTM::abi_dispatch::fini): Move to method group.
248         (GTM::method_group): New class.
249         (GTM::abi_dispatch): Add comments. Maintain pointer to method_group.
250         * libitm_i.h (GTM::gtm_thread): Add declarations for new members.
251         * libitm.texi: Document TM methods, method groups, method life cycle.
252         Rename method sets to method groups.
253
254 2011-08-23  Torvald Riegel  <triegel@redhat.com>
255
256         * config/x86/tls.h: Moved to ...
257         * config/linux/x86/tls.h: ... here.
258
259 2011-08-23  Torvald Riegel  <triegel@redhat.com>
260
261         * config/x86/tls.h: Use __x86_64__ instead of __LP64__.
262         Add X32 support.
263         * config/x86/sjlj.S: Same.
264
265 2011-08-19  Torvald Riegel  <triegel@redhat.com>
266
267         * config/linux/rwlock.h: New file.
268         * config/linux/rwlock.c: New file.
269         * configure.ac: Reenable futex support (undo SVN rev 157758).
270         * Makefile.am: Same.
271         * configure.tgt: Same.
272         * config/linux/alpha/futex_bits.h: Same.
273         * config/linux/futex.h: Same. Return number of woken processes.
274         * config/linux/futex.cc: Same.
275         (futex_wait): Remove spinning.
276         * config/linux/x86/futex_bits.h: Same. Set futex timeout to zero.
277         Use __x86_64__ instead of __LP64__.
278         * aclocal.m4: Include generic futex checks.
279         * configure: Rebuild.
280         * Makefile.in: Rebuild.
281         * testsuite/Makefile.in: Rebuild.
282         * beginend.cc: Include pthread.h.
283         * config/posix/cachepage.cc: Same.
284
285 2011-08-12  Torvald Riegel  <triegel@redhat.com>
286
287         * config/x86/tls.h (gtm_tx, set_gtm_tx, setup_gtm_thr): Removed.
288         (abi_disp, set_abi_disp): Move to tx's TLS slot.
289         (set_gtm_thr): New.
290         * config/generic/tls.h (gtm_tx, set_gtm_tx, setup_gtm_thr): Removed.
291         (set_gtm_thr): New.
292         (GTM::gtm_thread::thread_num): Removed.
293         (GTM::gtm_thread): Renamed to GTM::gtm_thread_tls.
294         * libitm_i.h (GTM::gtm_transaction): Renamed to GTM::gtm_thread. More
295         tx-to-thread renaming.
296         * beginend.cc: Adapted to tx-to-thread renaming.
297         (GTM::gtm_thread::~gtm_thread): Extracted from thread_exit_handler().
298         (GTM::gtm_thread::gtm_thread): Extracted from begin_transaction().
299         * query.cc (_ITM_getTransactionId, _ITM_inTransaction): Renamed
300         gtm_transaction to gtm_thread.
301         (_ITM_getThreadnum): Removed. Not supported anymore.
302         * testsuite/libitm.c/notx.c (main): Removed _ITM_getThreadnum call.
303         * libitm.texi: Documented that _ITM_getThreadnum is not supported.
304         * useraction.cc: Renamed gtm_transaction to gtm_thread. Adapted to
305         gtm_tx-to-gtm_thr renaming if necessary.
306         * eh_cpp.cc: Same.
307         * local.cc: Same.
308         * retry.cc: Same.
309         * clone.cc: Same.
310         * alloc.cc: Same.
311         * alloc_c.cc: Same.
312         * alloc_cpp.cc: Same.
313         * method-serial.cc: Same.
314         * config/generic/tls.cc: Same.
315         * config/posix/rwlock.h (gtm_rwlock): Same.
316         * config/posix/rwlock.cc: Same. Adapted to more tx-to-thread renaming.
317
318 2011-08-12  Torvald Riegel  <triegel@redhat.com>
319
320         * config/posix/rwlock.cc (gtm_rwlock::read_lock): Changed locking
321         implementation.
322         (gtm_rwlock::read_unlock): Same.
323         (gtm_rwlock::write_lock_generic): New. Generalized from ...
324         (gtm_rwlock::write_lock, gtm_rwlock::write_upgrade): ... these.
325         * libitm_i.h (GTM::gtm_transaction): Added shared_state.
326         * config/posix/rwlock.h (GTM::gtm_rwlock): Removed a_reader and
327         w_upgrade. Replaced by per-transaction flags (in shared_state).
328         Added c_confirmed_writers.
329         (GTM::gtm_rwlock::read_lock, GTM::gtm_rwlock::read_unlock,
330         GTM::gtm_rwlock::write_upgrade): Add tx parameter.
331         * retry.cc (GTM::gtm_transaction::decide_retry_strategy): Same.
332         * method-serial.cc (GTM::gtm_transaction::serialirr_mode): Same.
333         * beginend.cc (GTM::gtm_transaction::begin_transaction,
334         _ITM_abortTransaction, GTM::gtm_transaction::trycommit): Same.
335         * libitm.texi: Document locking conventions and implementations in
336         libitm.
337
338 2011-08-12  Torvald Riegel  <triegel@redhat.com>
339
340         * libitm_i.h (next_tx): Add list of all threads' transaction.
341         * beginend.cc (GTM::gtm_transaction::begin_transaction): Register
342         transaction with list of transactions and ...
343         (thread_exit_handler): ... deregister here.
344         * config/alpha/target.h: Add HW_CACHELINE_SIZE setting.
345         * config/x86/target.h: Same.
346
347 2011-08-12  Torvald Riegel  <triegel@redhat.com>
348
349         * testsuite/libitm.c++/static_ctor.C: New file.
350
351 2011-08-12  Torvald Riegel  <triegel@redhat.com>
352
353         * testsuite/libitm.c/reentrant.c: New file.
354
355 2011-08-12  Torvald Riegel  <triegel@redhat.com>
356
357         * config/generic/tls.h: Remove the free list for transactions and ...
358         * beginend.cc (GTM::gtm_transaction::operator new): ... allocate ...
359         (GTM::gtm_transaction::operator delete): ... and release here.
360         (thread_exit_handler): New. Delete tx when thread terminates.
361         (thread_exit_init): New.
362         (GTM::gtm_transaction::begin_transaction): Set up on-exit handler.
363         * testsuite/libitm.c/txrelease.c: New file.
364
365 2011-08-12  Torvald Riegel  <triegel@redhat.com>
366
367         * query.cc (_ITM_getThreadnum): Set up gtm_thread if necessary.
368         * testsuite/libitm.c/notx.c: New file.
369
370 2011-08-12  Torvald Riegel  <triegel@redhat.com>
371
372         * config/generic/tls.h (gtm_thread): Move local_tid from here ...
373         * libitm_i.h (local_tid): ... to here.
374         * beginend.cc (GTM::gtm_transaction::begin_transaction): Same.
375         (GTM::gtm_transaction::operator new): Set up gtm_thread if necessary.
376
377 2011-08-12  Torvald Riegel  <triegel@redhat.com>
378
379         * retry.cc (GTM::gtm_transaction::decide_begin_dispatch): Use
380         serialirr_onwrite_dispatch as new default for now.
381         * method-serial.cc (serialirr_onwrite_dispatch): New.
382         (GTM::dispatch_serialirr_onwrite): New.
383         * libitm_i.h: Same.
384
385 2011-08-12  Torvald Riegel  <triegel@redhat.com>
386
387         * beginend.cc (GTM::gtm_transaction::rollback): Roll back tx id as well.
388         * query.cc (_ITM_getTransactionId): There is no active transaction if
389         the current nesting level is zero.
390
391 2011-07-28  Torvald Riegel  <triegel@redhat.com>
392
393         * beginend.cc (GTM::gtm_transaction::rollback): Fix nesting level
394         rollback.
395
396 2011-07-28  Torvald Riegel  <triegel@redhat.com>
397
398         * retry.cc (GTM::gtm_transaction::decide_begin_dispatch): Get
399         transaction properties from the caller instead of from the
400         transaction object.
401         * libitm_i.h: Same.
402         * beginend.cc (GTM::gtm_transaction::begin_transaction): Same.
403
404 2011-07-28  Torvald Riegel  <triegel@redhat.com>
405
406         * local.cc (gtm_transaction::rollback_local): Support closed nesting.
407         * eh_cpp.cc (GTM::gtm_transaction::revert_cpp_exceptions): Same.
408         * dispatch.h: Same.
409         * method-serial.cc: Same.
410         * beginend.cc (GTM::gtm_transaction::begin_transaction): Change to
411         flat nesting as default, and closed nesting on demand.
412         (GTM::gtm_transaction::rollback): Same.
413         (_ITM_abortTransaction): Same.
414         (GTM::gtm_transaction::restart): Same.
415         (GTM::gtm_transaction::trycommit): Same.
416         (GTM::gtm_transaction::trycommit_and_finalize): Removed.
417         (choose_code_path): New.
418         (GTM::gtm_transaction_cp::save): New.
419         (GTM::gtm_transaction_cp::commit): New.
420         * query.cc (_ITM_inTransaction): Support flat nesting.
421         * libitm_i.h (GTM::gtm_transaction_cp): New helper struct for nesting.
422         (GTM::gtm_transaction): Support flat and closed nesting.
423         * alloc.cc (commit_allocations_2): New.
424         (commit_cb_data): New helper struct.
425         (GTM::gtm_transaction::commit_allocations): Handle nested
426         commits/rollbacks.
427         * libitm.texi: Update user action section, add description of nesting.
428
429 2011-07-28  Torvald Riegel  <triegel@redhat.com>
430
431         * libitm_i.h: Add closed nesting as restart reason.
432         * retry.cc (GTM::gtm_transaction::decide_retry_strategy): Same.
433
434 2011-07-28  Torvald Riegel  <triegel@redhat.com>
435
436         * useraction.cc: Use vector instead of list to store actions.
437         Also support partial rollbacks for closed nesting.
438         * libitm_i.h (GTM::gtm_transaction::user_action): Same.
439         * beginend.cc: Same.
440
441 2011-07-28  Torvald Riegel  <triegel@redhat.com>
442
443         * dispatch.h (GTM::abi_dispatch): Add can_run_uninstrumented_code and
444         closed_nesting flags, as well as a closed nesting alternative.
445         * method-serial.cc: Same.
446         (serial_dispatch): Renamed to serialirr_dispatch.
447         (GTM::dispatch_serialirr): Same.
448         (serial_dispatch_ul): Renamed to serial_dispatch.
449         (GTM::dispatch_serial): Same.
450
451 2011-07-28  Torvald Riegel  <triegel@redhat.com>
452
453         * libitm.h (_ITM_codeProperties): Change pr_hasElse to the ABI's value.
454
455 2011-07-28  Torvald Riegel  <triegel@redhat.com>
456
457         * aatree.h (aa_tree::remove): New.
458         (aa_tree::operator new): Add placement new.
459
460 2011-07-02  Torvald Riegel  <triegel@redhat.com>
461
462         * containers.h: New file.
463         * util.cc (xmalloc, xrealloc): Accept cacheline-alloc flag.
464         * libitm_i.h (xmalloc, xrealloc): Moved declarations from here ...
465         * common.h: ... to here.
466         (local_undo): Use GTM::vector for gtm_transaction::local_undo.
467         * local.cc: Same.
468
469 2011-06-30  Torvald Riegel  <triegel@redhat.com>
470
471         * libitm_i.h (STATE_ABORTING): Remove.
472         * beginend.cc (_ITM_abortTransaction): Same.
473         (GTM::gtm_transaction::trycommit_and_finalize): Same.
474         * libitm.h (_ITM_registerThrownObject, _ITM_tryCommitTransaction): Remove.
475         (_ITM_rollbackTransaction): Remove.
476         * beginend.cc: Same.
477         * libitm.map: Same.
478         * libitm.texi: Document these ABI changes.
479
480 2011-06-30  Torvald Riegel  <triegel@redhat.com>
481
482         * libitm.texi: New file.
483         * Makefile.am: Add libitm.texi.
484         * Makefile.in: Rebuild.
485
486 2011-06-30  Torvald Riegel  <triegel@redhat.com>
487
488         * libitm_i.h: Move parts to common.h and dispatch.h.
489         * common.h: New file.
490         * dispatch.h: New file, new dispatch class.
491         Rename GTM::abi_dispatch::lock_type to ls_modifier.
492         RenameGTM::abi_dispatch::NOLOCK to NONTXNAL.
493         * beginend.cc (GTM::gtm_transaction::begin_transaction): Delegate mode
494         decision to retry.cc.
495         * retry.cc (GTM::gtm_transaction::decide_retry_strategy): Use serial mode
496         only.
497         (GTM::gtm_transaction::decide_begin_dispatch): Same.
498         * method-serial.cc: Adapt to new dispatch. Add serial mode with undo
499         logging.
500         * barrier.cc: Use new barriers definitions.
501         (abi_dispatch::memmove_overlap_check): New.
502         * config/x86/x86_sse.cc: Same.
503         * config/x86/x86_avx.cc: Same.
504         * Makefile.am: Don't build readonly and wbetl methods, memset.cc and
505         memcpy.cc.
506         * Makefile.in: Rebuild.
507         * method-readonly.cc: Remove.
508         * method-wbetl.cc: Rename GTM::abi_dispatch::lock_type to ls_modifier.
509         Rename GTM::abi_dispatch::NOLOCK to NONTXNAL.
510
511 2011-06-30  Torvald Riegel  <triegel@redhat.com>
512
513         * alloc_c.cc (_ITM_dropReferences): Don't support it anymore.
514         * testsuite/libitm.c++/dropref.C: _ITM_dropReferences is expected to fail.
515         * testsuite/libitm.c/dropref-2.c: Same.
516         * testsuite/libitm.c/dropref.c: Same.
517
518 2011-06-30  Torvald Riegel  <triegel@redhat.com>
519
520         * config/generic/tls.h (gtm_disp): Rename to abi_disp.
521         * config/generic/tls.h (set_gtm_disp): Rename to set_abi_disp.
522         * libitm_i.h: Rename gtm_dispatch to abi_dispatch.
523         * alloc_c.cc: Same.
524         * barrier.tpl: Same.
525         * beginend.c: Same.
526         * config/generic/tls.h: Same.
527         * config/x86/tls.h: Same.
528         * libitm_i.h: Same.
529         * memcpy.cc: Same.
530         * memset.cc: Same.
531         * method-readonly.cc: Same.
532         * method-serial.cc: Same.
533         * method-wbetl.cc: Same.
534         * retry.cc: Same.
535
536 2011-03-03  Richard Henderson  <rth@redhat.com>
537
538         * config/posix/rwlock.cc (write_upgrade): Add missing case.
539         From Patrik Marlier <patrick.marlier@unine.ch>.
540
541 2011-02-03  Richard Henderson  <rth@redhat.com>
542
543         * acinclude.m4 (LIBITM_CHECK_SIZE_T_MANGLING): New.
544         * configure.ac: Use it.
545         * configure, config.h.in: Rebuild.
546         * alloc_cpp.cc (_ZnwX): Use MANGLE_SIZE_T in constructing the name.
547         (_ZnaX, _ZnwXRKSt9nothrow_t, _ZnaXRKSt9nothrow_t, _ZGTtnwX,
548         _ZGTtnaX, _ZGTtnwXRKSt9nothrow_t, _ZGTtnaXRKSt9nothrow_t): Likewise.
549         * libitm.map: Use wildcards to match size_t mangling.
550
551 2010-12-14  Richard Henderson  <rth@redhat.com>
552
553         * beginend.cc (GTM::gtm_transaction::begin_transaction): Allocate
554         blocks of TIDs per thread.
555         * config/generic/tls.h (struct gtm_thread): Add local_tid member.
556         (setup_gtm_thr): Return the thread structure.
557         * config/x86/tls.h (setup_gtm_thr): Likewise.
558
559 2010-12-14  Richard Henderson  <rth@redhat.com>
560
561         * clone.cc (table_lock): Remove.
562         (find_clone): Don't take it.
563         (ExcludeTransaction): New helper class.
564         (_ITM_registerTMCloneTable): Use it.
565         (_ITM_deregisterTMCloneTable): Likewise.
566
567 2010-12-14  Richard Henderson  <rth@redhat.com>
568
569         * config/x86/tls.h: New file.
570
571 2010-07-15  Richard Henderson  <rth@redhat.com>
572
573         * Makefile.am (AM_CXXFLAGS): Add -funwind-tables.
574         * Makefile.in: Rebuild.
575
576 2010-07-13  Aldy Hernandez  <aldyh@redhat.com>
577
578         * method-wbetl.cc (trydropreference): Fix source line.
579
580 2010-07-13  Aldy Hernandez  <aldyh@redhat.com>
581
582         * libitm.h: Add comment.
583         * libitm_i.h (begin_transaction): Add ITM_REGPARM.
584
585 2010-07-07  Aldy Hernandez  <aldyh@redhat.com>
586
587         * configure.ac: Call LIBITM_CHECK_64BIT_SYNC_BUILTINS.
588         * beginend.cc (begin_transaction): If 64-bit sync builtins are not
589         available, use pthread mutexes.
590         * acinclude.m4 (LIBITM_CHECK_64BIT_SYNC_BUILTINS): New.
591         * config.h.in: Regenerate.
592         * configure: Regenerate.
593
594 2010-07-06  Aldy Hernandez  <aldyh@redhat.com>
595
596         * libitm.h (ITM_PURE): Define.
597         Declare _ITM_malloc, _ITM_calloc, and _ITM_free.
598
599 2010-06-28  Aldy Hernandez  <aldyh@redhat.com>
600
601         * method-wbetl.cc (class wbetl_dispatch): Add trydropreference.
602         (validate): Add comment.
603         (trydropreference): New.
604         * method-readonly.cc (class readonly_dispatch): Add
605         trydropreference.
606         * alloc_c.cc (_ITM_dropReferences): Remove const attribute.
607         Call trydropreference().
608         * libitm.h (_ITM_dropReferences): Remove const attribute.
609         * method-serial.cc (class serial_dispatch): Add trydropreference.
610         * libitm_i.h (struct gtm_dispatch): Add trydropreference.
611
612 2010-06-28  Aldy Hernandez  <aldyh@redhat.com>
613
614         * memcpy.cc (do_memcpy): Comment.
615
616 2010-06-25  Aldy Hernandez  <aldyh@redhat.com>
617
618         * barrier.tpl: Add comments throughout.
619
620 2010-06-24  Aldy Hernandez  <aldyh@redhat.com>
621
622         * method-wbetl.cc (struct w_entry): Add comments.
623         (trycommit): Same.
624         (rollback): Same.
625
626 2010-06-24  Aldy Hernandez  <aldyh@redhat.com>
627
628         * alloc_c.cc (_ITM_dropReferences): New.
629         * libitm.map (_ITM_dropReferences): Add.
630         * libitm.h (_ITM_dropReferences): Add transaction_pure attribute.
631         * libitm_i.h (struct gtm_transaction): Declare
632         drop_references_allocations and drop_references_local.
633         * local.cc (rollback_local): Ignore memory when applicable.
634         (drop_references_local): New.
635
636 2010-06-23  Richard Henderson  <rth@redhat.com>
637
638         * barrier.tpl, beginend.cc, clone.cc, tls.h, memcpy.cc,
639         memset.cc, method-serial.cc: Revert the 2010-06-16 change.
640         * config/x86/target.h (struct gtm_jmpbuf): Change CFA type to void*.
641         * config/alpha/target.h: Likewise.
642         * config/generic/tls.cc (gtm_mask_stack): Use it.
643
644 2010-06-23  Richard Henderson  <rth@redhat.com>
645
646         * config/posix/cachepage.cc (gtm_cacheline_page::operator new): Use
647         a mutex instead of trying a lock-free compare-and-swap on the list.
648         (gtm_cacheline_page::operator delete): Likewise.
649
650 2010-06-16  Richard Henderson  <rth@redhat.com>
651
652         * method-wbetl.cc (wbetl_dispatch::trycommit): Discard changes
653         that overlap the libitm stack.
654         * barrier.tpl: Mark incoming stack.
655         * beginend.cc (_ITM_rollbackTransaction, _ITM_abortTransaction,
656         _ITM_commitTransaction, _ITM_commitTransactionEH): Likewise.
657         * clone.cc (_ITM_getTMCloneOrIrrevocable): Likewise.
658         * memcpy.cc, memset.cc: Likewise.
659         * method-serial.cc (_ITM_changeTransactionMode): Likewise.
660         * config/generic/tls.h (gtm_thread): Add stack_top member.
661         (gtm_stack_top, set_gtm_stack_top, struct gtm_stack_marker): New.
662         * libitm_i.h (gtm_mask_stack): Declare.
663         * config/generic/tls.cc: New file.
664         * Makefile.am (libitm_la_SOURCES): Add it.
665         (AM_CXXFLAGS): Turn off exceptions.
666         * Makefile.in: Rebuild.
667
668 2010-06-16  Richard Henderson  <rth@redhat.com>
669
670         * alloc.cc (struct gtm_alloc_action): Move definition ...
671         * libitm_i.h: ... here.
672         (class gtm_transaction): Declare new and delete.
673         * beginend.cc (alloc_tx): Reformulate as operator new.
674         (free_tx): Reformulate as operator delete.
675         * config/generic/tls.h (gtm_thread): Change free_tx member to void *.
676
677 2010-06-11  Richard Henderson  <rth@redhat.com>
678
679         * clone.cc (clone_entry_compare): Fix typo.
680         From Patrik Marlier <patrick.marlier@unine.ch>.
681
682 2010-05-13  Richard Henderson  <rth@redhat.com>
683
684         * alloc_c.cc (_ITM_malloc, _ITM_calloc, _ITM_free): Wrap functions
685         in extern "C".
686
687 2010-05-07  Aldy Hernandez  <aldyh@redhat.com>
688
689         * libitm_i.h (struct gtm_transaction): Remove
690         get_allocation_size.
691         (record_allocation): Remove size parameter.
692         * libitm.map (_ITM_realloc): Remove.
693         * alloc_c.cc (_ITM_realloc): Remove.
694         (_ITM_malloc): Remove size argument to record_allocation.
695         (_ITM_calloc): Same.
696         * alloc_cpp.cc (_ZGTtnwm): Same.
697         (_ZGTtnwmRKSt9nothrow_t): Same.
698         (_ZGTtnam): Same.
699         (_ZGTtnamRKSt9nothrow_t): Same.
700         * alloc.cc (struct gtm_alloc_action): Remove size.
701         (get_allocation_size): Remove.
702         (commit_allocations): Add comment.
703         (record_allocation): Remove size parameter.
704         (forget_allocation): Remove set of size.
705
706 2010-04-19  Aldy Hernandez  <aldyh@redhat.com>
707
708         * Makefile.am (abi_version): New.
709         (AM_CXXFLAGS): Pass abi_version.
710         * Makefile.in: Regenerate.
711         * config/x86/unaligned.h: Remove always_inline kludge for vectors.
712
713 2010-04-06  Aldy Hernandez  <aldyh@redhat.com>
714
715         * clone.cc (_ITM_getTMCloneOrIrrevocable): Rename from
716         _ITM_getTMCloneOrIrrevokable.
717         * libitm.h (_ITM_getTMCloneOrIrrevocable): Same.
718         * libitm.map (_ITM_getTMCloneOrIrrevocable): Same.
719
720 2010-03-26  Aldy Hernandez  <aldyh@redhat.com>
721
722         * configure.ac: Remove Linux futex support.
723         * configure.tgt (config_path): Same.
724         * Makefile.am: Same.
725         * config/linux: Remove entire directory.
726         * configure: Rebuild.
727         * Makefile.in: Rebuild.
728         * testsuite/Makefile.in: Rebuild.
729
730 2010-03-09  Aldy Hernandez  <aldyh@redhat.com>
731
732         * retry.cc (decide_retry_strategy): Set state to STATE_SERIAL when
733         switching to serial mode.
734         * beginend.cc (trycommit_and_finalize): Unlock serial_lock.
735
736 2010-03-03  Aldy Hernandez  <aldyh@redhat.com>
737
738         * configure.tgt: Add emacs -*- tags.
739         * barrier.tpl: Same.
740
741 2010-02-23  Aldy Hernandez  <aldyh@redhat.com>
742
743         * Makefile.am: Rename serial.cc to method-serial.cc.
744         * Makefile.in: Regenerate with automake 1.11.1.
745         * testsuite/Makefile.in: Same.
746         * aclocal.m4: Regenerate with aclocal 1.11.1.
747         * method-serial.cc: Rename from serial.cc.
748         * libitm_i.h (struct gtm_transaction): Update comment on
749         serialirr_mode.
750
751 2010-02-22  Aldy Hernandez  <aldyh@redhat.com>
752
753         * libitm_i.h (GTM_longjmp): Add ITM_REGPARM.
754         * config/linux/rwlock.h (class gtm_rwlock): Add comments.
755
756 2010-02-11  Aldy Hernandez  <aldyh@redhat.com>
757
758         * configure: Rebuild.
759
760 2009-11-12  Richard Henderson  <rth@redhat.com>
761
762         * Rewrite everything in C++.
763
764 2009-11-03  Richard Henderson  <rth@redhat.com>
765
766         * config/x86/x86_sse.c, config/x86/x86_avx.c: New files.
767         * Makefile.am (libitm_la_SOURCES): Add them.
768         * configure.ac (ARCH_X86): New conditional.
769         * Makefile.in, configure: Rebuild.
770         * configure.tgt: Set up ARCH; do cflags setup at the same time.
771         Move futex setup into "other system configury" case.
772         * local.c (rollback_local): Merge into ...
773         (GTM_rollback_local): ... here.
774         (GTM_LB): Rename from GTM_alloc_local; do the memcpy here.
775         (_ITM_LB): Define as an alias to GTM_LB.
776
777 2009-11-03  Richard Henderson  <rth@redhat.com>
778
779         * method-readonly.c: New file.
780         * Makefile.am (libitm_la_SOURCES): Add it.
781         * Makefile.in: Rebuild.
782         * beginend.c (gtm_stmlock_array, gtm_clock): New.
783         (GTM_begin_transaction): Use dispatch_readonly for read-only txn.
784         * libitm_i.h (gtm_stmlock, gtm_version): Move from method-wbetl.c.
785         (GTM_VERSION_MAX, GTM_VERSION_INVALID, gtm_stmlock_owned_p,
786         gtm_stmlock_set_owned, gtm_stmlock_get_addr,
787         gtm_stmlock_get_version, gtm_stmlock_set_version, LOCK_ARRAY_SIZE,
788         gtm_stmlock_array, gtm_get_stmlock, gtm_clock, RESTART_NOT_READONLY,
789         gtm_get_clock, gtm_inc_clock): New.
790         * method-wbetl.c (gtm_version, gtm_stmlock, OWNED_MASK, VERSION_MAX,
791         LOCK_GET_OWNED, LOCK_SET_ADDR, LOCK_GET_ADDR, LOCK_GET_TIMESTAMP,
792         LOCK_SET_TIMESTAMP, LOCK_ARRAY_SIZE, LOCK_MASK, LOCK_IDX, GET_LOCK,
793         locks, gclock, CLOCK, GET_CLOCK, FETCH_AND_INC_CLOCK): Remove and
794         replace uses with new libitm_i.h symbols.
795         (dispatch_wbetl): Rename from wbetl_dispatch.
796         * retry.c (GTM_decide_retry_strategy): If RESTART_NOT_READONLY, move
797         away from dispatch_readonly; abort if the beginTransaction call
798         asserted that the transaction was readonly.
799
800 2009-11-03  Richard Henderson  <rth@redhat.com>
801
802         * memset.c: New file.
803         * Makefile.am (libitm_la_SOURCES): Add it.
804         * Makefile.in: Rebuild.
805         * testsuite/libitm.c/memset-1.c: New.
806
807 2009-11-03  Richard Henderson  <rth@redhat.com>
808
809         * dispatch.c: Remove file.
810         * useraction.c (struct gtm_user_action): Move from libitm.h.
811         * serial.c (GTM_null_read_lock, GTM_null_write_lock): New.
812         (serial_memset, serial_memmove, serial_memcpy): Remove.
813         (serial_W*, serial_R*): Remove.
814         (serial_dispatch): Update to match.
815         * configure.ac: Move Werror down below configure checks.  Don't
816         check for sys/loadavg.h, do check for malloc.h.  Don't check for
817         getloadavg and clock_gettime; do check for memalign, posix_memalign.
818         Use GCC_AC_FUNC_MMAP_BLACKLIST
819         * libitm.h: Split out all internal items to...
820         * libitm_i.h: ... here.  New file.
821         * copymask.c: New file.
822         * local.c (struct gtm_local_undo): Move from libitm.h.
823         (GTM_alloc_local): Rename from alloc_local; export.
824         * memcpy.c: New file.
825         * alloc_c.c (_ITM_realloc): Use _ITM_memcpyRnWt directly.
826         * config/posix/page.c: New file.
827         * config/posix/target_tls.h: Remove file.
828         * barrier.c: New file.
829         * Makefile.am (libitm_la_SOURCES): Add barrier.c, memcpy.c,
830         copymask.c, page.c.
831         * alloc.c (struct gtm_alloc_action): Move from libitm.h.
832         * method-wbetl.c: Rewrite for new cacheline methods.
833         * Makefile.in, configure, testsuite/Makefile.in, config.h.in: Rebuild.
834
835         * config/alpha/sjlj.S: Fix typo.
836         * config/alpha/target_i.h: Copy functions from alpha/target.h.
837         * config/alpha/copymask.c: New file.
838         * config/alpha/target.h (CACHELINE_SIZE): New.
839         (STRICT_ALIGNMENT, PAGE_SIZE, FIXED_PAGE_SIZE): New.
840
841         * config/x86/target_i.h: Copy functions from x86/target.h.
842         * config/x86/copymask.c: New file.
843         * config/x86/target.h (_ITM_ALL_TARGET_TYPES): Remove.
844         (CACHELINE_SIZE, STRICT_ALIGNMENT): New.
845         (PAGE_SIZE, FIXED_PAGE_SIZE): New.
846         * config/x86/target_tls.h: Move contents to target_i.h.
847
848         * testsuite/libitm.c/clone-1.c: Include libitm.h.
849         * testsuite/libitm.c/memcpy-1.c: New.
850
851 2009-10-22  Richard Henderson  <rth@redhat.com>
852
853         * Makefile.am (CCAS, CCASFLAGS, LTCCASCOMPILE): Remove.
854         (AM_CCASFLAGS): New.
855         * configure.ac: Add AM_PROG_AS.  Use m4_rename_force for
856         saving/restoring _AC_ARG_VAR_PRECIOUS.
857         * Makefile.in, aclocal.m4, config.h.in, configure,
858         testsuite/Makefile.in: Rebuild with automake 1.11; autoconf 2.64.
859
860 2009-10-22  Richard Henderson  <rth@redhat.com>
861
862         * testsuite/*: Update for new compiler syntax.
863
864 2009-10-21  Richard Henderson  <rth@redhat.com>
865
866         * libitm.h (_ITM_abortReason): Add outerAbort.
867
868 2009-08-03  Richard Henderson  <rth@redhat.com>
869
870         * libitm.map (_ITM_commitTransactionEH, _ITM_cxa_allocate_exception,
871         _ITM_cxa_begin_catch, _ITM_cxa_end_catch, _ITM_cxa_throw): Export.
872         * method-wbetl.c (struct w_entry): Remove mask.
873         (wbetl_write, wbetl_load): Return pointer to word containing the data;
874         adjust all callers.
875
876 2009-07-22  Richard Henderson  <rth@redhat.com>
877
878         * eh_cpp.c: New file.
879         * Makefile.am (libitm_la_SOURCES): Add it.
880         * Makefile.in: Rebuild.
881         * beginend.c (GTM_rollback_transaction): Undo exception state.
882         (GTM_trycommit_transaction): Mark inline.
883         (GTM_trycommit_and_finalize_transaction): Split out from ...
884         (_ITM_commitTransaction): ... here.
885         (_ITM_commitTransactionEH): New function.
886         * libitm.h (struct gtm_transaction): Add cxa_catch_count,
887         cxa_unthrown, eh_in_flight; reorder.
888
889         * testsuite/libitm.c++/c++.exp: New.
890         * testsuite/libitm.c++/eh-1.C: New.
891
892         * aatree.c (aa_free): Remove REGPARM.
893         * aatree.h: Remove all REGPARM.
894
895 2009-07-18  Richard Henderson  <rth@redhat.com>
896
897         * aatree.c, aatree.h, alloc.c, alloc_c.c, alloc_cpp.c: New files.
898         * Makefile.am (libitm_la_SOURCES): Add them.
899         * Makefile.in: Rebuild.
900         * beginend.c (GTM_rollback_transaction): Use GTM_commit_allocations.
901         (GTM_trycommit_transaction): Likewise.
902         * libitm.h: Include aatree.h
903         (struct gtm_alloc_action): New.
904         (struct gtm_transaction): Add alloc_actions.
905         (GTM_record_allocation, GTM_forget_allocation): Declare.
906         (GTM_get_allocation_size, GTM_commit_allocations): Declare.
907         * libitm.map (_ITM_malloc, _ITM_calloc, _ITM_realloc, _ITM_free,
908         _ZGTtnwm, _ZGTtnam, _ZGTtdlPv, _ZGTtdaPv, _ZGTtnwmRKSt9nothrow_t,
909         _ZGTtnamRKSt9nothrow_t, _ZGTtdlPvRKSt9nothrow_t,
910         _ZGTtdaPvRKSt9nothrow_t): Export.
911
912 2009-07-18  Richard Henderson  <rth@redhat.com>
913
914         * target_tls.h: Move ...
915         * config/posix/target_tls.h: ... here.
916
917 2009-07-07  Richard Henderson  <rth@redhat.com>
918
919         * config/x86/target.h (atomic_write_barrier): Use sfence if available.
920
921 2009-07-07  Richard Henderson  <rth@redhat.com>
922
923         * Update to GPL3.
924
925 2009-07-07  Richard Henderson  <rth@redhat.com>
926
927         * libitm.h (struct gtm_transaction): Widen id to _ITM_transactionId_t.
928         * beginend.c (global_tid): Widen to _ITM_transactionId_t.
929
930         * configure.tgt: Don't use -ftls-model for x86 linux.
931         * libitm.h: Include target.h after standard includes.
932         (_gtm_thr): Rename from gtm_thr.
933         (setup_gtm_thr, gtm_thr, gtm_tx, set_gtm_tx): New.
934         (gtm_disp, set_gtm_disp): New.
935         * beginend.c, dispatch.c, local.c, method-wbetl.c, query.c,
936         retry.c, serial.c, useraction.c: Use accessor functions throughout.
937         * config/alpha/target_tls.h, config/x86/target_tls.h: New files.
938
939 2009-07-07  Richard Henderson  <rth@redhat.com>
940
941         * config/linux/rwlock.c (EZ): New define.  Use it throughout.
942
943 2009-07-06  Richard Henderson  <rth@redhat.com>
944
945         * libitm.h (_ITM_SRCLOCATION_DECL_1, _ITM_SRCLOCATION_DECL_2): Remove.
946         (_ITM_SRCLOCATION_DEFN_1, _ITM_SRCLOCATION_DEFN_2): Remove.
947         (_ITM_beginTransaction): Take variadic arguments.
948         (_ITM_registerThrownObject): Declare.
949         * beginend.c, serial.c: Update.
950         * libitm.map: Add _ITM_registerThrownObject.
951
952 2009-01-28  Richard Henderson  <rth@redhat.com>
953
954         * Makefile.am (libitm_la_SOURCES): Add clone.c.
955         * Makefile.in: Rebuild.
956         * beginend.c (_ITM_abortTransaction): Abort if irrevokable.
957         (GTM_restart_transaction): Fix uninstrumented code check.
958         * retry.c (GTM_decide_retry_strategy): Add serial check.
959         * serial.c (GTM_serialmode): Add irrevokable variable.  Don't
960         automatically go irrevokable when in serial mode.
961         * clone.c: New file.
962         * libitm.h, libitm.map: Update.
963
964 2009-01-27  Richard Henderson  <rth@redhat.com>
965
966         * Makefile.am (LTCCASCOMPILE): Define.
967         (libitm_la_SOURCES): Add methid-wbetl.c.
968         * testsuite/Makefile.am: New
969         * configure.ac: Add testsuite/Makefile.
970         * Makefile.in, testsuite/Makefile.in, configure: Regenerate.
971         * beginend.c (GTM_begin_transaction): Install wbetl_dispatch.
972         (_ITM_abortTransaction): Finalize implementation method; pass
973         transaction properties to longjmp.
974         (GTM_restart_transaction): Split out from ...
975         (_ITM_commitTransaction): ... here.
976         * config/linux/x86/futex_bits.h (cpu_relax, atomic_write_barrier):
977         Move to config/x86/target.h.
978         * config/linux/alpha/futex_bits.h: New.
979         * config/x86/sjlj.S (GTM_longjmp): Fix 64-bit input register.
980         * config/x86/target.h: Disable target types for 32-bit.
981         * config/alpha/sjlj.S, config/alpha/target.h: New.
982         * libitm.h (struct gtm_dispatch): Add init, fini.
983         (enum restart_reason): New.
984         (struct gtm_transaction): Add method and restarts.
985         * retry.c (GTM_decide_retry_strategy): Implement.
986         * serial.c (serial_init, serial_fini): New.
987         (GTM_serialmode): Finialize outgoing method.
988         * method-wbetl.c: New.
989
990 2008-12-09  Richard Henderson  <rth@redhat.com>
991
992         * config/x86/target.h (_ITM_ALL_TARGET_TYPES, _ITM_TYPE_ATTR): New.
993         * configure.tgt (i386-*, x86_64-*): Don't force SSE.
994         * dispatch.c (_ITM_##R##T, _ITM_##W##T): Use _ITM_TYPE_ATTR.
995         * libitm.h (_ITM_ALL_TARGET_TYPES, _ITM_TYPE_ATTR): Provide default.
996         (_ITM_TYPE_M64, _ITM_TYPE_M128, _ITM_TYPE_M256): Move to x86 header.
997         (_ITM_ALL_TYPES): Use _ITM_ALL_TARGET_TYPES.
998         * local.c (_ITM_L##T): Use _ITM_TYPE_ATTR.
999         * serial.c (serial_R##T, serial_W##T): Likewise.
1000
1001 2008-11-21  Richard Henderson  <rth@redhat.com>
1002
1003         * Initial commit.