Jeffrey Law - Re: [m68k 10/13] cleanup fp compare (original) (raw)

This is the mail archive of the gcc-patches@gcc.gnu.orgmailing 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]

On Tue, 2007-01-30 at 12:26 +0100, zippel@linux-m68k.org wrote:

Hi,

This is another patch which originally addressed a reload problem by avoiding to generate a load from the constant pool in the first place. It cleans up the predicate handling and rejects certain constants (that we want in registers) early, but allows them again during reload for the case that reload has no register left and it tries the immediate argument first, before generating a memory reference. The fp compare pattern are now much closer to the real instructions, so that the main work is done by combine and avoids unneccessary reloads.

2007-01-30 Roman Zippel zippel@linux-m68k.org

* config/m68k/m68k.c (notice_update_cc): recognize fp compare
(moved from fp compare patterns).
* config/m68k/m68k.md (cmp?f): cleanup predicates to relieve
reload.
* gcc/config/m68k/predicates.md (fp_src_operand): New, reject
certain constants early.

OK. Jeff


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