This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch to rework mips divide patterns
- From: Andrew Haley <aph at redhat dot com>
- To: Richard Sandiford <rsandifo at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org, echristo at redhat dot com
- Date: Sun, 8 Jun 2003 18:03:50 +0100
- Subject: Patch to rework mips divide patterns
- References: <wvnr864zjk6.fsf@talisman.cambridge.redhat.com>
Richard Sandiford writes:
> The original motivation for this patch was to get rid of the div_trap insns.
> They have a fixed length of 12 but don't always emit code:
On a related subject: On MIPS, Java divisions can't trap because we
always check the arguments. Is it possible to omit gsnerating code
for traps in this case?
Andrew.