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]
Other format: [Raw text]

Re: [PATCH] Improve integer division on IA-64


On Tuesday 20 December 2005 01:19, Roger Sayle wrote:
> On an Itanium2 SGI Prism system, with a model 2 revision 1 processor
> running at 1.5GHz, the timings for 10^9 calls to __div?i3 are given
> below:
>
> 		before		after		before		after
> operands	__divsi3	__divsi3	__divdi3	__divdi3
>
> 81/1		22.69s		 8.01s		27.36s		 7.34s
> 81/2		22.69s		 8.01s		27.36s		 7.34s
> 81/3		22.69s		22.69s		27.36s		27.36s
> 81/81		22.69s		 4.67s		27.36s		 4.00s
> 81/100		22.69s		 7.34s		27.36s		 6.67s
>

Just curious -- how does this compare to the two inline integer divide 
algorithms we have in ia64.md (-minline-int-divide-min-latency)?

Gr.
Steven


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