From: "Andy "Krazy" Glew" on
Skybuck Flying wrote:
> Ok,
>
> I did a little bit of searching for similar patents/concepts and I already
> found one on the second try, BINGO:

Branchless code.

Branch elimination.

Since this was a well known topic even in 1990, there are undoubtedly
different, earlier, names. Hmm. IF conversion?

I was taught to eliminate IFs by multiplacation in FORTRAN in 1978. I
think I learned it from a FORTRAN IV book, quite old at the time.

answer = c1*answer1 + c2*answer2 + ...

Table lookup, as you know.

You mind look at the superoptimizer papers from Henri Massalin.