Re: [PATCH, libitm]: Optimize x86_64 gtm_jmpbuf layout

2012-01-23 Thread Richard Henderson
On 01/24/2012 11:05 AM, Uros Bizjak wrote: > Hello! > > Attached patch optimizes x86_64 gtm_jmpbuf layout to avoid copying > return address. Optimized layout uses the same trick as x86_32 - call > used registers are saved just below return address. And there is just > enough space in the call alig

[PATCH, libitm]: Optimize x86_64 gtm_jmpbuf layout

2012-01-23 Thread Uros Bizjak
Hello! Attached patch optimizes x86_64 gtm_jmpbuf layout to avoid copying return address. Optimized layout uses the same trick as x86_32 - call used registers are saved just below return address. And there is just enough space in the call alignment hole to put all of them there. 2012-01-24 Uros