This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: revamped integer division library code for ARM
- From: Ben Elliston <bje at wasabisystems dot com>
- To: Nicolas Pitre <nico at cam dot org>
- Cc: gcc-patches at gcc dot gnu dot org, Richard Earnshaw <rearnsha at arm dot com>,Ben Elliston <bje at wasabisystems dot com>, nickc at redhat dot com
- Date: Thu, 11 Sep 2003 15:06:01 +1000
- Subject: Re: PATCH: revamped integer division library code for ARM
- Organisation: Wasabi Systems Inc.
- References: <Pine.LNX.4.44.0309101557570.7074-200000@xanadu.home>
Hi Nicolas,
> I've recently been directed at a similar patch that was posted here:
> http://gcc.gnu.org/ml/gcc-patches/2003-09/msg00271.html
>
> The patch above is similar in spirit to the attached patch but doesn't
> address the non XScale/ARMv5 version of the code. It also makes things
> faster in few situations through a large jump table but actually slows
> things down on the average case since it doesn't handle early termination
> when dividend reaches zero.
I have benchmarked your patch against ours and found no noticable
differences for our specific benchmarks. Since your code handles the
non-XScale version as well, I am happy to defer to your patch.
Patch withdrawn.