This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: PPro and egcs
- To: law at cygnus dot com
- Subject: Re: PPro and egcs
- From: hjl at lucon dot org (H.J. Lu)
- Date: Mon, 27 Oct 1997 15:33:13 -0800 (PST)
- Cc: egcs at cygnus dot com
> > >From what I saw, gcc wound up trying to put those operands into
> > registers to satisfy the constraints, which caused the register
> > shortage.
> No, there was a const_int in the original example, which caused gcc to
> try and use the last constraint, which didn't work because the clobber
> was teh same as one of the input registers.
>
> If you fix the pattern to only use two registers (remember there's a
> matching in/out) then it shouldn't be any more register pressure
> sensitive than any other two operand instruction.
>
I tried it. gcc will then to put const_int in register to fit the
pattern. I got the same error on _bb.o in libgcc2.a.
--
H.J. Lu (hjl@gnu.ai.mit.edu)