This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] 14/n: trans-mem: compiler documentation


Index: gcc/doc/tm.texi
===================================================================
--- gcc/doc/tm.texi	(.../trunk)	(revision 180744)
+++ gcc/doc/tm.texi	(.../branches/transactional-memory)	(revision 180773)
@@ -5758,6 +5758,16 @@ mode returned by @code{TARGET_VECTORIZE_
 The default is zero which means to not iterate over other vector sizes.
 @end deftypefn

+@deftypefn {Target Hook} tree TARGET_VECTORIZE_BUILTIN_TM_LOAD (tree)
+This hook should return the built-in decl needed to load a vector of
+the given type.
+@end deftypefn
+
+@deftypefn {Target Hook} tree TARGET_VECTORIZE_BUILTIN_TM_STORE (tree)
+This hook should return the built-in decl needed to store a vector of
+the given type.
+@end deftypefn
+
 @node Anchored Addresses
 @section Anchored Addresses
 @cindex anchored addresses
Index: gcc/doc/tm.texi.in
===================================================================
--- gcc/doc/tm.texi.in	(.../trunk)	(revision 180744)
+++ gcc/doc/tm.texi.in	(.../branches/transactional-memory)	(revision 180773)
@@ -5696,6 +5696,16 @@ mode returned by @code{TARGET_VECTORIZE_
 The default is zero which means to not iterate over other vector sizes.
 @end deftypefn

+@hook TARGET_VECTORIZE_BUILTIN_TM_LOAD
+This hook should return the built-in decl needed to load a vector of
+the given type.
+@end deftypefn
+
+@hook TARGET_VECTORIZE_BUILTIN_TM_STORE
+This hook should return the built-in decl needed to store a vector of
+the given type.
+@end deftypefn
+
@node Anchored Addresses
@section Anchored Addresses
@cindex anchored addresses
Index: gcc/doc/invoke.texi
===================================================================
--- gcc/doc/invoke.texi (.../trunk) (revision 180744)
+++ gcc/doc/invoke.texi (.../branches/transactional-memory) (revision 180840)
@@ -1715,6 +1715,18 @@ Program Interface v3.0 @w{@uref{http://w
implies @option{-pthread}, and thus is only supported on targets that
have support for @option{-pthread}.


+@item -fgnu-tm
+@opindex fgnu-tm
+When the option @option{-fgnu-tm} is specified, the compiler will
+generate code for the Linux variant of Intel's current Transactional
+Memory ABI specification document (Revision 1.1, May 6 2009).  This is
+an experimental feature whose interface may change in future versions
+of GCC, as the official specification changes.  Please note that not
+all architectures are supported for this feature.
+
+For more information on GCC's support for transactional memory, see
+the accompanying documentation for @file{libitm}.
+
 @item -fms-extensions
 @opindex fms-extensions
 Accept some non-standard constructs used in Microsoft header files.
@@ -9093,6 +9105,13 @@ parameters only when their cumulative si
 @option{ipa-sra-ptr-growth-factor} times the size of the original
 pointer parameter.

+@item tm-max-aggregate-size
+When making copies of thread-local variables in a transaction, this
+parameter specifies the size in bytes after which variables will be
+saved with the logging functions as opposed to save/restore code
+sequence pairs.  This option only applies when using
+@option{-fgnu-tm}.
+
 @item graphite-max-nb-scop-params
 To avoid exponential effects in the Graphite loop transforms, the
 number of parameters in a Static Control Part (SCoP) is bounded.  The


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]