On 26/07/17 14:44, Sebastian Huber wrote:

On 26/07/17 14:13, Eric Botcazou wrote:

Add the -mfsmuld option to control the generation of the FsMULd
instruction.  In general, this instruction is available in architecture
version V8 and V9 CPUs with FPU.  Some CPUs of this category do not
support this instruction properly, e.g. AT697E, AT697F and UT699.  Some
CPUs of this category do not implement it in hardware, e.g. LEON3/4 with
GRFPU-lite.

gcc/
    * config/sparc/sparc.c (dump_target_flag_bits): Dump MASK_FSMULD.
    (sparc_option_override): Honour MASK_FSMULD.
    * config/sparc/sparc.h (MASK_FEATURES): Add MASK_FSMULD.
    * config/sparc/sparc.md (muldf3_extend): Use TARGET_FSMULD.
    * config/sparc/sparc.opt (mfsmuld): New option.
    * doc/invoke.texi (mfsmuld): Document option.
OK for mainline and 7 branch modulo:


Thanks for your quick review. I am really glad that we can now use the upcoming GCC 7.2 release.

I checked it in as r250570 and r250571.


I would like to add this to the web site:

Index: htdocs/gcc-7/changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-7/changes.html,v
retrieving revision 1.88
diff -r1.88 changes.html
1248a1249,1251
>     <li>Use of the Floating-point Multiply Single to Double (FsMULd)
> instruction can now be controlled by the <code>-mfsmuld</code> and
>         <code>-fno-fsmuld</code> options.</li>
cvs diff: Diffing htdocs/gcc-8
Index: htdocs/gcc-8/changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-8/changes.html,v
retrieving revision 1.7
diff -r1.7 changes.html
148,149c148,153
< <!-- <h3 id="sparc">SPARC</h3> -->
<
---
> <h3 id="sparc">SPARC</h3>
> <ul>
> <li>Use of the Floating-point Multiply Single to Double (FsMULd) instruction
>       can now be controlled by the <code>-mfsmuld</code> and
>       <code>-fno-fsmuld</code> options.</li>
> </ul>

--
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.hu...@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

Reply via email to