]> git.ipfire.org Git - thirdparty/gcc.git/commit
[SPARC] Add -mfsmuld option
authorsh <sh@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 26 Jul 2017 12:39:43 +0000 (12:39 +0000)
committersh <sh@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 26 Jul 2017 12:39:43 +0000 (12:39 +0000)
commitbffd8089b8aa6a5f27871ded7d0454d1f99331a9
treeed2a39d2eb4282c114a5687534239915a0235db8
parent2dc63693ab518d0a2d285fa7b96df1a22d6942a1
[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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@250570 138bc75d-0d04-0410-961f-82ee72b054a4
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