This is the mail archive of the gcc-patches@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: [RFC] PR/19653: fld used for reloads in sse mode


Bernd Schmidt wrote:

Finally, this patch also includes a fix to push_reload, to not obey PREFERRED_*_RELOAD_CLASS if it returns NO_REGS but this is not valid. I think it is correct, because ix86_preferred_reload_class is very liberal in returning NO_REGS.


    (push_reload): Allow PREFERRED_*_RELOAD_CLASS to liberally
    return NO_REGS.


Eh, why is this necessary? Can't you just return the old class instead?

It makes sense to return NO_REGS for optional output reloads, but you don't know that inside the target macro.


Still this was exactly the feedback I wanted. :-)

Paolo


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