This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Constrain not satisfied - floating point insns.
Jim Wilson <wilson@specifix.com> writes:
> Dave Korn wrote:
>> But it is ok to use a define_expand (that accepts all alternatives) for
>> movsf and use that to generate one of several movsf_XXXX insns, isn't it?
>
> Reload doesn't use the move define_expands. It can't. A define_expand
> is allowed to do stuff like generate new RTL that would completely mess
> up what reload is trying to do.
That isn't unconditionally true, is it? reload1.c:gen_reload
uses gen_move_insn, which is just a start_sequence/end_sequence
wrapper for emit_move_insn_1, which in turn calls the move expanders.
Richard