This is the mail archive of the gcc-bugs@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]

[Bug target/53949] [SH] Add support for mac.w / mac.l instructions


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?


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