1. A method comprising: receiving a multi-input bitwise logical operation instruction that specifies two or more input operands and a function operand, wherein a first input operand of the two or more input operands comprises a number of bits, each bit having a corresponding bit in each of the additional input operands in the two or more input operands; writing the function operand to a lookup table; and accessing the lookup table for each set of corresponding input operand bits in the two or more input operands to generate an output for the multi-input bitwise operation instruction.