[ColdFire 36/63] Use RTL for prologues and epilogues
Roman Zippel
zippel@linux-m68k.org
Tue Jan 23 16:50:00 GMT 2007
Hi,
On Tue, 23 Jan 2007, Richard Sandiford wrote:
> > Considering the possibility we generate a movem pattern before reload, the
> > pattern would be readonly anyway and would only have informational value
> > and could be optional. The predicate check would then simply verify that
> > this extra information matches the information in the unspec.
> >
> > OTOH considering that there is currently no use for this detailed
> > information, I'd rather keep it simple (and the unspec doesn't preclude
> > adding this information later).
>
> I simply don't understand this argument. The patch I posted
> describes what the pattern does in ordinary RTL, and verifies
> that the pattern is a valid h/w instruction. That seems exactly
> the right thing to do. Why go out of your way to introduce an
> unspec when a patch that doesn't need it already exists?
The point is that I think that all the verification/extraction code is
wasteful for something we know is static.
bye, Roman
More information about the Gcc-patches
mailing list