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

Re: AVR signed int / 2 divide



  In message <200005041908.VAA14652@marekm.home>you write:
  > Jeffrey A Law <law@cygnus.com> wrote:
  > > I think it would be better to use BRANCH_COST to determine the cost
  > > of the branch and RTX_COST to determine the cost of a shift (and other
  > > RTL operations).  Then select the cheaper one.  
  > > 
  > > That is better because it uses existing target macros in an obvious
  > > way intead of creating a new target macro which just controls this
  > > behavior.
  > 
  > Thanks.  I now see comments in gcc/config/h8300/h8300.h that
  > indicate AVR is not the only target with this problem...
Another example would be the mn102.
jeff


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