diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-01-13 17:03:42 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-01-13 17:03:42 +0000 |
commit | e5fee0fe3dd66acf83f093f69a3992a4b653fdf4 (patch) | |
tree | f728a754bf3a0dcace0dede256cd49817a1cc56e /libitm/configure.ac | |
parent | 3f0e9745bed1f9bcb4973163ff2ebe1e364a5962 (diff) |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@232330 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libitm/configure.ac')
-rw-r--r-- | libitm/configure.ac | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libitm/configure.ac b/libitm/configure.ac index 3875aa0b47df..36e065140d84 100644 --- a/libitm/configure.ac +++ b/libitm/configure.ac @@ -281,7 +281,10 @@ else fi AC_SUBST(link_itm) +AM_CONDITIONAL([ARCH_AARCH64], [test "$ARCH" = aarch64]) AM_CONDITIONAL([ARCH_ARM], [test "$ARCH" = arm]) +AM_CONDITIONAL([ARCH_PPC], [test "$ARCH" = powerpc -o "$ARCH" = powerpc64]) +AM_CONDITIONAL([ARCH_S390], [test "$ARCH" = s390 -o "$ARCH" = s390x]) AM_CONDITIONAL([ARCH_X86], [test "$ARCH" = x86]) AM_CONDITIONAL([ARCH_X86_AVX], [test "$libitm_cv_as_avx" = yes]) AM_CONDITIONAL([ARCH_FUTEX], [test $enable_linux_futex = yes]) |