diff mbox series

[wwwdocs] Add nios2 changes for GCC 11

Message ID 20210117190838.60885-1-sebastian.huber@embedded-brains.de
State New
Headers show
Series [wwwdocs] Add nios2 changes for GCC 11 | expand

Commit Message

Sebastian Huber Jan. 17, 2021, 7:08 p.m. UTC
---
 htdocs/gcc-11/changes.html | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

Comments

Sandra Loosemore Jan. 18, 2021, 6:11 a.m. UTC | #1
On 1/17/21 12:08 PM, Sebastian Huber wrote:
> ---
>   htdocs/gcc-11/changes.html | 14 +++++++++++++-
>   1 file changed, 13 insertions(+), 1 deletion(-)
> 
> diff --git a/htdocs/gcc-11/changes.html b/htdocs/gcc-11/changes.html
> index 3527428f..dac3a03f 100644
> --- a/htdocs/gcc-11/changes.html
> +++ b/htdocs/gcc-11/changes.html
> @@ -409,7 +409,19 @@ a work-in-progress.</p>
>   
>   <!-- <h3 id="nds32">NDS32</h3> -->
>   
> -<!-- <h3 id="nios2">Nios II</h3> -->
> +<h3 id="nios2">Nios II</h3>
> +<ul>
> +  <li>The options <code>-mcustom-insn=N</code> no longer produce compiler
> +      warnings if the custom instruction is not generated due to missing
> +      optimization options such as <code>-fno-math-errno</code>,
> +      <code>-ffinite-math-only</code>, or
> +      <code>-funsafe-math-optimizations</code>.

I think it would be good to add a sentence of rationale here, like

These warnings were not consistently emitted for all custom instructions.

> +  </li>
> +  <li>The <code>-mcustom-fpu-cfg=fph2</code> has been added to enable the
> +      custom instructions supported by the <em>Nios II Floating Point Hardware
> +      2 Component</em>.
> +  </li>
> +</ul>

s/has been added/option has been added/

OK with those changes.  Thanks for remembering to update the docs!  :-)

-Sandra
diff mbox series

Patch

diff --git a/htdocs/gcc-11/changes.html b/htdocs/gcc-11/changes.html
index 3527428f..dac3a03f 100644
--- a/htdocs/gcc-11/changes.html
+++ b/htdocs/gcc-11/changes.html
@@ -409,7 +409,19 @@  a work-in-progress.</p>
 
 <!-- <h3 id="nds32">NDS32</h3> -->
 
-<!-- <h3 id="nios2">Nios II</h3> -->
+<h3 id="nios2">Nios II</h3>
+<ul>
+  <li>The options <code>-mcustom-insn=N</code> no longer produce compiler
+      warnings if the custom instruction is not generated due to missing
+      optimization options such as <code>-fno-math-errno</code>,
+      <code>-ffinite-math-only</code>, or
+      <code>-funsafe-math-optimizations</code>.
+  </li>
+  <li>The <code>-mcustom-fpu-cfg=fph2</code> has been added to enable the
+      custom instructions supported by the <em>Nios II Floating Point Hardware
+      2 Component</em>.
+  </li>
+</ul>
 
 <h3 id="nvptx">NVPTX</h3>
 <ul>