SIMD on Windows

Jonathan Dunlap jadit2 at gmail.com
Mon Jul 1 10:19:01 PDT 2013


Thanks Manu, I think I understand. Quick questions, so I've 
updated my test to allow for loop unrolling 
http://dpaste.dzfl.pl/12933bc8 as the calculation is done over an 
array of elements and does not depend on the last operation. My 
problem is that the program reports using 0 time. However, as 
soon as I start printing out elements the time then jumps to 
looking more realistic. However, even if I print the elements of 
the list after I print the calculation operation, I still get 
zero seconds. Like:

1: calc time
2: do operations
3: print time delta (result:0 time)
4: print all values from operation

1: calc time
2: do operations
3: print all values from operation
4: print time delta (result:large time delta actually shown)

Is D performing operations lazily by default or am I missing 
something?


More information about the Digitalmars-d mailing list