If you need a compact byte -> bit lookup table on x86, consider using the memory form of the bit test (BT) instruction.