This is the mail archive of the gcc@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]

Re: long long performance


On Wed, Dec 13, 2000 at 02:02:21PM -0800, Rob Willis wrote:

> Which just seems wrong.  And even worse is casting from a double to a
> long or casting from a double to a long long, both give me the following
> (again - i subtracted out the overhead times):

You are aware that casting from floating point to integer requires an
FPU CW get, set, set? It's very slow.

m.

-- 
Programmer             "Ha ha." "Ha ha." "What are you laughing at?"
Loki Software                      "Just the horror of being alive."
http://lokigames.com/~briareos/                   - Tony Millionaire

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