This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: mips16 div_trap patch #3
- To: Gavin Romig-Koch <gavin at cygnus dot com>
- Subject: Re: mips16 div_trap patch #3
- From: Jeffrey A Law <law at hurl dot cygnus dot com>
- Date: Wed, 03 Feb 1999 19:55:19 -0700
- cc: egcs-patches at egcs dot cygnus dot com
- Reply-To: law at cygnus dot com
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