reload and asms

Nathan Sidwell nathan@codesourcery.com
Tue Jun 8 11:10:00 GMT 2004


Jim Wilson wrote:
> Nathan Sidwell wrote:
> 
>> It is generating false positives, because at this point the source 
>> operands
>> of the P insns are still pseudos, hence constrain_operands (1), fails,
> 
> 
> If you look at recog.c, you will see that there is special code to 
> accept psuedos during reload.  That is so that this piece of code will 
> work.  If your target has special constraint letters, it is possible 
> that these letters aren't accepting pseudos during reload as they should.
I have no special constraints in this case.


> mov insns are special.  You can't have two different patterns that match 
> a movsi pattern for instance.  You must have only one that handles all 
> cases.  Reload will not work otherwise.  It relies on this principle in 
> order to work.
bleah. This requirement is not obvious from md.texi. (Some other special
requirements are, but I did not deduce this one.)

nathan
-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk




More information about the Gcc mailing list