]> git.ipfire.org Git - thirdparty/gcc.git/commit
[SPARC] Add -mfsmuld option
authorSebastian Huber <sebastian.huber@embedded-brains.de>
Wed, 26 Jul 2017 12:39:43 +0000 (12:39 +0000)
committerSebastian Huber <sh@gcc.gnu.org>
Wed, 26 Jul 2017 12:39:43 +0000 (12:39 +0000)
commit867ba4b9ff3dec775c82b7c32de5f3bf2b489586
treeed2a39d2eb4282c114a5687534239915a0235db8
parent404f48ac88c024c661ed40dba8ab0c4555ead2e7
[SPARC] Add -mfsmuld option

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.

From-SVN: r250570
gcc/ChangeLog
gcc/config/sparc/sparc.c
gcc/config/sparc/sparc.h
gcc/config/sparc/sparc.md
gcc/config/sparc/sparc.opt
gcc/doc/invoke.texi