From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 115614,e489d6e4973d889f X-Google-Attributes: gid115614,public X-Google-Thread: 102b75,e489d6e4973d889f X-Google-Attributes: gid102b75,public X-Google-Thread: 1164f8,e489d6e4973d889f X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2001-08-28 15:18:23 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!nntp.cs.ubc.ca!nntp-relay.ihug.net!lust.ihug.co.nz!ihug.co.nz!bruce From: Bruce Hoult Newsgroups: comp.arch,comp.sys.dec,comp.unix.aix Subject: Re: Can POWER4, 5 etc continue where Alpha was stopped? Date: Tue, 28 Aug 2001 22:14:41 +1200 Organization: ihug ( New Zealand ) Message-ID: References: <88525dde.0108260914.7c63d8c3@posting.google.com> <9mgps0$12ee$1@ausnews.austin.ibm.com> NNTP-Posting-Host: p11-max8.wlg.ihug.co.nz X-Trace: lust.ihug.co.nz 999037102 28916 203.173.231.203 (28 Aug 2001 22:18:22 GMT) X-Complaints-To: abuse@ihug.co.nz NNTP-Posting-Date: Tue, 28 Aug 2001 22:18:22 +0000 (UTC) User-Agent: MT-NewsWatcher/3.0 (PPC) Xref: archiver1.google.com comp.arch:15863 comp.sys.dec:6748 comp.unix.aix:22671 In article <9mgps0$12ee$1@ausnews.austin.ibm.com>, mccalpin@austin.ibm.com wrote: > I can't comment on POWER5 (except that it will be "real good"), > but I would be really surprised if pop count were useful in "quite > a few" supercomputing applications. I know of only one customer > that is very interested in that operation, and have only found > one use for it in my own experience..... (It is a very easy way > to determine if an integer is a power of two -- though I don't > usually care about how long it takes to make this determination.) It's not needed for that -- (x & (x-1)) is zero IFF x is a power of two (or zero). It works by clearing the least significant set bit. I'm sure you knew this. -- Bruce