public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Document POWER's -mhtm and -mno-htm options.
@ 2016-06-07 17:19 Peter Bergner
  2016-06-07 17:49 ` David Edelsohn
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Bergner @ 2016-06-07 17:19 UTC (permalink / raw)
  To: gcc-patches; +Cc: David Edelsohn

It seems we (ok, me) forgot to document the -mhtm option for POWER.
This bootstrapped fine and the generated docs looked good.
Is this ok for trunk and the open release branches?

Peter


	* doc/invoke.texi (RS/6000 and PowerPC Options): Document -mhtm and
	-mno-htm.

Index: gcc/doc/invoke.texi
===================================================================
--- gcc/doc/invoke.texi	(revision 237175)
+++ gcc/doc/invoke.texi	(working copy)
@@ -1000,7 +1000,7 @@ See RS/6000 and PowerPC Options.
 -mpointers-to-nested-functions -mno-pointers-to-nested-functions @gol
 -msave-toc-indirect -mno-save-toc-indirect @gol
 -mpower8-fusion -mno-mpower8-fusion -mpower8-vector -mno-power8-vector @gol
--mcrypto -mno-crypto -mdirect-move -mno-direct-move @gol
+-mcrypto -mno-crypto -mhtm -mno-htm -mdirect-move -mno-direct-move @gol
 -mquad-memory -mno-quad-memory @gol
 -mquad-memory-atomic -mno-quad-memory-atomic @gol
 -mcompat-align-parm -mno-compat-align-parm @gol
@@ -19991,7 +19991,7 @@ following options:
 -mpopcntb -mpopcntd  -mpowerpc64 @gol
 -mpowerpc-gpopt  -mpowerpc-gfxopt  -msingle-float -mdouble-float @gol
 -msimple-fpu -mstring  -mmulhw  -mdlmzb  -mmfpgpr -mvsx @gol
--mcrypto -mdirect-move -mpower8-fusion -mpower8-vector @gol
+-mcrypto -mdirect-move -mhtm -mpower8-fusion -mpower8-vector @gol
 -mquad-memory -mquad-memory-atomic -mmodulo -mfloat128 -mfloat128-hardware @gol
 -mpower9-fusion -mpower9-vector -mpower9-dform}
 
@@ -20165,6 +20165,14 @@ Generate code that uses (does not use) t
 between the general purpose registers and the vector/scalar (VSX)
 registers that were added in version 2.07 of the PowerPC ISA.
 
+@item -mhtm
+@itemx -mno-htm
+@opindex mhtm
+@opindex mno-htm
+Enable (disable) the use of the built-in functions that allow direct
+access to the Hardware Transactional Memory (HTM) instructions that
+were added in version 2.07 of the PowerPC ISA.
+
 @item -mpower8-fusion
 @itemx -mno-power8-fusion
 @opindex mpower8-fusion

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Document POWER's -mhtm and -mno-htm options.
  2016-06-07 17:19 [PATCH] Document POWER's -mhtm and -mno-htm options Peter Bergner
@ 2016-06-07 17:49 ` David Edelsohn
  2016-06-07 21:54   ` Peter Bergner
  0 siblings, 1 reply; 3+ messages in thread
From: David Edelsohn @ 2016-06-07 17:49 UTC (permalink / raw)
  To: Peter Bergner; +Cc: GCC Patches, Segher Boessenkool

On Tue, Jun 7, 2016 at 1:18 PM, Peter Bergner <bergner@vnet.ibm.com> wrote:
> It seems we (ok, me) forgot to document the -mhtm option for POWER.
> This bootstrapped fine and the generated docs looked good.
> Is this ok for trunk and the open release branches?
>
> Peter
>
>
>         * doc/invoke.texi (RS/6000 and PowerPC Options): Document -mhtm and
>         -mno-htm.

Okay.

Thanks, David

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Document POWER's -mhtm and -mno-htm options.
  2016-06-07 17:49 ` David Edelsohn
@ 2016-06-07 21:54   ` Peter Bergner
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Bergner @ 2016-06-07 21:54 UTC (permalink / raw)
  To: David Edelsohn; +Cc: GCC Patches, Segher Boessenkool

On 6/7/16 12:49 PM, David Edelsohn wrote:
> On Tue, Jun 7, 2016 at 1:18 PM, Peter Bergner <bergner@vnet.ibm.com> wrote:
>> It seems we (ok, me) forgot to document the -mhtm option for POWER.
>> This bootstrapped fine and the generated docs looked good.
>> Is this ok for trunk and the open release branches?
>>
>> Peter
>>
>>
>>         * doc/invoke.texi (RS/6000 and PowerPC Options): Document -mhtm and
>>         -mno-htm.
>
> Okay.

Ok, committed everywhere.  Thanks!

Peter



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-06-07 21:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-07 17:19 [PATCH] Document POWER's -mhtm and -mno-htm options Peter Bergner
2016-06-07 17:49 ` David Edelsohn
2016-06-07 21:54   ` Peter Bergner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).