🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #3222

Re: Uses for unusual instructions

#3222
From: Henry Spencer
Date: Thu, 30 Nov 1989 17:13
9 lines
810 bytes
In article <15300@haddock.ima.isc.com> suitti@anchovy.UUCP (Stephen Uitti) writes:
>...[bit counting] Could
>this task be done efficiently without the instruction?  Probably.

Certainly.  Use table lookup a byte at a time.  "Never recompute what
you can precompute."
-- 
Mars can wait:  we've barely   |     Henry Spencer at U of Toronto Zoology
started exploring the Moon.    | uunet!attcan!utzoo!henry henry@zoo.toronto.edu
Technical Details
Message-ID: <1989Nov30.171354.7744@utzoo.uucp>
Path: arc1-ca.pugleaf.net!utzoo!henry
References: <1743@l.cc.purdue.edu> <1989Nov27.173555.19673@fxgrp.fx.com> <5446@internal.Apple.COM> <15300@haddock.ima.isc.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.arch
Path: arc1-ca.pugleaf.net!utzoo!henry
From: henry@utzoo.uucp (Henry Spencer)
Subject: Re: Uses for unusual instructions
Message-ID: <1989Nov30.171354.7744@utzoo.uucp>
Organization: U of Toronto Zoology
References: <1743@l.cc.purdue.edu> <1989Nov27.173555.19673@fxgrp.fx.com> <5446@internal.Apple.COM> <15300@haddock.ima.isc.com>
Date: Thu, 30 Nov 89 17:13:54 GMT