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: RFA: reload infrastructure to fix PR target/21623


Joern RENNECKE wrote:
Joern Rennecke wrote:

It wouldn't allow backwards compatibility, however, unless you want to have the new macro or
hook live alongside the existing SECONDARY*_RELOAD_CLASS macros, and reload_{in,out}
optabs for unconverted ports.


P.S.: We could make it a target hook, and have the default definition use reload_{in,out} optab.
Then we add the use of reload_{in,out}<mode> patterns to our list of obsolescent port features.

Just a detail - I think it would probably be best to have a target hook to return both the class and the icode, and use SECONDARY_WOSSNAME iff the target hook doesn't exist, so that we can phase it out along with reload_{in,out}.



Bernd



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