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]

Re: mips16 div_trap patch #3




  In message <m1089Mi-000sBfC@cetus.cygnus.com>you write:
  > 
  > Now that the mips16 div_trap is handling const int zero, this copy to regis
  > ter
  > is no longer necessary.  Removing it eases the burdon on the optimiser just
  > a tiny bit, and simplifies unoptimized div-trap code.
  > 
  >                                                   -gavin...
  > 
  >    * config/mips/mips.md ([u]divmodsi4,[u]divmoddi4,[u]divsi3,[u]divdi3,
  >    [u]modsi3,[u]moddi3) : Don't copy the "zero" argument to a register
  >    before calling gen_div_trap.
This is fine.  Thanks!

jeff


ps.  Can you update the copyright for mips.c, you forgot it on your last
checkin.  Thanks


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