[YLUG] Why is this so much faster on an Opteron?
Robert Hulme
rob at robhulme.com
Mon Sep 24 17:00:26 BST 2007
> You've sort of touched on the problem with discovering SSE/SMD
> instructions mask the issue.
> P4 CPUs are notoriously bad at handling infinities, as well as NaNs and
> denormals. Usually this isn't a huge problem, but on the first
> iteration, i == j == 0, so the division becomes "0.505/(0/1)", i.e
> infinity. P4 CPUs are notoriously bad at handling infinities, as well
> as NaNs and denormals. Once f == infinity, all your future divisions
> are also affected.
*facepalm*
*skulks away quietly*
-Rob
--
http://www.robhulme.com/
http://robhu.livejournal.com/
He hoped and prayed that there wasn't an afterlife. Then he realized
there was a contradiction involved here and merely hoped that there
wasn't an afterlife.
-- Douglas Adams (Salmon of Doubt)
More information about the York
mailing list