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] |
On 2 Dec 2011, at 22:59, Richard Henderson wrote:
I personally think the whole thing would be much easier to read without relying on the redzone. Aside from that, there's actually very little real difference in the two files. Essentially, you're storing the registers in a different order because the prologue does, just so you can make use of the redzone.
OK - I guess I got carried away with thinking that I might be able to re-use the save_world () routine - but that doesn't look feasible after all so....
The aix abi saves r2; darwin 32-bit saves r13. One extra register in both cases, which could use the same slot.
... will take another look tomorrow....
.... although we still have some syntax issues that might make sharing the original code somewhat ugly....
cheers Iain
Attachment:
181968-ppc-darwin-libitm-redzone-version-diff.txt
Description: Text document
Attachment:
181968-ppc-darwin-libitm-norz.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |