|
From: Richard A. S. <rs...@bi...> - 2002-11-13 17:36:11
|
On 13 Nov 2002 17:47:14 +0100, Benno Senoner wrote: > The strange thing is that on most modern x86 CPUs using doubles is as > fast/faster than floats. That's good :-) > Perhaps thats due to data bus size and the FPU size. Modern x86s FPUs are 80-bit IIRC. The data bus is 64 bits wide so fetching a double or float from memory take the same ammount of cycles. Perhaps going from a 32-bit float to the 80 bit FPU format involves a cast that uses more cycles than a 64 bit double to 80-bit. -- Richard A. Smith Bitworks, Inc. rs...@bi... 479.846.5777 x104 Sr. Design Engineer http://www.bitworks.com |