PPro and egcs
H.J. Lu
hjl@lucon.org
Mon Oct 27 15:33:00 GMT 1997
> > >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)
More information about the Gcc
mailing list