OSDN Git Service

* config/x86/target.h (GTM_longjmp): Correct .cfi directives.
[pf3gnuchains/gcc-fork.git] / libitm / ChangeLog
index fa12e8c..23594d3 100644 (file)
@@ -1,3 +1,119 @@
+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.