🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #11794

Re: new instructions

#11794
From: peter da silva
Date: Fri, 24 May 1991 21:15
9 lines
974 bytes
In article <1991May24.175323.9730@netcom.COM>, craig@netcom.COM (Craig Hansen) writes:
> The C code below uses the well-known doubling technique
> to count ones in a bit string of arbitrary length.

Yow. How about combining it with Duff's Device to *really* make it confusing,
and allow the bit string to start on an arbitrary byte boundary.
-- 
Peter da Silva; Ferranti International Controls Corporation; +1 713 274 5180;
Sugar Land, TX  77487-5012;         `-_-' "Have you hugged your wolf, today?"
Technical Details
Message-ID: <GHJB_T1@xds13.ferranti.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!rpi!uupsi!ficc!peter
References: <24216@lanl.gov> <1991May23.192557.7558@kithrup.COM> <1991May24.175323.9730@netcom.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!rpi!uupsi!ficc!peter
From: peter@ficc.ferranti.com (peter da silva)
Newsgroups: comp.arch
Subject: Re: new instructions
Message-ID: <GHJB_T1@xds13.ferranti.com>
Date: 24 May 91 21:15:52 GMT
References: <24216@lanl.gov> <1991May23.192557.7558@kithrup.COM> <1991May24.175323.9730@netcom.COM>
Organization: Ferranti International Controls Corporation
Lines: 9