This is the mail archive of the gcc-bugs@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]

[Bug rtl-optimization/53176] [4.8 Regression] gcc.target/i386/movbe-2.c and gcc.dg/lower-subreg-1.c


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53176

--- Comment #8 from Hans-Peter Nilsson <hp at gcc dot gnu.org> 2012-05-02 22:22:54 UTC ---
(In reply to comment #7)
> I contacted iant before I started this, and he said that the proper plan 
> is to use the rtl cost model. So that is what we did.  The alternative 
> is to define a bunch of special target hooks and no one seemed to want 
> to go there.

Agreed.  Hopefully most targets are fixed by multiplying the current target rtx
cost implementation with the size of the mode; I'll try that.

Actually, I think that's what rtlanal.c:rtx_cost should be changed to do, for
the cases where the targetm.rtx_costs function returns false.


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