X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=libitm%2FChangeLog;h=91f1dd043926bf05991beb753f822f9b5c22704a;hb=ea023bcfd8a6549df22232792038310fd4f2f967;hp=130c9efbd8500c12ed3c22767a401f3446310c3f;hpb=7d33bcb73866d5310b4eb190172240bcb71f51f6;p=gcc.git diff --git a/libitm/ChangeLog b/libitm/ChangeLog index 130c9efbd85..91f1dd04392 100644 --- a/libitm/ChangeLog +++ b/libitm/ChangeLog @@ -1,3 +1,448 @@ +2015-05-27 Uros Bizjak + + * config/linux/x86/futex_bits.h (sys_futex0) [!__x86_64__]: + Change operand "op" to long. + [__PIC__]: Remove sys_futex0 function. + +2015-05-13 Michael Haubenwallner + + * Makefile.in: Regenerated with automake-1.11.6. + * aclocal.m4: Likewise. + * configure: Likewise. + * testsuite/Makefile.in: Likewise. + +2015-04-22 Gregor Richards + + * 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 + + PR libitm/64360 + * libitm.c/stackundo.c (test2): Make it static. + (test1): Likewise. + +2015-01-05 Jakub Jelinek + + Update copyright years. + +2015-01-05 Jakub Jelinek + + * libitm.texi: Bump @copying's copyright year. + +2014-12-12 Kyrylo Tkachov + + * testsuite/lib/libitm.exp: Load target-utils.exp. + Move load of target-supports.exp earlier. + +2014-12-03 Uros Bizjak + + * configure.tgt (x86_64): Tune -m32 multilib to generic. + +2014-11-21 H.J. Lu + + PR bootstrap/63784 + * configure: Regenerated. + +2014-11-11 Francois-Xavier Coudert + + PR target/63610 + * configure: Regenerate. + +2014-10-06 Marek Polacek + + * testsuite/libitm.c/memcpy-1.c: Declare getpagesize. + * testsuite/libitm.c/memset-1.c: Likewise. + +2014-07-24 Richard Henderson + + * config/aarch64/sjlj.S (_ITM_beginTransaction): Use post-inc + addressing mode in epilogue. + +2014-05-28 Rainer Orth + + * acinclude.m4 (LIBITM_CHECK_LINKER_HWCAP): Check for + -mclear-hwcap instead. + * configure: Regenerate. + * clearcap.map: Remove. + +2014-05-21 John Marino + + * configure.tgt (*-*-dragonfly*): New target. + +2014-05-19 Richard Henderson + + * config/aarch64/sjlj.S: New file. + * config/aarch64/target.h: New file. + * configure.tgt: Enable aarch64. + +2014-04-09 Rainer Orth + + * config/generic/asmcfi.h: Also check for + __GCC_HAVE_DWARF2_CFI_ASM. + +2013-04-02 Richard Henderson + + * 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 + + * config/linux/futex_bits.h: Include errno.h. + (sys_futex0): If syscall returns -1, return -errno rather than + -1. + +2014-03-26 Joseph Myers + + * libitm.texi (Index): Rename to Library Index. + +2014-01-13 H.J. Lu + + 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 + + Update copyright years + +2014-01-02 Tobias Burnus + + * libitm.texi: Bump @copying's copyright year. + +2013-11-14 Ulrich Weigand + + * 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 + + * configure: Regenerate. + +2013-08-30 Torvald Riegel + + * config/posix/rwlock.cc: Fix initialization order. + +2013-08-30 Torvald Riegel + + * 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 + Revert: + 2013-08-02 Andreas Krebbel + + * configure.tgt: Add -msoft-float to XCFLAGS. + +2013-08-02 Andreas Krebbel + + * configure.tgt: Add -msoft-float to XCFLAGS. + +2013-07-29 Andreas Krebbel + + * 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 + + * 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 + + * 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 + + * 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 + Cesar Philippidis + + * 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 + + * 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 + + PR libitm/57643 + * beginend.cc (gtm_thread::begin_transaction): Handle reentrancy in + the HTM fastpath. + +2013-03-31 Gerald Pfeifer + + 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 + + * config/s390/sjlj.S: New file. + * config/s390/target.h: New file. + * configure.tgt: Set options for S/390. + +2013-03-23 Andi Kleen + + * 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 + Jack Howarth + Patrick Marlier + + PR libitm/55693 + * alloc_cpp.cc: Enable function declarations on darwin. + * eh_cpp.cc: Likewise. + +2013-02-03 Richard Sandiford + + Update copyright years. + +2012-11-09 Torvald Riegel + + * 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 + + * configure: Regenerate. + +2012-10-31 Richard Henderson + + * 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 + + * libitm.texi: Clarify ABI requirements for data-logging functions. + +2012-10-24 Torvald Riegel + + * 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 + + * 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 + + PR other/43620 + * configure.ac (AM_INIT_AUTOMAKE): Add no-dist. + * configure: Regenerate. + * Makefile.in: Regenerate. + +2012-09-14 David Edelsohn + + * configure: Regenerated. + +2012-07-31 Uros Bizjak + + * config/x86/target.h (cpu_relax): Use __builtin_ia32_pause. + +2012-05-21 Patrick Marlier + + * eh_cpp.cc: Fix __cxa_end_catch declaration. + +2012-05-16 H.J. Lu + + * configure: Regenerated. + +2012-04-04 H.J. Lu + + PR libitm/52854 + * config/x86/target.h (gtm_jmpbuf): Replace long with long long + for x86-64. + +2012-04-03 Tristan Gingold + + * configure: Regenerate. + +2012-03-31 H.J. Lu + + PR bootstrap/52812 + * configure.tgt (i[456]86-*-linux*): Handle -mx32 like -m64. + +2012-03-16 Bernhard Reutner-Fischer + + * testsuite/lib/libitm.exp: load fortran-modules.exp + +2012-03-14 Rainer Orth + + * configure.tgt (*-*-irix6*): Remove. + +2012-03-13 Torvald Riegel + + PR libitm/52526 + * config/linux/rwlock.cc (GTM::gtm_rwlock::read_lock): Fix lost + wake-up. + +2012-03-12 Rainer Orth + + * configure.tgt (*-*-osf*): Remove. + * configure: Regenerate. + +2012-03-05 Torvald Riegel + + * dispatch.h (CREATE_DISPATCH_METHODS_MEM): Don't execute + memtransfer/memset if size isn't larger than zero. + +2012-03-02 Torvald Riegel + + * libitm.texi: Link to specification and add a usage example. + +2012-02-24 Torvald Riegel + + * 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 + + * method-gl.cc (gl_wt_dispatch::orec): Put on separate cacheline. + +2012-02-20 Torvald Riegel + + * method-gl.cc (gl_wt_dispatch::rollback): Optimize memory orders. + +2012-02-20 Torvald Riegel + + * 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 + + * method-gl.cc (gl_wt_dispatch::pre_write): Optimize memory orders. + +2012-02-20 Torvald Riegel + + * 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 + + * 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 + Patrick Marlier + + PR libitm/52220 + * alloc_cpp.cc: No dummy definitions for darwin. + * eh_cpp.cc: Likewise. + +2012-02-14 Richard Henderson + + * config/x86/target.h (GTM_longjmp): Correct the .cfi corrections. + +2012-02-14 Uros Bizjak + + * config/x86/target.h (GTM_longjmp): Correct .cfi directives. + +2012-02-14 Torvald Riegel + + * 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 + + * 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 * util.cc (GTM::xcalloc): New.