|[5 earlier articles]|
|Re: Bit Swizzling email@example.com (Chris) (2020-09-06)|
|Re: Bit swizzling firstname.lastname@example.org (Martin Ward) (2020-09-07)|
|Re: Bit swizzling email@example.com (Rick C. Hodgin) (2020-09-07)|
|Re: Bit swizzling DrDiettrich1@netscape.net (Hans-Peter Diettrich) (2020-09-08)|
|Re: Bit swizzling firstname.lastname@example.org (Tom Crick) (2020-09-08)|
|Re: Bit swizzling email@example.com (gah4) (2020-09-10)|
|Re: Bit swizzling firstname.lastname@example.org (Rick C. Hodgin) (2020-09-10)|
|From:||"Rick C. Hodgin" <email@example.com>|
|Date:||Thu, 10 Sep 2020 17:13:24 -0400|
|Organization:||Liberty Software Foundation|
|Injection-Info:||gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="64204"; mail-complaints-to="firstname.lastname@example.org"|
|Posted-Date:||10 Sep 2020 20:12:59 EDT|
On 9/10/20 1:34 PM, gah4 wrote:
> On Saturday, September 5, 2020 at 9:45:43 AM UTC-7, Rick C. Hodgin wrote:
>> Are there any algorithms which take a known-at-compile-time sequence
>> of bitwise operations on an 8-bit to 64-bit quantity, and optimize
>> them down to their minimal set of operations? ...
> There is a lot of work, and many algorithms, for logic optimization,
> or minimization, that, for example, will find the optimal combination
> of NAND and NOR gates to evaluate some logical operation. ...
I have a preliminary algorithm that works, but it's still not fully
optimized and is a little clunky.
I want a way to abstract the logic and work with it there.
I haven't put in any additional time on this algorithm yet, due to
some life things happening. But I plan to come back to it.
Rick C. Hodgin
Return to the
Search the comp.compilers archives again.