Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!caen!sol.ctr.columbia.edu!ira.uka.de!smurf!wrkof!orfeo!britesun!vhs From: vhs@britesun.radig.de (Volker Herminghaus-Shirai) Newsgroups: comp.arch Subject: Re: bizarre instructions Message-ID: <1991Feb23.173831.461@britesun.radig.de> Date: 23 Feb 91 17:38:31 GMT References: <9102210042.AA12291@ucbvax.Berkeley.EDU> Organization: private site Lines: 10 JBS@IBM.COM writes: > I would like an instruction which counts the number of ones in >the binary representation of an integer but I find it hard to argue >that this would be widely used. It does seem to be widely used indeed; as far as I know the inmos transputer T800 has this instruction, along with other instructions like inverting the sequence of the bits in an int etc. I think those are used for CRC calculation and picture processing, though I'm not sure about that. -- Volker Herminghaus-Shirai (vhs@britesun.radig.de) panic: 80x86! Trying to vomit... Brought to you by Super Global Mega Corp .com