| View previous topic :: View next topic |
| Author |
Message |
Ronald de Man
Joined: 28 Feb 2012 Posts: 841
|
Post subject: Re: using Popcount and Prefetch with SSE4 hardware support Posted: Sat May 19, 2012 3:57 pm |
|
|
| Engin wrote: |
i do prefetch right after a move is maked, and right before the key is used, nothing helps.
so what is the right place to get a speed up ? |
Right before the memory access it will be too late to do a prefetch. The idea of a memory prefetch is that the memory you are going to access is brought into the cache before the actual access takes place.
I think the best place to do the memory prefetch is right after you have finished calculating the hashkey for the new position, so probably within your make_move() routine.
| Quote: |
and it seem that on my mashine the SSE4 is working fine and i think on AMD its SSE4.A and not 4.2 like in Intel mashines, some of testing peoples reports me that Tornado SSE4 is crash on his mashine.
are the SSE functions not the same on all mashines ? |
According to Wikipedia, POPCNT is available on Intel beginning with the Nehalem microarchitecture, and on AMD beginning with the Barcelona microarchitecture. POPCNT officially is not part of any SSE instruction set, but if the machine supports SSE4.2 or SSE4a, it seems it should also support POPCNT. |
|
| Back to top |
|
 |
|
| Subject |
Author |
Date/Time |
using Popcount and Prefetch with SSE4 hardware support |
Engin Üstün |
Sat May 19, 2012 2:36 pm |
Re: using Popcount and Prefetch with SSE4 hardware support |
Daniel Shawul |
Sat May 19, 2012 2:53 pm |
Re: using Popcount and Prefetch with SSE4 hardware support |
Engin Üstün |
Sat May 19, 2012 3:05 pm |
Re: using Popcount and Prefetch with SSE4 hardware support |
Gerd Isenberg |
Sat May 19, 2012 4:05 pm |
Re: using Popcount and Prefetch with SSE4 hardware support |
Edmund Moshammer |
Sat May 19, 2012 5:10 pm |
Re: using Popcount and Prefetch with SSE4 hardware support |
Gerd Isenberg |
Sat May 19, 2012 5:31 pm |
Re: using Popcount and Prefetch with SSE4 hardware support |
Engin Üstün |
Tue May 22, 2012 8:04 pm |
Re: using Popcount and Prefetch with SSE4 hardware support |
Robert Hyatt |
Wed May 23, 2012 3:41 pm |
Re: using Popcount and Prefetch with SSE4 hardware support |
Daniel Shawul |
Tue Jul 10, 2012 12:09 pm |
Re: using Popcount and Prefetch with SSE4 hardware support |
Ronald de Man |
Sat May 19, 2012 3:57 pm |
Re: using Popcount and Prefetch with SSE4 hardware support |
Engin Üstün |
Sat May 19, 2012 5:54 pm |
Re: using Popcount and Prefetch with SSE4 hardware support |
Ronald de Man |
Sat May 19, 2012 6:17 pm |
Re: using Popcount and Prefetch with SSE4 hardware support |
Robert Hyatt |
Sun May 20, 2012 2:51 pm |
Re: using Popcount and Prefetch with SSE4 hardware support |
Engin Üstün |
Tue May 22, 2012 7:54 pm |
Re: using Popcount and Prefetch with SSE4 hardware support |
Engin Üstün |
Tue May 22, 2012 7:56 pm |
Re: using Popcount and Prefetch with SSE4 hardware support |
Ronald de Man |
Tue May 22, 2012 8:15 pm |
Re: using Popcount and Prefetch with SSE4 hardware support |
Engin Üstün |
Wed May 23, 2012 10:19 pm |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|