Files
stockfish/src
Marco Costalba 8d369600ec Double prefetch on Windows
After fixing the cpu frequency with RightMark tool I was
able to test speed all the different prefetch combinations.

Here the results:

OS Windows Vista 32bit, MSVC compile
CPU Intecl Core 2 Duo T5220 1.55 GHz
bench on depth 12, 1 thread, 26552844 nodes searched
results in nodes/sec

no-prefetch
402486, 402005, 402767, 401439, 403060

single prefetch (aligned 64)
410145, 409159, 408078, 410443, 409652

double prefetch (aligned 64) 0+32
414739, 411238, 413937, 414641, 413834

double prefetch (aligned 64) 0+64
413537, 414337, 413537, 414842, 414240

And now also some crazy stuff:

single prefetch (aligned 128)
410145, 407395, 406230, 410050, 409949

double prefetch (aligned 64) 0+0
409753, 410044, 409456

single prefetch (aligned 64) +32
408379, 408272, 406809

single prefetch (aligned 64) +64
408279, 409059, 407395

So it seems the best is a double prefetch at the addres + 32 or +64,
I will choose the second one because it seems more natural to me.

It is still a mystery why it doesn't work under Linux :-(

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
2009-08-10 22:35:08 +01:00
..
2009-05-10 18:38:47 +01:00
2009-05-20 14:43:17 +02:00
2009-05-20 15:11:41 +02:00
2009-05-20 14:43:17 +02:00
2009-05-20 15:11:41 +02:00
2009-08-08 17:37:13 +01:00
2009-05-10 18:38:47 +01:00
2009-07-26 09:07:42 +01:00
2009-08-10 01:42:35 +01:00
2009-08-10 01:42:35 +01:00
2009-07-02 06:29:14 +01:00
2009-08-10 01:42:35 +01:00
2009-06-12 13:10:40 +02:00
2009-07-02 06:29:25 +01:00
2009-08-10 22:35:08 +01:00
2009-08-10 13:49:00 +01:00
2009-07-20 10:53:41 +01:00
2009-07-10 18:50:43 +01:00
2009-05-10 18:38:47 +01:00
2009-07-09 16:45:39 +01:00