This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] [Patch X86_64]: Pass to split FMA to MUL and ADD


On Tue, 7 Nov 2017, Kumar, Venkataramanan wrote:

The attached patch implements an RTL pass which splits generated FMA instruction into MUL/ADD sequence.

That seems wrong if the user explicitly asked for FMA in his program, unless you have a way to recognize which FMA instructions come from user calls to fma and which were invented by gcc. Why not disable the gimple transformation that creates FMA instead ?

	* doc/invoke.texi (SPARC Options): Document -msplit-fma.

Sparc really?

--
Marc Glisse


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]