Posted: Thu Mar 04, 2004 3:26 pm
if was an example to show how things may be "curious".
sometimes, the empty loop take more time than the other one.
sometimes, the empty loop take more time than the other one.
http://www.purebasic.com
https://www.purebasic.fr/english/
The result on my Dell Dimension 8200 (P4 2GHz) is,Psychophanta wrote:result is: 110 / 94 / 125 / 46
I don't know, but it seem one more of the Intel incoherences; now with XCHG instruction, and AMD seem to be less incoherent with this instruction.Why is the t2 example so slow? Hmmmm...
Which demonstrates still more incoherenceXCHG eax,ebx is very fast.
it's "XCHG eax,mem" that is slow.
...and your reply came in just 5 years slowTrond wrote:XHCG with memory operand always asserts a bus lock to make the instruction atomic. That's why it's slow.
Since we have the new structure assignment, I request this feature to work for structured types as well.
He wants it for structured typestalisman wrote:...and your reply came in just 5 years slowTrond wrote:XHCG with memory operand always asserts a bus lock to make the instruction atomic. That's why it's slow.
Since we have the new structure assignment, I request this feature to work for structured types as well.
+1 @Trond's request. I think that would be really neat!Trond wrote:Since we have the new structure assignment, I request this feature to work for structured types as well.