Tristate - wanna?

Johan Engelen via Digitalmars-d digitalmars-d at puremagic.com
Sun Mar 27 05:13:14 PDT 2016


On Saturday, 26 October 2013 at 21:05:36 UTC, Andrei Alexandrescu 
wrote:
>
> One challenge in Tristate (or the as-of-yet-unwritten 
> Fourstate) is to define the primitives |, &, ^, and ~ with 
> minimum of operations. For example Tristate still has 
> conditionals in two of them, which I think could be cleverly 
> avoided.

Have you tried to find ideas from LDC's output ?
I've seen impressive LLVM optimization results (and 
vectorizations) for this sort of stuff.

-Johan


More information about the Digitalmars-d mailing list