Invisible <voi### [at] devnull> wrote:
> Is integer addition faster or slower than floating-point addition? How
> about multiplication? How do trigonometric functions compare? Is single
> precision any faster than double precision? Are 8-bit integers faster
> than 16-bit integers?
>
> Does anybody know of a resource where I can get an idea of the relative
> difference in speed between the various arithmetic operations on
> different data types on "typical" current-generation CPUs?
Have a look here:
http://siyobik.info/index.php?module=x86
I suppose the latency times at the end of the page show how many instruction
cycles the CPU needs for the instruction
Post a reply to this message
|