Floating point speed test

27 views
Skip to first unread message

Alan Gent

unread,
Dec 3, 2024, 4:29:24 PMDec 3
to xbl...@googlegroups.com
I have done some simple speed and accuracy tests on floating point maths to compare X87 code with XMM code. The comments in the attached file should be reasonably self explanatory.

I have read comments that XMM maths is faster than X87. My tests confirm that XMM can at least match X87 for a fairly simple case. In 64 bit mode, the parameter passing would be more efficient than here so XMM should then be a bit faster.





 
floats.x

David Szafranski

unread,
Dec 9, 2024, 4:50:55 AM (13 days ago) Dec 9
to xblite
Cool. Quite a big improvement in speed with the xmm registers. 
D.
Reply all
Reply to author
Forward
0 new messages