This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: i386.md move reload_in_progress | reload_completed tests
- To: egcs at egcs dot cygnus dot com
- Subject: Re: i386.md move reload_in_progress | reload_completed tests
- From: John Wehle <john at feith dot com>
- Date: Sat, 27 Mar 1999 13:41:54 -0500 (EST)
> 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 | |
-------------------------------------------------------------------------