Re: [toolchain-devel] [PATCH] Use div and mod functions from VDSP

2009-02-24 Thread Jie Zhang
Behalf Of Jie Zhang >> Sent: Tuesday, February 24, 2009 3:37 AM >> To: Robin Getz >> Cc: toolchain-devel@blackfin.uclinux.org >> Subject: Re: [toolchain-devel] [PATCH] Use div and mod functions from VDSP >> >> Robin Getz wrote: >>> On Mon 23 Feb 2009 10:

Re: [toolchain-devel] [PATCH] Use div and mod functions from VDSP

2009-02-23 Thread Jie Zhang
Robin Getz wrote: > On Mon 23 Feb 2009 10:12, Jie Zhang pondered: >> These two patches make gcc use div and mod functions from VDSP 5.0 >> update 5. I measured the time of 1 loops of 1 divisions of >> random intergers: >> >> old new >> 32bit/32bit44.72s 12.04s >

Re: [toolchain-devel] [PATCH] Use div and mod functions from VDSP

2009-02-23 Thread Bernd Schmidt
Jie Zhang wrote: > These two patches make gcc use div and mod functions from VDSP 5.0 > update 5. I measured the time of 1 loops of 1 divisions of > random intergers: > >old new > 32bit/32bit44.72s 12.04s > 32bit/16bit44.72s 17.96s > 16bit/16bit44.82s

Re: [toolchain-devel] [PATCH] Use div and mod functions from VDSP

2009-02-23 Thread Robin Getz
On Mon 23 Feb 2009 10:12, Jie Zhang pondered: > These two patches make gcc use div and mod functions from VDSP 5.0 > update 5. I measured the time of 1 loops of 1 divisions of > random intergers: > > old new > 32bit/32bit44.72s 12.04s > 32bit/16bit44.72s

[toolchain-devel] [PATCH] Use div and mod functions from VDSP

2009-02-23 Thread Jie Zhang
These two patches make gcc use div and mod functions from VDSP 5.0 update 5. I measured the time of 1 loops of 1 divisions of random intergers: old new 32bit/32bit44.72s 12.04s 32bit/16bit44.72s 17.96s 16bit/16bit44.82s 12.11s So there is much perf