This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: i386.md: consistency for fix_trunc[sd]i
On Mon, Dec 20, 1999 at 11:53:09AM +0000, Bernd Schmidt wrote:
> > > [(set (match_operand:SI 0 "nonimmediate_operand" "=m,?r")
> > > (fix:SI (match_operand 1 "register_operand" "f,f")))
> > > (clobber (match_operand:SI 2 "memory_operand" "=o,o"))
> > > (clobber (match_operand:SI 3 "memory_operand" "=m,m"))
> > > - (clobber (match_scratch:SI 4 "=&r,r"))]
> > > + (clobber (match_scratch:SI 4 "=&r,&r"))]
> > > "TARGET_80387 && FLOAT_MODE_P (GET_MODE (operands[1]))"
> > > "* return output_fix_trunc (insn, operands);"
> > > [(set_attr "type" "multi")])
>
> Hmm. Isn't the earlyclobber there to prevent overlap with the
> memory addresses (e.g. for operand 3; see also the second hunk
> of the patch)?
Operand 3 will always be a stack frame address.
r~