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]

Re: rs6000 stack_tie mishap again


> On Mar 28, 2016, at 19:41 , Richard Henderson <rth@redhat.com> wrote:
> 
> But I expect for stage4, the best solution is to strengthen the stack_tie pattern to block all memory.  Early scheduling of the stack frame deallocation (a simple logic insn) can't really be that important to performance.

Something like the attached patch, at least for next stage1 until the
more general issue is sorted out ?

Only basic testing at this point. I can do more if considered appropriate.

Thanks for your feedback,

With Kind Regards,

Olivier

	* config/rs6000/rs6000.c (rs6000_emit_stack_tie): Add a
        (clobber mem:BLK (scratch)) to the set of effects, blocking
	all memory accesses.

Attachment: stronger_rs6000_tie.diff
Description: Binary data



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