diff mbox

Document POWER's -mhtm and -mno-htm options.

Message ID d0acaef8-ee69-6e3e-23b5-192ac60f8ef8@vnet.ibm.com
State New
Headers show

Commit Message

Peter Bergner June 7, 2016, 5:18 p.m. UTC
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.

Comments

David Edelsohn June 7, 2016, 5:49 p.m. UTC | #1
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
Peter Bergner June 7, 2016, 9:54 p.m. UTC | #2
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
diff mbox

Patch

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