public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH][WWWDOCS][AArch64][ARM] Update GCC 8 release notes
@ 2018-01-16 10:10 Tamar Christina
  2018-01-16 11:40 ` Kyrill Tkachov
  0 siblings, 1 reply; 10+ messages in thread
From: Tamar Christina @ 2018-01-16 10:10 UTC (permalink / raw)
  To: gcc-patches
  Cc: nd, james.greenhalgh, Richard.Earnshaw, Marcus.Shawcroft,
	Ramana.Radhakrishnan, nickc, Kyrylo.Tkachov, gerald

[-- Attachment #1: Type: text/plain, Size: 106 bytes --]

Hi All,

This patch updates the GCC 8 release notes for ARM and AArch64.

Ok for cvs?

Thanks,
Tamar

-- 

[-- Attachment #2: rb8523.patch --]
[-- Type: text/x-diff, Size: 5733 bytes --]

Index: htdocs/gcc-8/changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-8/changes.html,v
retrieving revision 1.26
diff -u -r1.26 changes.html
--- htdocs/gcc-8/changes.html	11 Jan 2018 09:31:53 -0000	1.26
+++ htdocs/gcc-8/changes.html	11 Jan 2018 15:47:15 -0000
@@ -147,7 +147,51 @@
 
 <h3 id="aarch64">AArch64</h3>
 <ul>
-  <li></li>
+  <li>
+    The Armv8.4-A architecture is now supported.  It can be used by
+    specifying the <code>-march=armv8.4-a</code> option.
+  </li>
+  <li>
+    The Dot Product instructions are now supported as an optional extension to the
+    Armv8.2-A architecture and newer and are mandatory on Armv8.4-A.  The extension can be used by
+    specifying the <code>+dotprod</code> architecture extension.  E.g. <code>-march=armv8.2-a+dotprod</code>.
+  </li>
+  <li>
+    The Armv8-A <code>+crypto</code> extension has now been split into two extensions for finer grained control:
+    <ul>
+       <li><code>+aes</code> which contains the Armv8-A AES crytographic instructions.</li>
+       <li><code>+sha2</code> which contains the Armv8-A SHA2 and SHA1 cryptographic instructions.</li>
+    </ul>
+    Using <code>+crypto<code> will now enable these two extensions.
+  </li>
+  <li>
+    New Armv8.4-A FP16 Floating Point Multiplication Variant instructions have been added.  These instructions are
+    mandatory in Armv8.4-A but available as an optional extension to Armv8.2-A and Armv8.3-A.  The new extension
+    can be used by specifying the <code>+fp16fml</code> architectural extension on Armv8.2-A and Armv8.3-A. On Armv8.4-A
+    the instructions can be enabled by specifying <code>+fp16</code>.
+  </li>
+  <li>
+    New cryptographic instructions have been added as optional extensions to Armv8.2-A and newer.  These instructions can
+    be enabled with:
+    <ul>
+      <li><code>+sha3</code> New SHA3 and SHA2 instructions from Armv8.4-A.  This implies <code>+sha2</code>.
+      <li><code>+sm4</code> New SM3 and SM4 instructions from Armv8.4-A.
+    </ul>
+ </li>
+  <li>
+       Support has been added for the following processors
+       (GCC identifiers in parentheses):
+       <ul>
+         <li>Arm Cortex-A75 (<code>cortex-a75</code>).</li>
+	 <li>Arm Cortex-A55 (<code>cortex-a55</code>).</li>
+	 <li>Arm Cortex-A55/Cortex-A75 DynamIQ big.LITTLE (<code>cortex-a75.cortex-a55</code>).</li>
+       </ul>
+       The GCC identifiers can be used
+       as arguments to the <code>-mcpu</code> or <code>-mtune</code> options,
+       for example: <code>-mcpu=cortex-a75</code> or
+       <code>-mtune=thunderx2t99p1</code> or as arguments to the equivalent target
+       attributes and pragmas.
+  </li>
 </ul>
 
 <h3 id="arm">ARM</h3>
@@ -169,14 +213,58 @@
     removed in a future release.
   </li>
   <li>
-    The default link behavior for ARMv6 and ARMv7-R targets has been
+    The default link behavior for Armv6 and Armv7-R targets has been
     changed to produce BE8 format when generating big-endian images.  A new
     flag <code>-mbe32</code> can be used to force the linker to produce
     legacy BE32 format images.  There is no change of behavior for
-    ARMv6-m and other ARMv7 or later targets: these already defaulted
+    Armv6-M and other Armv7 or later targets: these already defaulted
     to BE8 format.  This change brings GCC into alignment with other
     compilers for the ARM architecture.
   </li>
+  <li>
+    The Armv8-R architecture is now supported.  It can be used by specifying the
+    <code>-march=armv8-r</code> option.
+  </li>
+  <li>
+    The Armv8.3-A architecture is now supported.  It can be used by
+    specifying the <code>-march=armv8.3-a</code> option.
+  </li>
+  <li>
+    The Armv8.4-A architecture is now supported.  It can be used by
+    specifying the <code>-march=armv8.4-a</code> option.
+  </li>
+  <li>
+     The Dot Product instructions are now supported as an optional extension to the
+     Armv8.2-A architecture and newer and are mandatory on Armv8.4-A.  The extension can be used by
+     specifying the <code>+dotprod</code> architecture extension.  E.g. <code>-march=armv8.2-a+dotprod</code>.
+  </li>
+
+  <li>
+    Support for setting extensions and architectures using the GCC target pragma and attribute has been added.
+    It can be used by specifying <code>#pragma GCC target ("arch=...")</code>, <code>#pragma GCC target ("+extension")</code>,
+    <code>__attribute__((target("arch=...")))</code> or <code>__attribute__((target("+extension")))</code>.
+  </li>
+  <li>
+    New Armv8.4-A FP16 Floating Point Multiplication Variant instructions have been added.  These instructions are
+    mandatory in Armv8.4-A but available as an optional extension to Armv8.2-A and Armv8.3-A.  The new extension
+    can be used by specifying the <code>+fp16fml</code> architectural extension on Armv8.2-A and Armv8.3-A. On Armv8.4-A
+    the instructions can be enabled by specifying <code>+fp16</code>.
+  </li>
+  <li>
+       Support has been added for the following processors
+       (GCC identifiers in parentheses):
+       <ul>
+	 <li>Arm Cortex-A75 (<code>cortex-a75</code>).</li>
+	 <li>Arm Cortex-A55 (<code>cortex-a55</code>).</li>
+	 <li>Arm Cortex-A55/Cortex-A75 DynamIQ big.LITTLE (<code>cortex-a75.cortex-a55</code>).</li>
+	 <li>Arm Cortex-R52 for Armv8-R (<code>cortex-r52</code>).</li>
+       </ul>
+       The GCC identifiers can be used
+       as arguments to the <code>-mcpu</code> or <code>-mtune</code> options,
+       for example: <code>-mcpu=cortex-a75</code> or
+       <code>-mtune=xgene1</code> or as arguments to the equivalent target
+       attributes and pragmas.
+  </li>
 </ul>
 
 <h3 id="avr">AVR</h3>


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

* Re: [PATCH][WWWDOCS][AArch64][ARM] Update GCC 8 release notes
  2018-01-16 10:10 [PATCH][WWWDOCS][AArch64][ARM] Update GCC 8 release notes Tamar Christina
@ 2018-01-16 11:40 ` Kyrill Tkachov
  2018-01-16 14:31   ` Tamar Christina
  0 siblings, 1 reply; 10+ messages in thread
From: Kyrill Tkachov @ 2018-01-16 11:40 UTC (permalink / raw)
  To: Tamar Christina, gcc-patches
  Cc: nd, James Greenhalgh, Richard Earnshaw, Marcus Shawcroft,
	Ramana Radhakrishnan, nickc, gerald

Hi Tamar,

On 16/01/18 10:04, Tamar Christina wrote:
> Hi All,
>
> This patch updates the GCC 8 release notes for ARM and AArch64.
>
> Ok for cvs?
>
> Thanks,
> Tamar
>
> -- 
<snip>

+  </li>
+  <li>
+    New Armv8.4-A FP16 Floating Point Multiplication Variant instructions have been added.  These instructions are
+    mandatory in Armv8.4-A but available as an optional extension to Armv8.2-A and Armv8.3-A.  The new extension
+    can be used by specifying the <code>+fp16fml</code> architectural extension on Armv8.2-A and Armv8.3-A. On Armv8.4-A
+    the instructions can be enabled by specifying <code>+fp16</code>.
+  </li>
+  <li>
+       Support has been added for the following processors
+       (GCC identifiers in parentheses):
+       <ul>
+	 <li>Arm Cortex-A75 (<code>cortex-a75</code>).</li>
+	 <li>Arm Cortex-A55 (<code>cortex-a55</code>).</li>
+	 <li>Arm Cortex-A55/Cortex-A75 DynamIQ big.LITTLE (<code>cortex-a75.cortex-a55</code>).</li>
+	 <li>Arm Cortex-R52 for Armv8-R (<code>cortex-r52</code>).</li>
+       </ul>
+       The GCC identifiers can be used
+       as arguments to the <code>-mcpu</code> or <code>-mtune</code> options,
+       for example: <code>-mcpu=cortex-a75</code> or
+       <code>-mtune=xgene1</code> or as arguments to the equivalent target

xgene1 was added a few releases ago, better to use one of the new additions from the above list.
For example -mtune=cortex-r52.

With that nit the arm changes look ok to me.
Thanks for compiling this!
Kyrill

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

* Re: [PATCH][WWWDOCS][AArch64][ARM] Update GCC 8 release notes
  2018-01-16 11:40 ` Kyrill Tkachov
@ 2018-01-16 14:31   ` Tamar Christina
  2018-01-16 16:56     ` James Greenhalgh
  0 siblings, 1 reply; 10+ messages in thread
From: Tamar Christina @ 2018-01-16 14:31 UTC (permalink / raw)
  To: Kyrill Tkachov
  Cc: gcc-patches, nd, James Greenhalgh, Richard Earnshaw,
	Marcus Shawcroft, Ramana Radhakrishnan, nickc, gerald

[-- Attachment #1: Type: text/plain, Size: 364 bytes --]

Hi Kyrill,

> 
> xgene1 was added a few releases ago, better to use one of the new additions from the above list.
> For example -mtune=cortex-r52.

Thanks, I have updated the patch. I'll wait for an ok from an AArch64 maintainer and a Docs maintainer.

> 
> With that nit the arm changes look ok to me.
> Thanks for compiling this!
> Kyrill
> 

Cheers,
Tamar

-- 

[-- Attachment #2: rb8523-2.patch --]
[-- Type: text/x-diff, Size: 5737 bytes --]

Index: htdocs/gcc-8/changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-8/changes.html,v
retrieving revision 1.26
diff -u -r1.26 changes.html
--- htdocs/gcc-8/changes.html	11 Jan 2018 09:31:53 -0000	1.26
+++ htdocs/gcc-8/changes.html	16 Jan 2018 14:12:57 -0000
@@ -147,7 +147,51 @@
 
 <h3 id="aarch64">AArch64</h3>
 <ul>
-  <li></li>
+  <li>
+    The Armv8.4-A architecture is now supported.  It can be used by
+    specifying the <code>-march=armv8.4-a</code> option.
+  </li>
+  <li>
+    The Dot Product instructions are now supported as an optional extension to the
+    Armv8.2-A architecture and newer and are mandatory on Armv8.4-A.  The extension can be used by
+    specifying the <code>+dotprod</code> architecture extension.  E.g. <code>-march=armv8.2-a+dotprod</code>.
+  </li>
+  <li>
+    The Armv8-A <code>+crypto</code> extension has now been split into two extensions for finer grained control:
+    <ul>
+       <li><code>+aes</code> which contains the Armv8-A AES crytographic instructions.</li>
+       <li><code>+sha2</code> which contains the Armv8-A SHA2 and SHA1 cryptographic instructions.</li>
+    </ul>
+    Using <code>+crypto<code> will now enable these two extensions.
+  </li>
+  <li>
+    New Armv8.4-A FP16 Floating Point Multiplication Variant instructions have been added.  These instructions are
+    mandatory in Armv8.4-A but available as an optional extension to Armv8.2-A and Armv8.3-A.  The new extension
+    can be used by specifying the <code>+fp16fml</code> architectural extension on Armv8.2-A and Armv8.3-A. On Armv8.4-A
+    the instructions can be enabled by specifying <code>+fp16</code>.
+  </li>
+  <li>
+    New cryptographic instructions have been added as optional extensions to Armv8.2-A and newer.  These instructions can
+    be enabled with:
+    <ul>
+      <li><code>+sha3</code> New SHA3 and SHA2 instructions from Armv8.4-A.  This implies <code>+sha2</code>.
+      <li><code>+sm4</code> New SM3 and SM4 instructions from Armv8.4-A.
+    </ul>
+ </li>
+  <li>
+       Support has been added for the following processors
+       (GCC identifiers in parentheses):
+       <ul>
+         <li>Arm Cortex-A75 (<code>cortex-a75</code>).</li>
+	 <li>Arm Cortex-A55 (<code>cortex-a55</code>).</li>
+	 <li>Arm Cortex-A55/Cortex-A75 DynamIQ big.LITTLE (<code>cortex-a75.cortex-a55</code>).</li>
+       </ul>
+       The GCC identifiers can be used
+       as arguments to the <code>-mcpu</code> or <code>-mtune</code> options,
+       for example: <code>-mcpu=cortex-a75</code> or
+       <code>-mtune=thunderx2t99p1</code> or as arguments to the equivalent target
+       attributes and pragmas.
+  </li>
 </ul>
 
 <h3 id="arm">ARM</h3>
@@ -169,14 +213,58 @@
     removed in a future release.
   </li>
   <li>
-    The default link behavior for ARMv6 and ARMv7-R targets has been
+    The default link behavior for Armv6 and Armv7-R targets has been
     changed to produce BE8 format when generating big-endian images.  A new
     flag <code>-mbe32</code> can be used to force the linker to produce
     legacy BE32 format images.  There is no change of behavior for
-    ARMv6-m and other ARMv7 or later targets: these already defaulted
+    Armv6-M and other Armv7 or later targets: these already defaulted
     to BE8 format.  This change brings GCC into alignment with other
     compilers for the ARM architecture.
   </li>
+  <li>
+    The Armv8-R architecture is now supported.  It can be used by specifying the
+    <code>-march=armv8-r</code> option.
+  </li>
+  <li>
+    The Armv8.3-A architecture is now supported.  It can be used by
+    specifying the <code>-march=armv8.3-a</code> option.
+  </li>
+  <li>
+    The Armv8.4-A architecture is now supported.  It can be used by
+    specifying the <code>-march=armv8.4-a</code> option.
+  </li>
+  <li>
+     The Dot Product instructions are now supported as an optional extension to the
+     Armv8.2-A architecture and newer and are mandatory on Armv8.4-A.  The extension can be used by
+     specifying the <code>+dotprod</code> architecture extension.  E.g. <code>-march=armv8.2-a+dotprod</code>.
+  </li>
+
+  <li>
+    Support for setting extensions and architectures using the GCC target pragma and attribute has been added.
+    It can be used by specifying <code>#pragma GCC target ("arch=...")</code>, <code>#pragma GCC target ("+extension")</code>,
+    <code>__attribute__((target("arch=...")))</code> or <code>__attribute__((target("+extension")))</code>.
+  </li>
+  <li>
+    New Armv8.4-A FP16 Floating Point Multiplication Variant instructions have been added.  These instructions are
+    mandatory in Armv8.4-A but available as an optional extension to Armv8.2-A and Armv8.3-A.  The new extension
+    can be used by specifying the <code>+fp16fml</code> architectural extension on Armv8.2-A and Armv8.3-A. On Armv8.4-A
+    the instructions can be enabled by specifying <code>+fp16</code>.
+  </li>
+  <li>
+       Support has been added for the following processors
+       (GCC identifiers in parentheses):
+       <ul>
+	 <li>Arm Cortex-A75 (<code>cortex-a75</code>).</li>
+	 <li>Arm Cortex-A55 (<code>cortex-a55</code>).</li>
+	 <li>Arm Cortex-A55/Cortex-A75 DynamIQ big.LITTLE (<code>cortex-a75.cortex-a55</code>).</li>
+	 <li>Arm Cortex-R52 for Armv8-R (<code>cortex-r52</code>).</li>
+       </ul>
+       The GCC identifiers can be used
+       as arguments to the <code>-mcpu</code> or <code>-mtune</code> options,
+       for example: <code>-mcpu=cortex-a75</code> or
+       <code>-mtune=cortex-r52</code> or as arguments to the equivalent target
+       attributes and pragmas.
+  </li>
 </ul>
 
 <h3 id="avr">AVR</h3>


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

* Re: [PATCH][WWWDOCS][AArch64][ARM] Update GCC 8 release notes
  2018-01-16 14:31   ` Tamar Christina
@ 2018-01-16 16:56     ` James Greenhalgh
  2018-01-16 17:00       ` Tamar Christina
  0 siblings, 1 reply; 10+ messages in thread
From: James Greenhalgh @ 2018-01-16 16:56 UTC (permalink / raw)
  To: Tamar Christina
  Cc: Kyrill Tkachov, gcc-patches, nd, Richard Earnshaw,
	Marcus Shawcroft, Ramana Radhakrishnan, nickc, gerald

On Tue, Jan 16, 2018 at 02:21:30PM +0000, Tamar Christina wrote:
> Hi Kyrill,
> 
> > 
> > xgene1 was added a few releases ago, better to use one of the new additions from the above list.
> > For example -mtune=cortex-r52.
> 
> Thanks, I have updated the patch. I'll wait for an ok from an AArch64 maintainer and a Docs maintainer.

OK. But you have the same issue in the AArch64 part.

James

> Index: htdocs/gcc-8/changes.html
> ===================================================================
> RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-8/changes.html,v
> retrieving revision 1.26
> diff -u -r1.26 changes.html
> --- htdocs/gcc-8/changes.html	11 Jan 2018 09:31:53 -0000	1.26
> +++ htdocs/gcc-8/changes.html	16 Jan 2018 14:12:57 -0000
> @@ -147,7 +147,51 @@
>  
>  <h3 id="aarch64">AArch64</h3>
>  <ul>
> -  <li></li>
> +  <li>
> +    The Armv8.4-A architecture is now supported.  It can be used by
> +    specifying the <code>-march=armv8.4-a</code> option.
> +  </li>
> +  <li>
> +    The Dot Product instructions are now supported as an optional extension to the
> +    Armv8.2-A architecture and newer and are mandatory on Armv8.4-A.  The extension can be used by
> +    specifying the <code>+dotprod</code> architecture extension.  E.g. <code>-march=armv8.2-a+dotprod</code>.
> +  </li>
> +  <li>
> +    The Armv8-A <code>+crypto</code> extension has now been split into two extensions for finer grained control:
> +    <ul>
> +       <li><code>+aes</code> which contains the Armv8-A AES crytographic instructions.</li>
> +       <li><code>+sha2</code> which contains the Armv8-A SHA2 and SHA1 cryptographic instructions.</li>
> +    </ul>
> +    Using <code>+crypto<code> will now enable these two extensions.
> +  </li>
> +  <li>
> +    New Armv8.4-A FP16 Floating Point Multiplication Variant instructions have been added.  These instructions are
> +    mandatory in Armv8.4-A but available as an optional extension to Armv8.2-A and Armv8.3-A.  The new extension
> +    can be used by specifying the <code>+fp16fml</code> architectural extension on Armv8.2-A and Armv8.3-A. On Armv8.4-A
> +    the instructions can be enabled by specifying <code>+fp16</code>.
> +  </li>
> +  <li>
> +    New cryptographic instructions have been added as optional extensions to Armv8.2-A and newer.  These instructions can
> +    be enabled with:
> +    <ul>
> +      <li><code>+sha3</code> New SHA3 and SHA2 instructions from Armv8.4-A.  This implies <code>+sha2</code>.
> +      <li><code>+sm4</code> New SM3 and SM4 instructions from Armv8.4-A.
> +    </ul>
> + </li>
> +  <li>
> +       Support has been added for the following processors
> +       (GCC identifiers in parentheses):
> +       <ul>
> +         <li>Arm Cortex-A75 (<code>cortex-a75</code>).</li>
> +	 <li>Arm Cortex-A55 (<code>cortex-a55</code>).</li>
> +	 <li>Arm Cortex-A55/Cortex-A75 DynamIQ big.LITTLE (<code>cortex-a75.cortex-a55</code>).</li>
> +       </ul>
> +       The GCC identifiers can be used
> +       as arguments to the <code>-mcpu</code> or <code>-mtune</code> options,
> +       for example: <code>-mcpu=cortex-a75</code> or
> +       <code>-mtune=thunderx2t99p1</code> or as arguments to the equivalent target
> +       attributes and pragmas.
> +  </li>
>  </ul>
>  
>  <h3 id="arm">ARM</h3>
> @@ -169,14 +213,58 @@
>      removed in a future release.
>    </li>
>    <li>
> -    The default link behavior for ARMv6 and ARMv7-R targets has been
> +    The default link behavior for Armv6 and Armv7-R targets has been
>      changed to produce BE8 format when generating big-endian images.  A new
>      flag <code>-mbe32</code> can be used to force the linker to produce
>      legacy BE32 format images.  There is no change of behavior for
> -    ARMv6-m and other ARMv7 or later targets: these already defaulted
> +    Armv6-M and other Armv7 or later targets: these already defaulted
>      to BE8 format.  This change brings GCC into alignment with other
>      compilers for the ARM architecture.
>    </li>
> +  <li>
> +    The Armv8-R architecture is now supported.  It can be used by specifying the
> +    <code>-march=armv8-r</code> option.
> +  </li>
> +  <li>
> +    The Armv8.3-A architecture is now supported.  It can be used by
> +    specifying the <code>-march=armv8.3-a</code> option.
> +  </li>
> +  <li>
> +    The Armv8.4-A architecture is now supported.  It can be used by
> +    specifying the <code>-march=armv8.4-a</code> option.
> +  </li>
> +  <li>
> +     The Dot Product instructions are now supported as an optional extension to the
> +     Armv8.2-A architecture and newer and are mandatory on Armv8.4-A.  The extension can be used by
> +     specifying the <code>+dotprod</code> architecture extension.  E.g. <code>-march=armv8.2-a+dotprod</code>.
> +  </li>
> +
> +  <li>
> +    Support for setting extensions and architectures using the GCC target pragma and attribute has been added.
> +    It can be used by specifying <code>#pragma GCC target ("arch=...")</code>, <code>#pragma GCC target ("+extension")</code>,
> +    <code>__attribute__((target("arch=...")))</code> or <code>__attribute__((target("+extension")))</code>.
> +  </li>
> +  <li>
> +    New Armv8.4-A FP16 Floating Point Multiplication Variant instructions have been added.  These instructions are
> +    mandatory in Armv8.4-A but available as an optional extension to Armv8.2-A and Armv8.3-A.  The new extension
> +    can be used by specifying the <code>+fp16fml</code> architectural extension on Armv8.2-A and Armv8.3-A. On Armv8.4-A
> +    the instructions can be enabled by specifying <code>+fp16</code>.
> +  </li>
> +  <li>
> +       Support has been added for the following processors
> +       (GCC identifiers in parentheses):
> +       <ul>
> +	 <li>Arm Cortex-A75 (<code>cortex-a75</code>).</li>
> +	 <li>Arm Cortex-A55 (<code>cortex-a55</code>).</li>
> +	 <li>Arm Cortex-A55/Cortex-A75 DynamIQ big.LITTLE (<code>cortex-a75.cortex-a55</code>).</li>
> +	 <li>Arm Cortex-R52 for Armv8-R (<code>cortex-r52</code>).</li>
> +       </ul>
> +       The GCC identifiers can be used
> +       as arguments to the <code>-mcpu</code> or <code>-mtune</code> options,
> +       for example: <code>-mcpu=cortex-a75</code> or
> +       <code>-mtune=cortex-r52</code> or as arguments to the equivalent target
> +       attributes and pragmas.
> +  </li>
>  </ul>
>  
>  <h3 id="avr">AVR</h3>
> 

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

* Re: [PATCH][WWWDOCS][AArch64][ARM] Update GCC 8 release notes
  2018-01-16 16:56     ` James Greenhalgh
@ 2018-01-16 17:00       ` Tamar Christina
  2018-01-16 17:01         ` Tamar Christina
  2018-01-16 17:45         ` Kyrill Tkachov
  0 siblings, 2 replies; 10+ messages in thread
From: Tamar Christina @ 2018-01-16 17:00 UTC (permalink / raw)
  To: James Greenhalgh
  Cc: Kyrill Tkachov, gcc-patches, nd, Richard Earnshaw,
	Marcus Shawcroft, Ramana Radhakrishnan, nickc, gerald

Th 01/16/2018 16:36, James Greenhalgh wrote:
> On Tue, Jan 16, 2018 at 02:21:30PM +0000, Tamar Christina wrote:
> > Hi Kyrill,
> > 
> > > 
> > > xgene1 was added a few releases ago, better to use one of the new additions from the above list.
> > > For example -mtune=cortex-r52.
> > 
> > Thanks, I have updated the patch. I'll wait for an ok from an AArch64 maintainer and a Docs maintainer.
> 
> OK. But you have the same issue in the AArch64 part.

Thanks, I've updated the patch, I'll wait for a bit for a doc reviewer if I don't hear anything I'll assume
the patch is OK.

Thanks,
Tamar
> 
> James
> 
> > Index: htdocs/gcc-8/changes.html
> > ===================================================================
> > RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-8/changes.html,v
> > retrieving revision 1.26
> > diff -u -r1.26 changes.html
> > --- htdocs/gcc-8/changes.html	11 Jan 2018 09:31:53 -0000	1.26
> > +++ htdocs/gcc-8/changes.html	16 Jan 2018 14:12:57 -0000
> > @@ -147,7 +147,51 @@
> >  
> >  <h3 id="aarch64">AArch64</h3>
> >  <ul>
> > -  <li></li>
> > +  <li>
> > +    The Armv8.4-A architecture is now supported.  It can be used by
> > +    specifying the <code>-march=armv8.4-a</code> option.
> > +  </li>
> > +  <li>
> > +    The Dot Product instructions are now supported as an optional extension to the
> > +    Armv8.2-A architecture and newer and are mandatory on Armv8.4-A.  The extension can be used by
> > +    specifying the <code>+dotprod</code> architecture extension.  E.g. <code>-march=armv8.2-a+dotprod</code>.
> > +  </li>
> > +  <li>
> > +    The Armv8-A <code>+crypto</code> extension has now been split into two extensions for finer grained control:
> > +    <ul>
> > +       <li><code>+aes</code> which contains the Armv8-A AES crytographic instructions.</li>
> > +       <li><code>+sha2</code> which contains the Armv8-A SHA2 and SHA1 cryptographic instructions.</li>
> > +    </ul>
> > +    Using <code>+crypto<code> will now enable these two extensions.
> > +  </li>
> > +  <li>
> > +    New Armv8.4-A FP16 Floating Point Multiplication Variant instructions have been added.  These instructions are
> > +    mandatory in Armv8.4-A but available as an optional extension to Armv8.2-A and Armv8.3-A.  The new extension
> > +    can be used by specifying the <code>+fp16fml</code> architectural extension on Armv8.2-A and Armv8.3-A. On Armv8.4-A
> > +    the instructions can be enabled by specifying <code>+fp16</code>.
> > +  </li>
> > +  <li>
> > +    New cryptographic instructions have been added as optional extensions to Armv8.2-A and newer.  These instructions can
> > +    be enabled with:
> > +    <ul>
> > +      <li><code>+sha3</code> New SHA3 and SHA2 instructions from Armv8.4-A.  This implies <code>+sha2</code>.
> > +      <li><code>+sm4</code> New SM3 and SM4 instructions from Armv8.4-A.
> > +    </ul>
> > + </li>
> > +  <li>
> > +       Support has been added for the following processors
> > +       (GCC identifiers in parentheses):
> > +       <ul>
> > +         <li>Arm Cortex-A75 (<code>cortex-a75</code>).</li>
> > +	 <li>Arm Cortex-A55 (<code>cortex-a55</code>).</li>
> > +	 <li>Arm Cortex-A55/Cortex-A75 DynamIQ big.LITTLE (<code>cortex-a75.cortex-a55</code>).</li>
> > +       </ul>
> > +       The GCC identifiers can be used
> > +       as arguments to the <code>-mcpu</code> or <code>-mtune</code> options,
> > +       for example: <code>-mcpu=cortex-a75</code> or
> > +       <code>-mtune=thunderx2t99p1</code> or as arguments to the equivalent target
> > +       attributes and pragmas.
> > +  </li>
> >  </ul>
> >  
> >  <h3 id="arm">ARM</h3>
> > @@ -169,14 +213,58 @@
> >      removed in a future release.
> >    </li>
> >    <li>
> > -    The default link behavior for ARMv6 and ARMv7-R targets has been
> > +    The default link behavior for Armv6 and Armv7-R targets has been
> >      changed to produce BE8 format when generating big-endian images.  A new
> >      flag <code>-mbe32</code> can be used to force the linker to produce
> >      legacy BE32 format images.  There is no change of behavior for
> > -    ARMv6-m and other ARMv7 or later targets: these already defaulted
> > +    Armv6-M and other Armv7 or later targets: these already defaulted
> >      to BE8 format.  This change brings GCC into alignment with other
> >      compilers for the ARM architecture.
> >    </li>
> > +  <li>
> > +    The Armv8-R architecture is now supported.  It can be used by specifying the
> > +    <code>-march=armv8-r</code> option.
> > +  </li>
> > +  <li>
> > +    The Armv8.3-A architecture is now supported.  It can be used by
> > +    specifying the <code>-march=armv8.3-a</code> option.
> > +  </li>
> > +  <li>
> > +    The Armv8.4-A architecture is now supported.  It can be used by
> > +    specifying the <code>-march=armv8.4-a</code> option.
> > +  </li>
> > +  <li>
> > +     The Dot Product instructions are now supported as an optional extension to the
> > +     Armv8.2-A architecture and newer and are mandatory on Armv8.4-A.  The extension can be used by
> > +     specifying the <code>+dotprod</code> architecture extension.  E.g. <code>-march=armv8.2-a+dotprod</code>.
> > +  </li>
> > +
> > +  <li>
> > +    Support for setting extensions and architectures using the GCC target pragma and attribute has been added.
> > +    It can be used by specifying <code>#pragma GCC target ("arch=...")</code>, <code>#pragma GCC target ("+extension")</code>,
> > +    <code>__attribute__((target("arch=...")))</code> or <code>__attribute__((target("+extension")))</code>.
> > +  </li>
> > +  <li>
> > +    New Armv8.4-A FP16 Floating Point Multiplication Variant instructions have been added.  These instructions are
> > +    mandatory in Armv8.4-A but available as an optional extension to Armv8.2-A and Armv8.3-A.  The new extension
> > +    can be used by specifying the <code>+fp16fml</code> architectural extension on Armv8.2-A and Armv8.3-A. On Armv8.4-A
> > +    the instructions can be enabled by specifying <code>+fp16</code>.
> > +  </li>
> > +  <li>
> > +       Support has been added for the following processors
> > +       (GCC identifiers in parentheses):
> > +       <ul>
> > +	 <li>Arm Cortex-A75 (<code>cortex-a75</code>).</li>
> > +	 <li>Arm Cortex-A55 (<code>cortex-a55</code>).</li>
> > +	 <li>Arm Cortex-A55/Cortex-A75 DynamIQ big.LITTLE (<code>cortex-a75.cortex-a55</code>).</li>
> > +	 <li>Arm Cortex-R52 for Armv8-R (<code>cortex-r52</code>).</li>
> > +       </ul>
> > +       The GCC identifiers can be used
> > +       as arguments to the <code>-mcpu</code> or <code>-mtune</code> options,
> > +       for example: <code>-mcpu=cortex-a75</code> or
> > +       <code>-mtune=cortex-r52</code> or as arguments to the equivalent target
> > +       attributes and pragmas.
> > +  </li>
> >  </ul>
> >  
> >  <h3 id="avr">AVR</h3>
> > 
> 

-- 

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

* Re: [PATCH][WWWDOCS][AArch64][ARM] Update GCC 8 release notes
  2018-01-16 17:00       ` Tamar Christina
@ 2018-01-16 17:01         ` Tamar Christina
  2018-04-01 20:57           ` Gerald Pfeifer
  2018-01-16 17:45         ` Kyrill Tkachov
  1 sibling, 1 reply; 10+ messages in thread
From: Tamar Christina @ 2018-01-16 17:01 UTC (permalink / raw)
  To: James Greenhalgh
  Cc: Kyrill Tkachov, gcc-patches, nd, Richard Earnshaw,
	Marcus Shawcroft, Ramana Radhakrishnan, nickc, gerald

[-- Attachment #1: Type: text/plain, Size: 7217 bytes --]

I seem to have forgotten the patch :)

The 01/16/2018 16:56, Tamar Christina wrote:
> Th 01/16/2018 16:36, James Greenhalgh wrote:
> > On Tue, Jan 16, 2018 at 02:21:30PM +0000, Tamar Christina wrote:
> > > Hi Kyrill,
> > > 
> > > > 
> > > > xgene1 was added a few releases ago, better to use one of the new additions from the above list.
> > > > For example -mtune=cortex-r52.
> > > 
> > > Thanks, I have updated the patch. I'll wait for an ok from an AArch64 maintainer and a Docs maintainer.
> > 
> > OK. But you have the same issue in the AArch64 part.
> 
> Thanks, I've updated the patch, I'll wait for a bit for a doc reviewer if I don't hear anything I'll assume
> the patch is OK.
> 
> Thanks,
> Tamar
> > 
> > James
> > 
> > > Index: htdocs/gcc-8/changes.html
> > > ===================================================================
> > > RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-8/changes.html,v
> > > retrieving revision 1.26
> > > diff -u -r1.26 changes.html
> > > --- htdocs/gcc-8/changes.html	11 Jan 2018 09:31:53 -0000	1.26
> > > +++ htdocs/gcc-8/changes.html	16 Jan 2018 14:12:57 -0000
> > > @@ -147,7 +147,51 @@
> > >  
> > >  <h3 id="aarch64">AArch64</h3>
> > >  <ul>
> > > -  <li></li>
> > > +  <li>
> > > +    The Armv8.4-A architecture is now supported.  It can be used by
> > > +    specifying the <code>-march=armv8.4-a</code> option.
> > > +  </li>
> > > +  <li>
> > > +    The Dot Product instructions are now supported as an optional extension to the
> > > +    Armv8.2-A architecture and newer and are mandatory on Armv8.4-A.  The extension can be used by
> > > +    specifying the <code>+dotprod</code> architecture extension.  E.g. <code>-march=armv8.2-a+dotprod</code>.
> > > +  </li>
> > > +  <li>
> > > +    The Armv8-A <code>+crypto</code> extension has now been split into two extensions for finer grained control:
> > > +    <ul>
> > > +       <li><code>+aes</code> which contains the Armv8-A AES crytographic instructions.</li>
> > > +       <li><code>+sha2</code> which contains the Armv8-A SHA2 and SHA1 cryptographic instructions.</li>
> > > +    </ul>
> > > +    Using <code>+crypto<code> will now enable these two extensions.
> > > +  </li>
> > > +  <li>
> > > +    New Armv8.4-A FP16 Floating Point Multiplication Variant instructions have been added.  These instructions are
> > > +    mandatory in Armv8.4-A but available as an optional extension to Armv8.2-A and Armv8.3-A.  The new extension
> > > +    can be used by specifying the <code>+fp16fml</code> architectural extension on Armv8.2-A and Armv8.3-A. On Armv8.4-A
> > > +    the instructions can be enabled by specifying <code>+fp16</code>.
> > > +  </li>
> > > +  <li>
> > > +    New cryptographic instructions have been added as optional extensions to Armv8.2-A and newer.  These instructions can
> > > +    be enabled with:
> > > +    <ul>
> > > +      <li><code>+sha3</code> New SHA3 and SHA2 instructions from Armv8.4-A.  This implies <code>+sha2</code>.
> > > +      <li><code>+sm4</code> New SM3 and SM4 instructions from Armv8.4-A.
> > > +    </ul>
> > > + </li>
> > > +  <li>
> > > +       Support has been added for the following processors
> > > +       (GCC identifiers in parentheses):
> > > +       <ul>
> > > +         <li>Arm Cortex-A75 (<code>cortex-a75</code>).</li>
> > > +	 <li>Arm Cortex-A55 (<code>cortex-a55</code>).</li>
> > > +	 <li>Arm Cortex-A55/Cortex-A75 DynamIQ big.LITTLE (<code>cortex-a75.cortex-a55</code>).</li>
> > > +       </ul>
> > > +       The GCC identifiers can be used
> > > +       as arguments to the <code>-mcpu</code> or <code>-mtune</code> options,
> > > +       for example: <code>-mcpu=cortex-a75</code> or
> > > +       <code>-mtune=thunderx2t99p1</code> or as arguments to the equivalent target
> > > +       attributes and pragmas.
> > > +  </li>
> > >  </ul>
> > >  
> > >  <h3 id="arm">ARM</h3>
> > > @@ -169,14 +213,58 @@
> > >      removed in a future release.
> > >    </li>
> > >    <li>
> > > -    The default link behavior for ARMv6 and ARMv7-R targets has been
> > > +    The default link behavior for Armv6 and Armv7-R targets has been
> > >      changed to produce BE8 format when generating big-endian images.  A new
> > >      flag <code>-mbe32</code> can be used to force the linker to produce
> > >      legacy BE32 format images.  There is no change of behavior for
> > > -    ARMv6-m and other ARMv7 or later targets: these already defaulted
> > > +    Armv6-M and other Armv7 or later targets: these already defaulted
> > >      to BE8 format.  This change brings GCC into alignment with other
> > >      compilers for the ARM architecture.
> > >    </li>
> > > +  <li>
> > > +    The Armv8-R architecture is now supported.  It can be used by specifying the
> > > +    <code>-march=armv8-r</code> option.
> > > +  </li>
> > > +  <li>
> > > +    The Armv8.3-A architecture is now supported.  It can be used by
> > > +    specifying the <code>-march=armv8.3-a</code> option.
> > > +  </li>
> > > +  <li>
> > > +    The Armv8.4-A architecture is now supported.  It can be used by
> > > +    specifying the <code>-march=armv8.4-a</code> option.
> > > +  </li>
> > > +  <li>
> > > +     The Dot Product instructions are now supported as an optional extension to the
> > > +     Armv8.2-A architecture and newer and are mandatory on Armv8.4-A.  The extension can be used by
> > > +     specifying the <code>+dotprod</code> architecture extension.  E.g. <code>-march=armv8.2-a+dotprod</code>.
> > > +  </li>
> > > +
> > > +  <li>
> > > +    Support for setting extensions and architectures using the GCC target pragma and attribute has been added.
> > > +    It can be used by specifying <code>#pragma GCC target ("arch=...")</code>, <code>#pragma GCC target ("+extension")</code>,
> > > +    <code>__attribute__((target("arch=...")))</code> or <code>__attribute__((target("+extension")))</code>.
> > > +  </li>
> > > +  <li>
> > > +    New Armv8.4-A FP16 Floating Point Multiplication Variant instructions have been added.  These instructions are
> > > +    mandatory in Armv8.4-A but available as an optional extension to Armv8.2-A and Armv8.3-A.  The new extension
> > > +    can be used by specifying the <code>+fp16fml</code> architectural extension on Armv8.2-A and Armv8.3-A. On Armv8.4-A
> > > +    the instructions can be enabled by specifying <code>+fp16</code>.
> > > +  </li>
> > > +  <li>
> > > +       Support has been added for the following processors
> > > +       (GCC identifiers in parentheses):
> > > +       <ul>
> > > +	 <li>Arm Cortex-A75 (<code>cortex-a75</code>).</li>
> > > +	 <li>Arm Cortex-A55 (<code>cortex-a55</code>).</li>
> > > +	 <li>Arm Cortex-A55/Cortex-A75 DynamIQ big.LITTLE (<code>cortex-a75.cortex-a55</code>).</li>
> > > +	 <li>Arm Cortex-R52 for Armv8-R (<code>cortex-r52</code>).</li>
> > > +       </ul>
> > > +       The GCC identifiers can be used
> > > +       as arguments to the <code>-mcpu</code> or <code>-mtune</code> options,
> > > +       for example: <code>-mcpu=cortex-a75</code> or
> > > +       <code>-mtune=cortex-r52</code> or as arguments to the equivalent target
> > > +       attributes and pragmas.
> > > +  </li>
> > >  </ul>
> > >  
> > >  <h3 id="avr">AVR</h3>
> > > 
> > 
> 
> -- 

-- 

[-- Attachment #2: rb8523-3.patch --]
[-- Type: text/x-diff, Size: 5733 bytes --]

Index: htdocs/gcc-8/changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-8/changes.html,v
retrieving revision 1.26
diff -u -r1.26 changes.html
--- htdocs/gcc-8/changes.html	11 Jan 2018 09:31:53 -0000	1.26
+++ htdocs/gcc-8/changes.html	16 Jan 2018 16:53:58 -0000
@@ -147,7 +147,51 @@
 
 <h3 id="aarch64">AArch64</h3>
 <ul>
-  <li></li>
+  <li>
+    The Armv8.4-A architecture is now supported.  It can be used by
+    specifying the <code>-march=armv8.4-a</code> option.
+  </li>
+  <li>
+    The Dot Product instructions are now supported as an optional extension to the
+    Armv8.2-A architecture and newer and are mandatory on Armv8.4-A.  The extension can be used by
+    specifying the <code>+dotprod</code> architecture extension.  E.g. <code>-march=armv8.2-a+dotprod</code>.
+  </li>
+  <li>
+    The Armv8-A <code>+crypto</code> extension has now been split into two extensions for finer grained control:
+    <ul>
+       <li><code>+aes</code> which contains the Armv8-A AES crytographic instructions.</li>
+       <li><code>+sha2</code> which contains the Armv8-A SHA2 and SHA1 cryptographic instructions.</li>
+    </ul>
+    Using <code>+crypto<code> will now enable these two extensions.
+  </li>
+  <li>
+    New Armv8.4-A FP16 Floating Point Multiplication Variant instructions have been added.  These instructions are
+    mandatory in Armv8.4-A but available as an optional extension to Armv8.2-A and Armv8.3-A.  The new extension
+    can be used by specifying the <code>+fp16fml</code> architectural extension on Armv8.2-A and Armv8.3-A. On Armv8.4-A
+    the instructions can be enabled by specifying <code>+fp16</code>.
+  </li>
+  <li>
+    New cryptographic instructions have been added as optional extensions to Armv8.2-A and newer.  These instructions can
+    be enabled with:
+    <ul>
+      <li><code>+sha3</code> New SHA3 and SHA2 instructions from Armv8.4-A.  This implies <code>+sha2</code>.
+      <li><code>+sm4</code> New SM3 and SM4 instructions from Armv8.4-A.
+    </ul>
+ </li>
+  <li>
+       Support has been added for the following processors
+       (GCC identifiers in parentheses):
+       <ul>
+         <li>Arm Cortex-A75 (<code>cortex-a75</code>).</li>
+	 <li>Arm Cortex-A55 (<code>cortex-a55</code>).</li>
+	 <li>Arm Cortex-A55/Cortex-A75 DynamIQ big.LITTLE (<code>cortex-a75.cortex-a55</code>).</li>
+       </ul>
+       The GCC identifiers can be used
+       as arguments to the <code>-mcpu</code> or <code>-mtune</code> options,
+       for example: <code>-mcpu=cortex-a75</code> or
+       <code>-mtune=cortex-a75</code> or as arguments to the equivalent target
+       attributes and pragmas.
+  </li>
 </ul>
 
 <h3 id="arm">ARM</h3>
@@ -169,14 +213,58 @@
     removed in a future release.
   </li>
   <li>
-    The default link behavior for ARMv6 and ARMv7-R targets has been
+    The default link behavior for Armv6 and Armv7-R targets has been
     changed to produce BE8 format when generating big-endian images.  A new
     flag <code>-mbe32</code> can be used to force the linker to produce
     legacy BE32 format images.  There is no change of behavior for
-    ARMv6-m and other ARMv7 or later targets: these already defaulted
+    Armv6-M and other Armv7 or later targets: these already defaulted
     to BE8 format.  This change brings GCC into alignment with other
     compilers for the ARM architecture.
   </li>
+  <li>
+    The Armv8-R architecture is now supported.  It can be used by specifying the
+    <code>-march=armv8-r</code> option.
+  </li>
+  <li>
+    The Armv8.3-A architecture is now supported.  It can be used by
+    specifying the <code>-march=armv8.3-a</code> option.
+  </li>
+  <li>
+    The Armv8.4-A architecture is now supported.  It can be used by
+    specifying the <code>-march=armv8.4-a</code> option.
+  </li>
+  <li>
+     The Dot Product instructions are now supported as an optional extension to the
+     Armv8.2-A architecture and newer and are mandatory on Armv8.4-A.  The extension can be used by
+     specifying the <code>+dotprod</code> architecture extension.  E.g. <code>-march=armv8.2-a+dotprod</code>.
+  </li>
+
+  <li>
+    Support for setting extensions and architectures using the GCC target pragma and attribute has been added.
+    It can be used by specifying <code>#pragma GCC target ("arch=...")</code>, <code>#pragma GCC target ("+extension")</code>,
+    <code>__attribute__((target("arch=...")))</code> or <code>__attribute__((target("+extension")))</code>.
+  </li>
+  <li>
+    New Armv8.4-A FP16 Floating Point Multiplication Variant instructions have been added.  These instructions are
+    mandatory in Armv8.4-A but available as an optional extension to Armv8.2-A and Armv8.3-A.  The new extension
+    can be used by specifying the <code>+fp16fml</code> architectural extension on Armv8.2-A and Armv8.3-A. On Armv8.4-A
+    the instructions can be enabled by specifying <code>+fp16</code>.
+  </li>
+  <li>
+       Support has been added for the following processors
+       (GCC identifiers in parentheses):
+       <ul>
+	 <li>Arm Cortex-A75 (<code>cortex-a75</code>).</li>
+	 <li>Arm Cortex-A55 (<code>cortex-a55</code>).</li>
+	 <li>Arm Cortex-A55/Cortex-A75 DynamIQ big.LITTLE (<code>cortex-a75.cortex-a55</code>).</li>
+	 <li>Arm Cortex-R52 for Armv8-R (<code>cortex-r52</code>).</li>
+       </ul>
+       The GCC identifiers can be used
+       as arguments to the <code>-mcpu</code> or <code>-mtune</code> options,
+       for example: <code>-mcpu=cortex-a75</code> or
+       <code>-mtune=cortex-r52</code> or as arguments to the equivalent target
+       attributes and pragmas.
+  </li>
 </ul>
 
 <h3 id="avr">AVR</h3>


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

* Re: [PATCH][WWWDOCS][AArch64][ARM] Update GCC 8 release notes
  2018-01-16 17:00       ` Tamar Christina
  2018-01-16 17:01         ` Tamar Christina
@ 2018-01-16 17:45         ` Kyrill Tkachov
  2018-01-16 18:25           ` Tamar Christina
  1 sibling, 1 reply; 10+ messages in thread
From: Kyrill Tkachov @ 2018-01-16 17:45 UTC (permalink / raw)
  To: Tamar Christina, James Greenhalgh
  Cc: gcc-patches, nd, Richard Earnshaw, Marcus Shawcroft,
	Ramana Radhakrishnan, nickc, gerald

Hi Tamar,

On 16/01/18 16:56, Tamar Christina wrote:
> Th 01/16/2018 16:36, James Greenhalgh wrote:
>> On Tue, Jan 16, 2018 at 02:21:30PM +0000, Tamar Christina wrote:
>>> Hi Kyrill,
>>>
>>>> xgene1 was added a few releases ago, better to use one of the new additions from the above list.
>>>> For example -mtune=cortex-r52.
>>> Thanks, I have updated the patch. I'll wait for an ok from an AArch64 maintainer and a Docs maintainer.
>> OK. But you have the same issue in the AArch64 part.
> Thanks, I've updated the patch, I'll wait for a bit for a doc reviewer if I don't hear anything I'll assume
> the patch is OK.

Gerald has confirmed a few times in the past that port maintainers can approve
target-specific changes to the web pages, and there are words to that effect at:
https://gcc.gnu.org/svnwrite.html .
So I'd recommend you commit your patch once you've got approval for aarch64 and arm.
Unless there's some specific part of the patch you'd like the docs maintainer to give you feedback on...

Thanks again for working on this.
Kyrill

>
> Thanks,
> Tamar
>> James
>>
>>> Index: htdocs/gcc-8/changes.html
>>> ===================================================================
>>> RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-8/changes.html,v
>>> retrieving revision 1.26
>>> diff -u -r1.26 changes.html
>>> --- htdocs/gcc-8/changes.html	11 Jan 2018 09:31:53 -0000	1.26
>>> +++ htdocs/gcc-8/changes.html	16 Jan 2018 14:12:57 -0000
>>> @@ -147,7 +147,51 @@
>>>   
>>>   <h3 id="aarch64">AArch64</h3>
>>>   <ul>
>>> -  <li></li>
>>> +  <li>
>>> +    The Armv8.4-A architecture is now supported.  It can be used by
>>> +    specifying the <code>-march=armv8.4-a</code> option.
>>> +  </li>
>>> +  <li>
>>> +    The Dot Product instructions are now supported as an optional extension to the
>>> +    Armv8.2-A architecture and newer and are mandatory on Armv8.4-A.  The extension can be used by
>>> +    specifying the <code>+dotprod</code> architecture extension.  E.g. <code>-march=armv8.2-a+dotprod</code>.
>>> +  </li>
>>> +  <li>
>>> +    The Armv8-A <code>+crypto</code> extension has now been split into two extensions for finer grained control:
>>> +    <ul>
>>> +       <li><code>+aes</code> which contains the Armv8-A AES crytographic instructions.</li>
>>> +       <li><code>+sha2</code> which contains the Armv8-A SHA2 and SHA1 cryptographic instructions.</li>
>>> +    </ul>
>>> +    Using <code>+crypto<code> will now enable these two extensions.
>>> +  </li>
>>> +  <li>
>>> +    New Armv8.4-A FP16 Floating Point Multiplication Variant instructions have been added.  These instructions are
>>> +    mandatory in Armv8.4-A but available as an optional extension to Armv8.2-A and Armv8.3-A.  The new extension
>>> +    can be used by specifying the <code>+fp16fml</code> architectural extension on Armv8.2-A and Armv8.3-A. On Armv8.4-A
>>> +    the instructions can be enabled by specifying <code>+fp16</code>.
>>> +  </li>
>>> +  <li>
>>> +    New cryptographic instructions have been added as optional extensions to Armv8.2-A and newer.  These instructions can
>>> +    be enabled with:
>>> +    <ul>
>>> +      <li><code>+sha3</code> New SHA3 and SHA2 instructions from Armv8.4-A.  This implies <code>+sha2</code>.
>>> +      <li><code>+sm4</code> New SM3 and SM4 instructions from Armv8.4-A.
>>> +    </ul>
>>> + </li>
>>> +  <li>
>>> +       Support has been added for the following processors
>>> +       (GCC identifiers in parentheses):
>>> +       <ul>
>>> +         <li>Arm Cortex-A75 (<code>cortex-a75</code>).</li>
>>> +	 <li>Arm Cortex-A55 (<code>cortex-a55</code>).</li>
>>> +	 <li>Arm Cortex-A55/Cortex-A75 DynamIQ big.LITTLE (<code>cortex-a75.cortex-a55</code>).</li>
>>> +       </ul>
>>> +       The GCC identifiers can be used
>>> +       as arguments to the <code>-mcpu</code> or <code>-mtune</code> options,
>>> +       for example: <code>-mcpu=cortex-a75</code> or
>>> +       <code>-mtune=thunderx2t99p1</code> or as arguments to the equivalent target
>>> +       attributes and pragmas.
>>> +  </li>
>>>   </ul>
>>>   
>>>   <h3 id="arm">ARM</h3>
>>> @@ -169,14 +213,58 @@
>>>       removed in a future release.
>>>     </li>
>>>     <li>
>>> -    The default link behavior for ARMv6 and ARMv7-R targets has been
>>> +    The default link behavior for Armv6 and Armv7-R targets has been
>>>       changed to produce BE8 format when generating big-endian images.  A new
>>>       flag <code>-mbe32</code> can be used to force the linker to produce
>>>       legacy BE32 format images.  There is no change of behavior for
>>> -    ARMv6-m and other ARMv7 or later targets: these already defaulted
>>> +    Armv6-M and other Armv7 or later targets: these already defaulted
>>>       to BE8 format.  This change brings GCC into alignment with other
>>>       compilers for the ARM architecture.
>>>     </li>
>>> +  <li>
>>> +    The Armv8-R architecture is now supported.  It can be used by specifying the
>>> +    <code>-march=armv8-r</code> option.
>>> +  </li>
>>> +  <li>
>>> +    The Armv8.3-A architecture is now supported.  It can be used by
>>> +    specifying the <code>-march=armv8.3-a</code> option.
>>> +  </li>
>>> +  <li>
>>> +    The Armv8.4-A architecture is now supported.  It can be used by
>>> +    specifying the <code>-march=armv8.4-a</code> option.
>>> +  </li>
>>> +  <li>
>>> +     The Dot Product instructions are now supported as an optional extension to the
>>> +     Armv8.2-A architecture and newer and are mandatory on Armv8.4-A.  The extension can be used by
>>> +     specifying the <code>+dotprod</code> architecture extension.  E.g. <code>-march=armv8.2-a+dotprod</code>.
>>> +  </li>
>>> +
>>> +  <li>
>>> +    Support for setting extensions and architectures using the GCC target pragma and attribute has been added.
>>> +    It can be used by specifying <code>#pragma GCC target ("arch=...")</code>, <code>#pragma GCC target ("+extension")</code>,
>>> +    <code>__attribute__((target("arch=...")))</code> or <code>__attribute__((target("+extension")))</code>.
>>> +  </li>
>>> +  <li>
>>> +    New Armv8.4-A FP16 Floating Point Multiplication Variant instructions have been added.  These instructions are
>>> +    mandatory in Armv8.4-A but available as an optional extension to Armv8.2-A and Armv8.3-A.  The new extension
>>> +    can be used by specifying the <code>+fp16fml</code> architectural extension on Armv8.2-A and Armv8.3-A. On Armv8.4-A
>>> +    the instructions can be enabled by specifying <code>+fp16</code>.
>>> +  </li>
>>> +  <li>
>>> +       Support has been added for the following processors
>>> +       (GCC identifiers in parentheses):
>>> +       <ul>
>>> +	 <li>Arm Cortex-A75 (<code>cortex-a75</code>).</li>
>>> +	 <li>Arm Cortex-A55 (<code>cortex-a55</code>).</li>
>>> +	 <li>Arm Cortex-A55/Cortex-A75 DynamIQ big.LITTLE (<code>cortex-a75.cortex-a55</code>).</li>
>>> +	 <li>Arm Cortex-R52 for Armv8-R (<code>cortex-r52</code>).</li>
>>> +       </ul>
>>> +       The GCC identifiers can be used
>>> +       as arguments to the <code>-mcpu</code> or <code>-mtune</code> options,
>>> +       for example: <code>-mcpu=cortex-a75</code> or
>>> +       <code>-mtune=cortex-r52</code> or as arguments to the equivalent target
>>> +       attributes and pragmas.
>>> +  </li>
>>>   </ul>
>>>   
>>>   <h3 id="avr">AVR</h3>
>>>

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

* RE: [PATCH][WWWDOCS][AArch64][ARM] Update GCC 8 release notes
  2018-01-16 17:45         ` Kyrill Tkachov
@ 2018-01-16 18:25           ` Tamar Christina
  0 siblings, 0 replies; 10+ messages in thread
From: Tamar Christina @ 2018-01-16 18:25 UTC (permalink / raw)
  To: Kyrill Tkachov, James Greenhalgh
  Cc: gcc-patches, nd, Richard Earnshaw, Marcus Shawcroft,
	Ramana Radhakrishnan, nickc, gerald

Hi Kyrill,

> 
> Hi Tamar,
> 
> On 16/01/18 16:56, Tamar Christina wrote:
> > Th 01/16/2018 16:36, James Greenhalgh wrote:
> >> On Tue, Jan 16, 2018 at 02:21:30PM +0000, Tamar Christina wrote:
> >>> Hi Kyrill,
> >>>
> >>>> xgene1 was added a few releases ago, better to use one of the new
> additions from the above list.
> >>>> For example -mtune=cortex-r52.
> >>> Thanks, I have updated the patch. I'll wait for an ok from an AArch64
> maintainer and a Docs maintainer.
> >> OK. But you have the same issue in the AArch64 part.
> > Thanks, I've updated the patch, I'll wait for a bit for a doc reviewer
> > if I don't hear anything I'll assume the patch is OK.
> 
> Gerald has confirmed a few times in the past that port maintainers can
> approve target-specific changes to the web pages, and there are words to
> that effect at:
> https://gcc.gnu.org/svnwrite.html .
> So I'd recommend you commit your patch once you've got approval for
> aarch64 and arm.
> Unless there's some specific part of the patch you'd like the docs maintainer
> to give you feedback on...

Ah, thanks! I'll commit the patch then. 

> Thanks again for working on this.
> Kyrill
> 
> >
> > Thanks,
> > Tamar
> >> James
> >>
> >>> Index: htdocs/gcc-8/changes.html
> >>>
> ==========================================================
> =========
> >>> RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-8/changes.html,v
> >>> retrieving revision 1.26
> >>> diff -u -r1.26 changes.html
> >>> --- htdocs/gcc-8/changes.html	11 Jan 2018 09:31:53 -0000	1.26
> >>> +++ htdocs/gcc-8/changes.html	16 Jan 2018 14:12:57 -0000
> >>> @@ -147,7 +147,51 @@
> >>>
> >>>   <h3 id="aarch64">AArch64</h3>
> >>>   <ul>
> >>> -  <li></li>
> >>> +  <li>
> >>> +    The Armv8.4-A architecture is now supported.  It can be used by
> >>> +    specifying the <code>-march=armv8.4-a</code> option.
> >>> +  </li>
> >>> +  <li>
> >>> +    The Dot Product instructions are now supported as an optional
> extension to the
> >>> +    Armv8.2-A architecture and newer and are mandatory on Armv8.4-A.
> The extension can be used by
> >>> +    specifying the <code>+dotprod</code> architecture extension.  E.g.
> <code>-march=armv8.2-a+dotprod</code>.
> >>> +  </li>
> >>> +  <li>
> >>> +    The Armv8-A <code>+crypto</code> extension has now been split
> into two extensions for finer grained control:
> >>> +    <ul>
> >>> +       <li><code>+aes</code> which contains the Armv8-A AES
> crytographic instructions.</li>
> >>> +       <li><code>+sha2</code> which contains the Armv8-A SHA2 and
> SHA1 cryptographic instructions.</li>
> >>> +    </ul>
> >>> +    Using <code>+crypto<code> will now enable these two extensions.
> >>> +  </li>
> >>> +  <li>
> >>> +    New Armv8.4-A FP16 Floating Point Multiplication Variant instructions
> have been added.  These instructions are
> >>> +    mandatory in Armv8.4-A but available as an optional extension to
> Armv8.2-A and Armv8.3-A.  The new extension
> >>> +    can be used by specifying the <code>+fp16fml</code> architectural
> extension on Armv8.2-A and Armv8.3-A. On Armv8.4-A
> >>> +    the instructions can be enabled by specifying <code>+fp16</code>.
> >>> +  </li>
> >>> +  <li>
> >>> +    New cryptographic instructions have been added as optional
> extensions to Armv8.2-A and newer.  These instructions can
> >>> +    be enabled with:
> >>> +    <ul>
> >>> +      <li><code>+sha3</code> New SHA3 and SHA2 instructions from
> Armv8.4-A.  This implies <code>+sha2</code>.
> >>> +      <li><code>+sm4</code> New SM3 and SM4 instructions from
> Armv8.4-A.
> >>> +    </ul>
> >>> + </li>
> >>> +  <li>
> >>> +       Support has been added for the following processors
> >>> +       (GCC identifiers in parentheses):
> >>> +       <ul>
> >>> +         <li>Arm Cortex-A75 (<code>cortex-a75</code>).</li>
> >>> +	 <li>Arm Cortex-A55 (<code>cortex-a55</code>).</li>
> >>> +	 <li>Arm Cortex-A55/Cortex-A75 DynamIQ big.LITTLE (<code>cortex-
> a75.cortex-a55</code>).</li>
> >>> +       </ul>
> >>> +       The GCC identifiers can be used
> >>> +       as arguments to the <code>-mcpu</code> or <code>-
> mtune</code> options,
> >>> +       for example: <code>-mcpu=cortex-a75</code> or
> >>> +       <code>-mtune=thunderx2t99p1</code> or as arguments to the
> equivalent target
> >>> +       attributes and pragmas.
> >>> +  </li>
> >>>   </ul>
> >>>
> >>>   <h3 id="arm">ARM</h3>
> >>> @@ -169,14 +213,58 @@
> >>>       removed in a future release.
> >>>     </li>
> >>>     <li>
> >>> -    The default link behavior for ARMv6 and ARMv7-R targets has been
> >>> +    The default link behavior for Armv6 and Armv7-R targets has
> >>> + been
> >>>       changed to produce BE8 format when generating big-endian images.
> A new
> >>>       flag <code>-mbe32</code> can be used to force the linker to
> produce
> >>>       legacy BE32 format images.  There is no change of behavior for
> >>> -    ARMv6-m and other ARMv7 or later targets: these already defaulted
> >>> +    Armv6-M and other Armv7 or later targets: these already
> >>> + defaulted
> >>>       to BE8 format.  This change brings GCC into alignment with other
> >>>       compilers for the ARM architecture.
> >>>     </li>
> >>> +  <li>
> >>> +    The Armv8-R architecture is now supported.  It can be used by
> specifying the
> >>> +    <code>-march=armv8-r</code> option.
> >>> +  </li>
> >>> +  <li>
> >>> +    The Armv8.3-A architecture is now supported.  It can be used by
> >>> +    specifying the <code>-march=armv8.3-a</code> option.
> >>> +  </li>
> >>> +  <li>
> >>> +    The Armv8.4-A architecture is now supported.  It can be used by
> >>> +    specifying the <code>-march=armv8.4-a</code> option.
> >>> +  </li>
> >>> +  <li>
> >>> +     The Dot Product instructions are now supported as an optional
> extension to the
> >>> +     Armv8.2-A architecture and newer and are mandatory on Armv8.4-A.
> The extension can be used by
> >>> +     specifying the <code>+dotprod</code> architecture extension.  E.g.
> <code>-march=armv8.2-a+dotprod</code>.
> >>> +  </li>
> >>> +
> >>> +  <li>
> >>> +    Support for setting extensions and architectures using the GCC target
> pragma and attribute has been added.
> >>> +    It can be used by specifying <code>#pragma GCC target
> ("arch=...")</code>, <code>#pragma GCC target ("+extension")</code>,
> >>> +    <code>__attribute__((target("arch=...")))</code> or
> <code>__attribute__((target("+extension")))</code>.
> >>> +  </li>
> >>> +  <li>
> >>> +    New Armv8.4-A FP16 Floating Point Multiplication Variant instructions
> have been added.  These instructions are
> >>> +    mandatory in Armv8.4-A but available as an optional extension to
> Armv8.2-A and Armv8.3-A.  The new extension
> >>> +    can be used by specifying the <code>+fp16fml</code> architectural
> extension on Armv8.2-A and Armv8.3-A. On Armv8.4-A
> >>> +    the instructions can be enabled by specifying <code>+fp16</code>.
> >>> +  </li>
> >>> +  <li>
> >>> +       Support has been added for the following processors
> >>> +       (GCC identifiers in parentheses):
> >>> +       <ul>
> >>> +	 <li>Arm Cortex-A75 (<code>cortex-a75</code>).</li>
> >>> +	 <li>Arm Cortex-A55 (<code>cortex-a55</code>).</li>
> >>> +	 <li>Arm Cortex-A55/Cortex-A75 DynamIQ big.LITTLE (<code>cortex-
> a75.cortex-a55</code>).</li>
> >>> +	 <li>Arm Cortex-R52 for Armv8-R (<code>cortex-r52</code>).</li>
> >>> +       </ul>
> >>> +       The GCC identifiers can be used
> >>> +       as arguments to the <code>-mcpu</code> or <code>-
> mtune</code> options,
> >>> +       for example: <code>-mcpu=cortex-a75</code> or
> >>> +       <code>-mtune=cortex-r52</code> or as arguments to the
> equivalent target
> >>> +       attributes and pragmas.
> >>> +  </li>
> >>>   </ul>
> >>>
> >>>   <h3 id="avr">AVR</h3>
> >>>


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

* Re: [PATCH][WWWDOCS][AArch64][ARM] Update GCC 8 release notes
  2018-01-16 17:01         ` Tamar Christina
@ 2018-04-01 20:57           ` Gerald Pfeifer
  2018-04-03 12:41             ` Tamar Christina
  0 siblings, 1 reply; 10+ messages in thread
From: Gerald Pfeifer @ 2018-04-01 20:57 UTC (permalink / raw)
  To: Tamar Christina
  Cc: gcc-patches, James Greenhalgh, Kyrill Tkachov, nd,
	Richard Earnshaw, Marcus Shawcroft, Ramana Radhakrishnan,
	Nick Clifton

On Tue, 16 Jan 2018, Tamar Christina wrote:
> I seem to have forgotten the patch :)

Ah, one thing I noticed is that you've used the spelling of "Arm"
as opposed to "ARM" and even changed some of the former to the
latter.

Is "Arm" now the new official spelling that we should use consistently?

gcc-8/changes.html still has two references to "ARM".

Gerald

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

* Re: [PATCH][WWWDOCS][AArch64][ARM] Update GCC 8 release notes
  2018-04-01 20:57           ` Gerald Pfeifer
@ 2018-04-03 12:41             ` Tamar Christina
  0 siblings, 0 replies; 10+ messages in thread
From: Tamar Christina @ 2018-04-03 12:41 UTC (permalink / raw)
  To: Gerald Pfeifer
  Cc: gcc-patches, James Greenhalgh, Kyrill Tkachov, nd,
	Richard Earnshaw, Marcus Shawcroft, Ramana Radhakrishnan, nickc

Hi Gerald,

Yes the Arm trademark is now "Arm" so that should be used when referring to anything related to the trademark.
(see https://www.arm.com/company/policies/trademarks/guidelines-trademarks)

I left the ARM there in reference to the port in GCC as that seems to be what we've always called it the changelogs.

But I do see how that can be confusing...

Kind Regards,
Tamar

________________________________________
From: Gerald Pfeifer <gerald@pfeifer.com>
Sent: Sunday, April 1, 2018 9:57:45 PM
To: Tamar Christina
Cc: gcc-patches@gcc.gnu.org; James Greenhalgh; Kyrill Tkachov; nd; Richard Earnshaw; Marcus Shawcroft; Ramana Radhakrishnan; nickc@redhat.com
Subject: Re: [PATCH][WWWDOCS][AArch64][ARM] Update GCC 8 release notes

On Tue, 16 Jan 2018, Tamar Christina wrote:
> I seem to have forgotten the patch :)

Ah, one thing I noticed is that you've used the spelling of "Arm"
as opposed to "ARM" and even changed some of the former to the
latter.

Is "Arm" now the new official spelling that we should use consistently?

gcc-8/changes.html still has two references to "ARM".

Gerald

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

end of thread, other threads:[~2018-04-03 12:41 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-16 10:10 [PATCH][WWWDOCS][AArch64][ARM] Update GCC 8 release notes Tamar Christina
2018-01-16 11:40 ` Kyrill Tkachov
2018-01-16 14:31   ` Tamar Christina
2018-01-16 16:56     ` James Greenhalgh
2018-01-16 17:00       ` Tamar Christina
2018-01-16 17:01         ` Tamar Christina
2018-04-01 20:57           ` Gerald Pfeifer
2018-04-03 12:41             ` Tamar Christina
2018-01-16 17:45         ` Kyrill Tkachov
2018-01-16 18:25           ` Tamar Christina

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).