shortcomings of fp-bit.c (excessive packing, poor choice of algorithms), poor handling of bitfield accesses by gcc, and problems with register allocation / scheduling each cost about a factor of two in performance in the floating point emulation currently used for the SH port.
Using a hand-coded assembly language implementation can avoid these problems. -- Summary: sh floating point emulation is inefficient Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: amylaar at gcc dot gnu dot org GCC target triplet: sh-* BugsThisDependsOn: 28618 OtherBugsDependingO 29842 nThis: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29845