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] |
A tricky bit here is that m68k used static_chain_rtx in m68k_output_mi_thunk apparently for a scratch register. It suddenly occurs to me to wonder if it did that to avoid clobbering A0 when that's used for the structure return value? If so, my conversion is incorrect.
I'm pretty sure my second guess is correct, so I've modified the patch to continue to use STATIC_CHAIN_REGNUM, even though not directly through static_chain_rtx. I've added a comment to the effect of avoiding STRUCT_VALUE_REGNUM.
Attachment:
z
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |