http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55295
--- Comment #1 from Oleg Endo <olegendo at gcc dot gnu.org> 2012-11-12 22:39:27 UTC --- I forgot to mention that at least there should be a target specific built-in function to generate the fipr insn. There is already a SHmedia built-in for that, so adding one for SH4* shouldn't be a big deal. However, ideally the compiler would discover fipr opportunities by itself (when compiling with -ffast-math).