]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libitm/ChangeLog
gcc/ChangeLog
[thirdparty/gcc.git] / libitm / ChangeLog
index ad8e3d73a8f84279d2b4f5b69684d6add31a4589..69492d813a433396d3ddc91cdac8c861a84d2622 100644 (file)
@@ -1,6 +1,511 @@
+2015-10-27  Daniel Jacobowitz  <dan@codesourcery.com>
+           Joseph Myers  <joseph@codesourcery.com>
+           Mark Shinwell  <shinwell@codesourcery.com>
+           Andrew Stubbs  <ams@codesourcery.com>
+           Rich Felker <dalias@libc.org>
+
+       * config/sh/sjlj.S (_ITM_beginTransaction): Bypass PLT calling
+       GTM_begin_transaction for compatibility with FDPIC.
+
+2015-10-09  David Malcolm  <dmalcolm@redhat.com>
+
+       * testsuite/lib/libitm.exp: Load multiline.exp before prune.exp,
+       using load_gcc_lib.
+
+2015-08-20  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>  (tiny change)
+
+       PR libitm/61164
+       * local_atomic (__always_inline): Rename to...
+       (__libitm_always_inline): ... this.
+
+2015-07-03  Carlos Sánchez de La Lama  <csanchezdll@gmail.com>
+
+       PR target/52482
+       * config/powerpc/sjlj.S: Port to Xcode 2.5.
+
+2015-05-27  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/linux/x86/futex_bits.h (sys_futex0) [__x86_64__]: Change
+       operands "op" and "val" to int.
+
+2015-05-27  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/linux/sh/futex_bits.h (sys_futex0) Change operands
+       "op" and "val" to int.
+
+2015-05-27  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/linux/alpha/futex_bits.h (sys_futex0) Change operands
+       "op" and "val" to int.
+
+2015-05-27  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/linux/futex.cc (gtm_futex_wait, gtm_futex_wake):
+       Declare as static int.
+       (FUTEX_PRIVATE_FLAG): Remove L suffix.
+       * config/linux/futex_bits.h (sys_futex0) Change operand "op" to int.
+
+2015-05-27  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/linux/x86/futex_bits.h (sys_futex0) [__PIC__]: Remove
+       sys_futex0 function.
+
+2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
+
+       * Makefile.in: Regenerated with automake-1.11.6.
+       * aclocal.m4: Likewise.
+       * configure: Likewise.
+       * testsuite/Makefile.in: Likewise.
+
+2015-04-22  Gregor Richards  <gregor.richards@uwaterloo.ca>
+
+       * config/arm/hwcap.cc: Use fcntl.h instead of sys/fcntl.h.
+       * config/linux/x86/tls.h: Only use __GLIBC_PREREQ if defined.
+
+2015-01-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR libitm/64360
+       * libitm.c/stackundo.c (test2): Make it static.
+       (test1): Likewise.
+
+2015-01-05  Jakub Jelinek  <jakub@redhat.com>
+
+       Update copyright years.
+
+2015-01-05  Jakub Jelinek  <jakub@redhat.com>
+
+       * libitm.texi: Bump @copying's copyright year.
+
+2014-12-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
+
+       * testsuite/lib/libitm.exp: Load target-utils.exp.
+       Move load of target-supports.exp earlier.
+
+2014-12-03  Uros Bizjak  <ubizjak@gmail.com>
+
+       * configure.tgt (x86_64): Tune -m32 multilib to generic.
+
+2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR bootstrap/63784
+       * configure: Regenerated.
+
+2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
+
+       PR target/63610
+       * configure: Regenerate.
+
+2014-10-06  Marek Polacek  <polacek@redhat.com>
+
+       * testsuite/libitm.c/memcpy-1.c: Declare getpagesize.
+       * testsuite/libitm.c/memset-1.c: Likewise.
+
+2014-07-24  Richard Henderson  <rth@redhat.com>
+
+       * config/aarch64/sjlj.S (_ITM_beginTransaction): Use post-inc
+       addressing mode in epilogue.
+
+2014-05-28  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * acinclude.m4 (LIBITM_CHECK_LINKER_HWCAP): Check for
+       -mclear-hwcap instead.
+       * configure: Regenerate.
+       * clearcap.map: Remove.
+
+2014-05-21  John Marino  <gnugcc@marino.st>
+
+       * configure.tgt (*-*-dragonfly*): New target.
+
+2014-05-19  Richard Henderson  <rth@redhat.com>
+
+       * config/aarch64/sjlj.S: New file.
+       * config/aarch64/target.h: New file.
+       * configure.tgt: Enable aarch64.
+
+2014-04-09  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * config/generic/asmcfi.h: Also check for
+       __GCC_HAVE_DWARF2_CFI_ASM.
+
+2013-04-02  Richard Henderson  <rth@redhat.com>
+
+       * config/alpha/target.h (PAGE_SIZE, FIXED_PAGE_SIZE): Remove.
+       * config/arm/target.h, config/sh/target.h: Likewise.
+       * config/sparc/target.h, config/x86/target.h: Likewise.
+
+2014-03-26  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/linux/futex_bits.h: Include errno.h.
+       (sys_futex0): If syscall returns -1, return -errno rather than
+       -1.
+
+2014-03-26  Joseph Myers  <joseph@codesourcery.com>
+
+       * libitm.texi (Index): Rename to Library Index.
+
+2014-01-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR libitm/53113
+       * Makefile.am (x86_sse.lo): Append -msse to CXXFLAGS.
+       (x86_avx.lo): Append -mavx to CXXFLAGS.
+       * Makefile.in: Regenerate.
+
+2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       Update copyright years
+
+2014-01-02  Tobias Burnus  <burnus@net-b.de>
+
+       * libitm.texi: Bump @copying's copyright year.
+
+2013-11-14  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
+
+       * config/powerpc/sjlj.S [__powerpc64__ && _CALL_ELF == 2]:
+       (FUNC): Define ELFv2 variant.
+       (END): Likewise.
+       (HIDDEN): Likewise.
+       (CALL): Likewise.
+       (BASE): Likewise.
+       (LR_SAVE): Likewise.
+
+2013-09-20  Alan Modra  <amodra@gmail.com>
+
+       * configure: Regenerate.
+
+2013-08-30  Torvald Riegel  <triegel@redhat.com>
+
+       * config/posix/rwlock.cc: Fix initialization order.
+
+2013-08-30  Torvald Riegel  <triegel@redhat.com>
+
+       * libitm_i.h (gtm_thread): Assign an asm name to serial_lock.
+       (htm_fastpath): Assign an asm name.
+       * libitm.h (_ITM_codeProperties): Add non-ABI flags used by custom
+       HTM fast paths.
+       (_ITM_actions): Likewise.
+       * config/x86/target.h (HTM_CUSTOM_FASTPATH): Enable custom fastpath on
+       x86_64.
+       * config/x86/sjlj.S (_ITM_beginTransaction): Add custom HTM fast path.
+       * config/posix/rwlock.h (gtm_rwlock): Update comments.  Move summary
+       field to the start of the structure.
+       * config/linux/rwlock.h (gtm_rwlock): Update comments.
+       * beginend.cc (gtm_thread::begin_transaction): Add retry policy
+       handling for custom HTM fast paths.
+
+2013-08-14  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+       Revert:
+       2013-08-02  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+       * configure.tgt: Add -msoft-float to XCFLAGS.
+
+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.
+       * 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.
 2012-01-31  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
 
        PR libitm/51822
-       * testsuite/libitm.c++/c++.exp (lang_link_flags): Add
-       -shared-libgcc.
+       * testsuite/libitm.c++/c++.exp (lang_link_flags): Add -shared-libgcc.
        Correct libgomp references.
 
 2012-01-24  Torvald Riegel  <triegel@redhat.com>