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

[PATCH] sh64: Fix shcompact incoming args decoder


The attached patch fixes the shcompact incoming arg
decode function GCC_shcompact_incoming_args()
so that it doesn't corrupt callee-saved
registers.  All uses of regs r28-r35 in that fn
have been changed to use r36-r43 instead.

(GCC_shcompact_incoming_args is only called by
SHcompact functions, SHmedia and non-SH-5
code is unaffected.)

Steve.
--
Stephen Clarke, Principal Engineer, SuperH Inc.
Phone:1-408-273-3146, Fax:1-408-273-3199, mailto:Stephen.Clarke@superh.com
Mail:  SuperH Inc., 405 River Oaks Pkwy, San Jose, CA 95134, USA.

Attachment: shcompact.patch
Description: shcompact.patch


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