re PR libitm/51830 (FAIL: libitm.c/mem(cpy|set)-1.c execution test)
[gcc.git] / libitm / ChangeLog
index abdf4fb62d8a226947f21a044fe1e2ac99d34ab3..bf29f4efc3f445ab27206e15471aa64b100972bf 100644 (file)
@@ -1,3 +1,96 @@
+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>
+
+       * beginend.cc (GTM::gtm_thread::trycommit): Don't enforce
+       privatization safety if already in serial mode.
+
 2011-12-24  Torvald Riegel  <triegel@redhat.com>
 
        * beginend.cc (GTM::gtm_thread::restart): Add and handle