.. 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 mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/glob2-devel

Reply via email to