This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Question on insn scheduling and SP
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: rth at redhat dot com
- Cc: dalej at apple dot com, gcc at gcc dot gnu dot org
- Date: Tue, 22 Oct 02 13:24:33 EDT
- Subject: Re: Question on insn scheduling and SP
*Two* clobbers are necessary.
(clobber (mem:BLK (scratch)))
(clobber (mem:BLK stack_pointer_rtx))
The first has the magic form that conflicts with all memory,
the second contains a reference to the stack pointer. Thus
the stack pointer adjustment depends on the second clobber,
the second clobber depends on the first clobber, and the
first clobber depends on all memory references.
Well if that's what's going on, why not keep it simpler and have the
first clobber and then
(use (stack_pointer_rtx))