http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53511
Oleg Endo <olegendo at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #27547|0 |1 is obsolete| | --- Comment #4 from Oleg Endo <olegendo at gcc dot gnu.org> 2012-06-05 02:41:54 UTC --- Created attachment 27558 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27558 Proposed patch This patch adds the FMA patterns and aligns the SH target with the -mfused-madd / -mno-fused-madd option handling in other targets. Kaz, if you have some time and a SH64 test env at hand, could you please check the patch on SH64? I had to touch the __builtin_sh_media_FMAC_S mapping. I think it should be OK, since the number and semantics of the insn operands is the same as before.