[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[glob2-devel] Division is bad...
From: |
Stéphane Magnenat |
Subject: |
[glob2-devel] Division is bad... |
Date: |
Sat, 8 Jul 2006 11:53:32 +0200 |
User-agent: |
KMail/1.9.3 |
.. just a reminder in case people think that division is fast those days :
idiv, number of cycle :
- Pentium 4 80 cycles
- Core 15 cycles
- Core 2 17 cycles
- Athlon 64 40 cycles
As a comparaison, imul is 1 cycle everywhere and shl, rol is 0.33 cycle (3
shift per cycle) in Athlon 64.
Have a nice day,
Steph
source : http://www.hardware.fr/articles/623-5/intel-core-2-duo-dossier.html
--
http://nct.ysagoon.com
- [glob2-devel] Division is bad...,
Stéphane Magnenat <=