Re: Any libraries for vector mask and vector population count?
- From: Tim Prince <tprince@xxxxxxxxxxxxxxxxxx>
- Date: Sun, 06 Apr 2008 19:10:12 GMT
Tim Prince wrote:
Dan wrote:
I have some legacy code which includes calls to the CAL2 vector mask
and vector population count instructions. Lacking a nearby Cray, does
anyone know of subroutines that implement these instructions?
Maybe it would help to show some of the code, if it isn't secret like much usage of popcount.
Apparently, GMP supports popcount for those processors which implement it.
The Intel manuals have MMX/SSE{1234} instructions which might work,
and AMD has the "something-now" which are apparently the same, but
I've not seen any demo code emulating the mask and popcount
instructions.
SSE popcount instruction isn't available in currently released hardware, but it will be along soon.
Wrong, it's in the original SSE4 supported by Penryn processors:
http://softwarecommunity.intel.com/articles/eng/1193.htm
(no compiler support, except for a C compatible library function).
.
- Follow-Ups:
- References:
- Prev by Date: Re: Fortran 77 parser
- Next by Date: Re: Fortran 77 parser
- Previous by thread: Re: Any libraries for vector mask and vector population count?
- Next by thread: Re: Any libraries for vector mask and vector population count?
- Index(es):
Relevant Pages
|