+2013-08-02 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
+
+ * configure.tgt: Add -msoft-float to XCFLAGS.
+
+2013-07-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
+
+ * config/s390/target.h (htm_begin, htm_commit, htm_abort)
+ (htm_transaction_active): Enable zEC12 instructions in the
+ assembler.
+ * configure.tgt: Remove -Wa,-march=zEC12 from XCFLAGS.
+
+2013-07-17 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
+
+ * acinclude.m4: Add htm asm check for s390.
+ * configure.tgt: Add -mhtm and -Wa,-march=zEC12 to the options.
+ * configure: Regenerate.
+ * config/s390/target.h: Remove __HTM__ check.
+ (htm_available): Call getauxval to get hwcaps and check whether
+ HTM is available or not.
+
+2013-07-15 Peter Bergner <bergner@vnet.ibm.com>
+
+ * acinclude.m4 (LIBITM_CHECK_AS_HTM): New.
+ * configure.ac: Use it.
+ (AC_CHECK_HEADERS): Check for sys/auxv.h.
+ (AC_CHECK_FUNCS): Check for getauxval.
+ * config.h.in, configure: Rebuild.
+ * configure.tgt (target_cpu): Add -mhtm to XCFLAGS.
+ * config/powerpc/target.h: Include sys/auxv.h and htmintrin.h.
+ (USE_HTM_FASTPATH): Define.
+ (_TBEGIN_STARTED, _TBEGIN_INDETERMINATE, _TBEGIN_PERSISTENT,
+ _HTM_RETRIES) New macros.
+ (htm_abort, htm_abort_should_retry, htm_available, htm_begin, htm_init,
+ htm_begin_success, htm_commit, htm_transaction_active): New functions.
+
+2013-06-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
+
+ * config/s390/target.h: Include htmintrin.h.
+ (_HTM_ITM_RETRIES): New macro definition.
+ (htm_available, htm_init, htm_begin, htm_begin_success)
+ (htm_commit, htm_abort, htm_abort_should_retry): New functions.
+
+2013-06-20 Iain Sandoe <iain@codesourcery.com>
+ Cesar Philippidis <cesar@codesourcery.com>
+
+ * testsuite/lib/libitm.exp: Reorder lib loads into dependency order.
+ Do not load_gcc_lib gcc-dg.exp and add a comment as to why.
+ * testsuite/libitm.c/c.exp: load_gcc_lib gcc-dg.exp.
+ * testsuite/libitm.c++/c++.exp: load_gcc_lib gcc-dg.exp.
+
+2013-06-20 Torvald Riegel <triegel@redhat.com>
+
+ * query.cc (_ITM_inTransaction): Abort when using the HTM fastpath.
+ (_ITM_getTransactionId): Same.
+ * config/x86/target.h (htm_transaction_active): New.
+
+2013-06-20 Torvald Riegel <triegel@redhat.com>
+
+ PR libitm/57643
+ * beginend.cc (gtm_thread::begin_transaction): Handle reentrancy in
+ the HTM fastpath.
+
+2013-03-31 Gerald Pfeifer <gerald@pfeifer.com>
+
+ PR bootstrap/56714
+ * local_atomic (__always_inline): Always define our version.
+ (__calculate_memory_order): Mark inline.
+ (atomic_thread_fence): Ditto.
+ (atomic_signal_fence): Ditto.
+ (atomic_bool::atomic_flag_test_and_set_explicit): Ditto.
+ (atomic_bool::atomic_flag_clear_explicit): Ditto.
+ (atomic_bool::atomic_flag_test_and_set): Ditto.
+ (atomic_bool::atomic_flag_clear): Ditto.
+
+2013-04-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
+
+ * config/s390/sjlj.S: New file.
+ * config/s390/target.h: New file.
+ * configure.tgt: Set options for S/390.
+
+2013-03-23 Andi Kleen <ak@linux.intel.com>
+
+ * local_atomic (__always_inline): Add.
+ (__calculate_memory_order, atomic_thread_fence,
+ atomic_signal_fence, test_and_set, clear, store, load,
+ exchange, compare_exchange_weak, compare_exchange_strong,
+ fetch_add, fetch_sub, fetch_and, fetch_or, fetch_xor):
+ Add __always_inline to force inlining.
+
+2013-02-11 Iain Sandoe <iain@codesourcery.com>
+ Jack Howarth <howarth@bromo.med.uc.edu>
+ Patrick Marlier <patrick.marlier@gmail.com>
+
+ PR libitm/55693
+ * alloc_cpp.cc: Enable function declarations on darwin.
+ * eh_cpp.cc: Likewise.
+
+2013-02-03 Richard Sandiford <rdsandiford@googlemail.com>
+
+ Update copyright years.
+
+2012-11-09 Torvald Riegel <triegel@redhat.com>
+
+ * beginend.cc (htm_fastpath): New.
+ (gtm_thread::begin_transaction, _ITM_commitTransaction,
+ _ITM_commitTransactionEH): Add HTM fastpath handling.
+ * config/linux/rwlock.h (gtm_rwlock.is_write_locked): New.
+ * config/posix/rwlock.h (gtm_rwlock.is_write_locked): New.
+ * config/x86/target.h (htm_available, htm_init, htm_begin_success,
+ htm_begin, htm_commit, htm_abort, htm_abort_should_retry): New.
+ * configure.tgt: Add -mrtm to XCFLAGS.
+ * method-serial.cc (htm_mg, o_htm_mg, htm_dispatch, dispatch_htm): New.
+ (gtm_thread::serialirr_mode): Add HTM fastpath handling.
+ * libitm_i.h (htm_fastpath, dispatch_htm): Declare.
+ * retry.cc (parse_default_method): Add HTM method parsing.
+ (gtm_thread::number_of_threads_changed): Use HTM by default if
+ available.
+
+2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
+
+ * configure: Regenerate.
+
+2012-10-31 Richard Henderson <rth@redhat.com>
+
+ * acinclude.m4 (LIBITM_CHECK_AS_RTM): New.
+ * configure.ac: Use it.
+ * config.h.in, configure: Rebuild.
+ * testsuite/Makefile.in: Rebuild.
+
+2012-10-24 Torvald Riegel <triegel@redhat.com>
+
+ * libitm.texi: Clarify ABI requirements for data-logging functions.
+
+2012-10-24 Torvald Riegel <triegel@redhat.com>
+
+ * retry.cc (gtm_thread::decide_begin_dispatch): Ask dispatch whether
+ it requires serial mode instead of assuming that for certain
+ dispatchs.
+ * dispatch.h (abi_dispatch::requires_serial): New.
+ (abi_dispatch::abi_dispatch): Adapt.
+ * method-gl.cc (gl_wt_dispatch::gl_wt_dispatch): Adapt.
+ * method-ml.cc (ml_wt_dispatch::ml_wt_dispatch): Same.
+ * method-serial.cc (serialirr_dispatch::serialirr_dispatch,
+ serial_dispatch::serial_dispatch,
+ serialirr_onwrite_dispatch::serialirr_onwrite_dispatch): Same.
+
+2012-10-02 Uros Bizjak <ubizjak@gmail.com>
+
+ * config/x86/target.h (struct gtm_jmpbuf): Merge x86_64
+ and ia32 declarations some more.
+ * config/x86/sjlj.S (_ITM_beginTransaction): Move ret to common code.
+
+2012-09-20 Jakub Jelinek <jakub@redhat.com>
+
+ PR other/43620
+ * configure.ac (AM_INIT_AUTOMAKE): Add no-dist.
+ * configure: Regenerate.
+ * Makefile.in: Regenerate.
+
+2012-09-14 David Edelsohn <dje.gcc@gmail.com>
+
+ * configure: Regenerated.
+
+2012-07-31 Uros Bizjak <ubizjak@gmail.com>
+
+ * config/x86/target.h (cpu_relax): Use __builtin_ia32_pause.
+
+2012-05-21 Patrick Marlier <patrick.marlier@gmail.com>
+
+ * eh_cpp.cc: Fix __cxa_end_catch declaration.
+
+2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
+
+ * configure: Regenerated.
+
+2012-04-04 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR libitm/52854
+ * config/x86/target.h (gtm_jmpbuf): Replace long with long long
+ for x86-64.
+
+2012-04-03 Tristan Gingold <gingold@adacore.com>
+
+ * configure: Regenerate.
+
+2012-03-31 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR bootstrap/52812
+ * configure.tgt (i[456]86-*-linux*): Handle -mx32 like -m64.
+
+2012-03-16 Bernhard Reutner-Fischer <aldot@gcc.gnu.org>
+
+ * testsuite/lib/libitm.exp: load fortran-modules.exp
+
+2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * configure.tgt (*-*-irix6*): Remove.
+
+2012-03-13 Torvald Riegel <triegel@redhat.com>
+
+ PR libitm/52526
+ * config/linux/rwlock.cc (GTM::gtm_rwlock::read_lock): Fix lost
+ wake-up.
+
+2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * configure.tgt (*-*-osf*): Remove.
+ * configure: Regenerate.
+
+2012-03-05 Torvald Riegel <triegel@redhat.com>
+
+ * dispatch.h (CREATE_DISPATCH_METHODS_MEM): Don't execute
+ memtransfer/memset if size isn't larger than zero.
+
+2012-03-02 Torvald Riegel <triegel@redhat.com>
+
+ * libitm.texi: Link to specification and add a usage example.
+
+2012-02-24 Torvald Riegel <triegel@redhat.com>
+
+ * retry.cc (GTM::gtm_thread::number_of_threads_changed): Change
+ default dispatch for more than 1 thread to ml_wt.
+
+2012-02-20 Torvald Riegel <triegel@redhat.com>
+
+ * method-gl.cc (gl_wt_dispatch::orec): Put on separate cacheline.
+
+2012-02-20 Torvald Riegel <triegel@redhat.com>
+
+ * method-gl.cc (gl_wt_dispatch::rollback): Optimize memory orders.
+
+2012-02-20 Torvald Riegel <triegel@redhat.com>
+
+ * method-gl.cc (gl_wt_dispatch::trycommit): Remove handling of
+ serial mode corner cases made obsolete by prior gtm_rwlock changes.
+ (gl_wt_dispatch.rollback): Same.
+
+2012-02-20 Torvald Riegel <triegel@redhat.com>
+
+ * method-gl.cc (gl_wt_dispatch::pre_write): Optimize memory orders.
+
+2012-02-20 Torvald Riegel <triegel@redhat.com>
+
+ * method-gl.cc (gl_wt_dispatch::memtransfer_static): Add missing undo
+ for RfW src. Optimize number of calls to gtm_thr.
+
+2012-02-20 Torvald Riegel <triegel@redhat.com>
+
+ * beginend.cc (GTM::gtm_thread::begin_transaction): Move serial lock
+ acquisition to ...
+ * retry.cc (GTM::gtm_thread::decide_begin_dispatch): ... here.
+ (default_dispatch): Make atomic.
+ (GTM::gtm_thread::set_default_dispatch): Access atomically.
+ (GTM::gtm_thread::decide_retry_strategy): Access atomically and
+ use decide_begin_dispatch() if default_dispatch might have changed.
+ (GTM::gtm_thread::number_of_threads_changed): Initialize
+ default_dispatch here.
+
+2012-02-15 Iain Sandoe <iains@gcc.gnu.org>
+ Patrick Marlier <patrick.marlier@gmail.com>
+
+ PR libitm/52220
+ * alloc_cpp.cc: No dummy definitions for darwin.
+ * eh_cpp.cc: Likewise.
+
+2012-02-14 Richard Henderson <rth@redhat.com>
+
+ * config/x86/target.h (GTM_longjmp): Correct the .cfi corrections.
+
+2012-02-14 Uros Bizjak <ubizjak@gmail.com>
+
+ * config/x86/target.h (GTM_longjmp): Correct .cfi directives.
+
+2012-02-14 Torvald Riegel <triegel@redhat.com>
+
+ * libitm_i.h (GTM::gtm_rwlog_entry): New.
+ (GTM::gtm_thread): Add read and write logs.
+ (GTM::dispatch_ml_wt): Declare.
+ * retry.cc (parse_default_method): Support ml_wt.
+ * method-ml.cc: New file.
+ * Makefile.am: Add method-ml.cc.
+ * Makefile.in: Regenerate.
+
+2012-02-14 Torvald Riegel <triegel@redhat.com>
+
+ * dispatch.h (GTM::abi_dispatch::supports): New.
+ (GTM::method_group::reinit): New.
+ * retry.cc (GTM::gtm_thread::decide_retry_strategy): Use reinit().
+ (GTM::gtm_thread::number_of_threads_changed): Check that the method
+ supports the current situation.
+
+2012-02-14 Torvald Riegel <triegel@redhat.com>
+
+ * util.cc (GTM::xcalloc): New.
+ * common.h (GTM::xcalloc): Declare.
+
+2012-02-14 Eric Botcazou <ebotcazou@adacore.com>
+
+ * config/sparc/target.h (cpu_relax): Read from CC register.
+ * config/sparc/sjlj.S (GTM_longjmp): Restore %fp atomically.
+
+2012-02-14 Uros Bizjak <ubizjak@gmail.com>
+
+ * config/x86/target.h (GTM_longjmp): Jump indirect from memory address.
+
+2012-02-13 Eric Botcazou <ebotcazou@adacore.com>
+
+ * configure.tgt (target_cpu): Handle sparc and sparc64/sparcv9.
+ * config/sparc/cacheline.h: New file.
+ * config/sparc/target.h: Likewise.
+ * config/sparc/sjlj.S: Likewise.
+ * config/linux/sparc/futex_bits.h: Likewise.
+
+2012-02-13 Eric Botcazou <ebotcazou@adacore.com>
+
+ * configure.ac (link_itm): Fix comment.
+ * configure: Regenerate.
+ * testsuite/lib/libitm.exp: Do not pass -litm for the link.
+
+2012-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ PR libitm/51822
+ * testsuite/libitm.c++/c++.exp (lang_link_flags): Add -shared-libgcc.
+ Correct libgomp references.
+
+2012-01-24 Torvald Riegel <triegel@redhat.com>
+
+ * config/linux/rwlock.cc (GTM::gtm_rwlock::write_unlock): Fix reader
+ wake-up.
+
+2012-01-24 Uros Bizjak <ubizjak@gmail.com>
+
+ * config/x86/target.h (gtm_jmpbuf) [__x86_64__]: Move rip to the
+ end of structure.
+ * config/x86/sjlj.S (_ITM_beginTransaction) [__x86_64__]: Update
+ offset values. Do not copy return address. Decrement stack
+ by 56 bytes only.
+ (GTM_longjump) [__x86_64__]: Update offset values.
+
+2012-01-23 Uros Bizjak <ubizjak@gmail.com>
+
+ PR libitm/51830
+ * config/x86/sjlj.S (_ITM_beginTransaction) [!__x86_64__]: Load
+ the first function argument to %eax.
+
+2012-01-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * libitm.h (_ITM_getThreadnum): Remove.
+ * libitm.map (_ITM_getThreadnum): Remove from LIBITM_1.0.
+
+2012-01-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * clearcap.map: New file.
+ * acinclude.m4 (LIBITM_CHECK_LINKER_HWCAP): New test.
+ * configure.ac: Call it.
+ Clear HWCAP_LDFLAGS if defaulting to -mavx.
+ * Makefile.am (AM_LDFLAGS): Add $(HWCAP_LDFLAGS)
+ * configure: Regenerate.
+ * Makefile.in: Regenerate.
+ * testsuite/Makefile.in: Regenerate.
+
+2012-01-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ PR libitm/51173
+ * testsuite/libitm.c++/static_ctor.C: Skip test, note PR, remove
+ include, exclude options.
+
+2012-01-14 Torvald Riegel <triegel@redhat.com>
+
+ * local.cc (GTM::gtm_undolog::rollback): Truncate undo log after
+ rolling back.
+ * containers.h (GTM::vector::set_size): New.
+
+2012-01-14 Torvald Riegel <triegel@redhat.com>
+
+ PR libitm/51855
+ * config/generic/tls.h (GTM::mask_stack_top): New.
+ (GTM::mask_stack_bottom): Declare.
+ * config/generic/tls.c (GTM::mask_stack_bottom): New.
+ * local.cc (gtm_undolog::rollback): Filter out any updates that
+ overlap the libitm stack. Add current transaction as parameter.
+ * libitm_i.h (GTM::gtm_undolog::rollback): Adapt.
+ * beginend.cc (GTM::gtm_thread::rollback): Adapt.
+ * testsuite/libitm.c/stackundo.c: New test.
+
+2012-01-10 Richard Henderson <rth@redhat.com>
+
+ * libitm_i.h (_Unwind_DeleteException): Declare weak.
+ * eh_cpp.cc (_Unwind_DeleteException): Define for
+ !HAVE_ELF_STYLE_WEAKREF.
+
+2012-01-08 Torvald Riegel <triegel@redhat.com>
+
+ * local.cc (GTM_LB): Use GTM::gtm_undolog.
+ (GTM::gtm_thread::drop_references_undolog): Remove.
+ (GTM::gtm_thread::commit_undolog,
+ GTM::gtm_thread::rollback_undolog): Move to ...
+ * libitm_i.h (GTM::gtm_undolog): ...here. New.
+ (GTM::gtm_undolog_entry): Remove.
+ (GTM::gtm_thread): Adapt.
+ * beginend.cc (GTM::gtm_thread::rollback): Adapt.
+ (GTM::gtm_thread::trycommit): Adapt.
+ * method-serial.cc (serial_dispatch::log): Adapt.
+ * method-gl.cc (gl_wt_dispatch::pre_write): Adapt.
+ (gl_wt_dispatch::store): Fix likely/unlikely.
+ * containers.h (GTM::vector::resize): Add additional_capacity
+ parameter and handle it.
+ (GTM::vector::resize_noinline): New/adapt.
+ (GTM::vector::push): New.
+
+2012-01-06 Richard Henderson <rth@redhat.com>
+
+ * configure.tgt: Support powerpc-linux and powerpc-darwin.
+ * config/linux/powerpc/futex_bits.h: New file.
+ * config/powerpc/cacheline.h: New file.
+ * config/powerpc/sjlj.S: New file.
+ * config/powerpc/target.h: New file.
+ * config/generic/asmcfi.h (cfi_offset): New.
+ (cfi_restore, cfi_undefined): New.
+
2012-01-05 Aldy Hernandez <aldyh@redhat.com>
PR other/51171
* testsuite/libitm.c/reentrant.c: Remove xfail.
(thread): Pass x to pure().
+ From Patrik Marlier <patrick.marlier@gmail.com>.
2011-12-24 Torvald Riegel <triegel@redhat.com>