| View previous topic :: View next topic |
| Author |
Message |
Robert Hyatt
Joined: 27 Feb 2006 Posts: 15816 Location: Birmingham, AL
|
Post subject: Re: SSE4 instructions Posted: Wed May 23, 2012 3:37 pm |
|
|
| rbarreira wrote: |
| Engin wrote: |
| ..and i forgot to say that you can only gain if you using 64 bit, its not make any sense if you are using it for 32 bit version. |
Why? I'm pretty sure that doing "hw_popcount (low_32_bits) + hw_popcount (high_32_bits)" is faster than other methods of doing 64-bit popcnt on a 32-bit architecture. |
There is a long-standing myth that bitboards only work on 64 bit machines. I've been using bitboards since the original pentium PC with good results. David Slate did bitboards on a 60 bit machine that required two instructions to manipulate them for the very same reason, yet chess 4.x seemed to work quite well.
One of the "bitboard tricks of the trade" is to not rely too heavily on popcnt() type operations, and there are some ways to do that for at least mobility which is a heavy popcnt() user...
I am not sure why one would do a pair of 32 bit operations on a machine that is obviously 64 bits (those are the only processors with hardware popcnt)... |
|
| Back to top |
|
 |
|
| Subject |
Author |
Date/Time |
SSE4 instructions |
Maurizio Maglio |
Mon May 21, 2012 8:48 pm |
Re: SSE4 instructions |
Adam Hair |
Mon May 21, 2012 10:47 pm |
Re: SSE4 instructions |
Maurizio Maglio |
Tue May 22, 2012 7:47 am |
Re: SSE4 instructions |
Joona Kiiski |
Tue May 22, 2012 1:55 pm |
Re: SSE4 instructions |
Engin Üstün |
Tue May 22, 2012 8:11 pm |
Re: SSE4 instructions |
Maurizio Maglio |
Tue May 22, 2012 8:41 pm |
Re: SSE4 instructions |
Robert Hyatt |
Wed May 23, 2012 3:39 pm |
Re: SSE4 instructions |
Engin Üstün |
Tue May 22, 2012 7:31 pm |
Re: SSE4 instructions |
Engin Üstün |
Tue May 22, 2012 7:34 pm |
Re: SSE4 instructions |
Ricardo Barreira |
Wed May 23, 2012 7:40 am |
Re: SSE4 instructions |
Robert Hyatt |
Wed May 23, 2012 3:37 pm |
Re: SSE4 instructions |
Richard Vida |
Wed May 23, 2012 5:28 pm |
Re: SSE4 instructions |
Robert Hyatt |
Wed May 23, 2012 5:47 pm |
Re: SSE4 instructions |
Ricardo Barreira |
Sat May 26, 2012 3:14 pm |
Re: SSE4 instructions |
Engin Üstün |
Wed May 23, 2012 10:02 pm |
Re: SSE4 instructions |
Vincent Diepeveen |
Thu May 24, 2012 12:02 am |
Re: SSE4 instructions |
Engin Üstün |
Thu May 24, 2012 3:54 pm |
Re: SSE4 instructions |
Engin Üstün |
Thu May 24, 2012 4:07 pm |
Re: SSE4 instructions |
Lucas Braesch |
Thu May 24, 2012 11:03 am |
Re: SSE4 instructions |
Martin Sedlak |
Thu May 24, 2012 11:47 am |
Re: SSE4 instructions |
Vincent Diepeveen |
Thu May 24, 2012 12:35 pm |
Re: SSE4 instructions |
Martin Sedlak |
Thu May 24, 2012 12:46 pm |
Re: SSE4 instructions |
Engin Üstün |
Thu May 24, 2012 4:24 pm |
Re: SSE4 instructions |
Engin Üstün |
Thu May 24, 2012 4:41 pm |
Re: SSE4 instructions |
Engin Üstün |
Wed May 23, 2012 4:35 pm |
Re: SSE4 instructions |
Robert Hyatt |
Wed May 23, 2012 5:48 pm |
Re: SSE4 instructions |
Engin Üstün |
Wed May 23, 2012 10:28 pm |
Re: SSE4 instructions |
Robert Hyatt |
Thu May 24, 2012 3:41 pm |
Re: SSE4 instructions |
Engin Üstün |
Thu May 24, 2012 4:31 pm |
Re: SSE4 instructions |
Engin Üstün |
Thu May 24, 2012 4:35 pm |
Re: SSE4 instructions |
Don Dailey |
Thu May 24, 2012 9:09 pm |
Re: SSE4 instructions |
Richard Vida |
Thu May 24, 2012 9:21 pm |
Re: SSE4 instructions |
Vincent Diepeveen |
Fri May 25, 2012 12:19 am |
Re: SSE4 instructions |
Engin Üstün |
Fri May 25, 2012 10:44 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
|
|