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 /gcc/target.def | |
parent | 3f0e9745bed1f9bcb4973163ff2ebe1e364a5962 (diff) | |
download | gcc-e5fee0fe3dd66acf83f093f69a3992a4b653fdf4.tar.gz |
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 'gcc/target.def')
-rw-r--r-- | gcc/target.def | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/gcc/target.def b/gcc/target.def index c21b1229bdb..946d2e5b548 100644 --- a/gcc/target.def +++ b/gcc/target.def @@ -1808,24 +1808,6 @@ parameter is true if the memory access is defined in a packed struct.", (machine_mode mode, const_tree type, int misalignment, bool is_packed), default_builtin_support_vector_misalignment) -/* Return the builtin decl needed to load a vector of TYPE. */ -DEFHOOK -(builtin_tm_load, - "This hook should return the built-in decl needed to load a vector of the " - "given type within a transaction.", - tree, - (tree), - default_builtin_tm_load_store) - -/* Return the builtin decl needed to store a vector of TYPE. */ -DEFHOOK -(builtin_tm_store, - "This hook should return the built-in decl needed to store a vector of the " - "given type within a transaction.", - tree, - (tree), - default_builtin_tm_load_store) - /* Returns the preferred mode for SIMD operations for the specified scalar mode. */ DEFHOOK |