“A few years ago, I realized that this 8-bit value doesn’t have to be understood as just a set of logical operators. Instead, it’s fundamentally just a lookup table.”
Intel’s AVX-512 vpternlogd takes three registers and an 8-bit immediate that encodes any Boolean function of them. The Amiga 500’s blitter did the same thing in 1985 with its minterm byte. Write the truth table, read the result column bottom to top, and you have the value. Most documentation says only that the immediate “determines the specific binary function.” Forty years later the manual is still the hard part.