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]

Re: i386.md move reload_in_progress | reload_completed tests


> The (reload_in_progress | reload_completed) test doesn't seem very useful.
> I prefer calling force_reg and having it abort in gen_reg_rtx
> (due to the no_new_pseudos test) instead of having gcc believe it was
> successful in the situation where operand 0 and 1 are both memory operands
> and reload_in_progress / reload_completed is set.  memory->memory moves
> are not support by the i386 (other then block moves).
> 
> Did I miss something?

Actually I forgot that memory can be pushed.  In any case perhaps the
various (reload_in_progress | reload_completed) checks in i386.md which
control calls to force_reg should be replaced with a no_new_pseudos check.

-- John
-------------------------------------------------------------------------
|   Feith Systems  |   Voice: 1-215-646-8000  |  Email: john@feith.com  |
|    John Wehle    |     Fax: 1-215-540-5495  |                         |
-------------------------------------------------------------------------



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