aboutsummaryrefslogtreecommitdiff
path: root/libitm/Makefile.am
AgeCommit message (Collapse)AuthorFilesLines
2016-01-13re PR target/68964 (Internal compiler error for test case ↵Richard Henderson1-5/+15
gcc.dg/tm/20100610.c since r231674) PR 68964 gcc/ PR tree-opt/68964 * target.def (builtin_tm_load, builtin_tm_store): Remove. * config/i386/i386.c (ix86_builtin_tm_load): Remove. (ix86_builtin_tm_store): Remove. (TARGET_VECTORIZE_BUILTIN_TM_LOAD): Remove. (TARGET_VECTORIZE_BUILTIN_TM_STORE): Remove. * doc/tm.texi.in (TARGET_VECTORIZE_BUILTIN_TM_LOAD): Remove. (TARGET_VECTORIZE_BUILTIN_TM_STORE): Remove. * doc/tm.texi: Rebuild. * gtm-builtins.def (BUILT_IN_TM_MEMCPY_RNWT): New. (BUILT_IN_TM_MEMCPY_RTWN): New. * trans-mem.c (tm_log_emit_stmt): Rearrange code for better fallback from vector to integer helpers. (build_tm_load): Handle vector types directly, instead of via target hook. (build_tm_store): Likewise. (expand_assign_tm): Prepare for register types not handled by the above. Copy them to memory and use memcpy. * tree.c (tm_define_builtin): New. (find_tm_vector_type): New. (build_tm_vector_builtins): New. (build_common_builtin_nodes): Call it. libitm/ * Makefile.am (libitm_la_SOURCES) [ARCH_AARCH64]: Add vect128.cc (libitm_la_SOURCES) [ARCH_ARM]: Add neon.cc (libitm_la_SOURCES) [ARCH_PPC]: Add vect128.cc (libitm_la_SOURCES) [ARCH_S390]: Add vect128.cc * configure.ac (ARCH_AARCH64): New conditional. (ARCH_PPC, ARCH_S390): Likewise. * Makefile.in, configure: Rebuild. * libitm.h (_ITM_TYPE_M128): Always define. * vect64.cc: Split ... * vect128.cc: ... out of... * config/x86/x86_sse.cc: ... here. * config/arm/neon.cc: New file. From-SVN: r232330
2014-01-13Make sure that -msse/-mavx are appended at the endH.J. Lu1-2/+4
PR libitm/53113 * Makefile.am (x86_sse.lo): Append -msse to CXXFLAGS. (x86_avx.lo): Append -mavx to CXXFLAGS. * Makefile.in: Regenerate. From-SVN: r206587
2012-02-14libitm: Add multi-lock, write-through TM method.Torvald Riegel1-1/+1
libitm/ * 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. From-SVN: r184212
2012-01-23Clear hardware capabilities on libitm.so with Sun ldRainer Orth1-1/+1
* 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. From-SVN: r183430
2011-12-21Makefile.am (AM_CXXFLAGS): Put $(XCFLAGS) first.Jakub Jelinek1-2/+2
* Makefile.am (AM_CXXFLAGS): Put $(XCFLAGS) first. * Makefile.in: Regenerated. From-SVN: r182593
2011-12-14arm-linux: Add libitm support.Richard Henderson1-0/+3
* config/arm/hwcap.h, config/arm/hwcap.cc: New files. * config/arm/sjlj.S, config/arm/target.h: New files. * config/generic/asmcfi.h (cfi_adjust_cfa_offset): New. (cfi_rel_offset): New. * config/linux/futex_bits.h: New file. * config/linux/futex.cc: Include futex_bits.h here... * config/linux/futex.h: ... not here. * Makefile.am (libitm_la_SOURCES) <ARCH_ARM>: Add hwcap.cc. * configure.ac (ARCH_AM): New conditional. * Makefile.in, configure: Rebuild. * configure.tgt: Handle ARM. From-SVN: r182355
2011-11-23Makefile.am (libitm_la_LDFLAGS): Remove "-no-undefined".Iain Sandoe1-2/+1
libitm: * Makefile.am (libitm_la_LDFLAGS): Remove "-no-undefined". * Makefile.in: Regenerate. From-SVN: r181654
2011-11-21Support sun symbol versioning in libitmRainer Orth1-1/+19
libitm: * acinclude.m4 (LIBITM_CHECK_LINKER_FEATURES): Handle gold. (LIBITM_ENABLE_SYMVERS): Handle sun style. * Makefile.am: Handle sun style versioning. (libitm_la_LINK): Add $(libitm_la_LDFLAGS). * configure: Regenerate. * Makefile.in: Regenerate. contrib: * make_sunver.pl: Convert '?' in glob patterns to '.'. From-SVN: r181588
2011-11-10libitm: Don't add -mavx if the assembler doesn't support avx.Richard Henderson1-0/+2
* config/x86/x86_avx.cc: Remove #undef __AVX__ hack. Tidy comments. * Makefile.am (x86_avx.lo): Only add -mavx if ARCH_X86_AVX. * configure.ac (ARCH_X86_AVX): New conditional. * Makefile.in, configure: Rebuild. From-SVN: r181261
2011-11-09libitm: Remove unused code.Richard Henderson1-1/+1
In particular, unused code that's presenting portability problems. From-SVN: r181241
2011-11-08Merge from transactional-memory branch.Aldy Hernandez1-0/+98
From-SVN: r181154