http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53949
Oleg Endo <olegendo at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kkojima at gcc dot gnu.org --- Comment #4 from Oleg Endo <olegendo at gcc dot gnu.org> 2012-07-17 19:12:49 UTC --- To be able to use the mac.w instruction for implementing the ssmaddhisi4 pattern I think the already existing mode-switching facilities can be used, as it is done for float/double mode switching. Even without doing SR.S mode switches, before any mac instructions can be used, we must make sure that the SR.S bit is in a defined state at function entry and function leave. Kaz, do you think it is safe to assume that SR.S = 0 at function entry?