This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: long long performance
- To: Rob Willis <rob at e-critical dot com>
- Subject: Re: long long performance
- From: Michael Vance <briareos at lokigames dot com>
- Date: Wed, 13 Dec 2000 14:34:59 -0800
- Cc: gcc at gcc dot gnu dot org
- References: <3A37F1ED.ED6C4133@e-critical.com>
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