This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: reload and asms


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]