July 2002
Intermediate to advanced
320 pages
8h 15m
English
To do general permutations of the bits in a word, or of anything else, a central problem is how to represent the permutation. It cannot be represented very compactly. Because there are 32! permutations of the bits in a 32-bit word, at least
or three words plus 22 bits, are required to designate one permutation out of the 32!.
One interesting way to represent permutations is closely related to the compression operations discussed in Section 7-4 [GLS1]. Start with the direct method of simply listing the bit position to which each bit moves. For example, for the permutation done by a rotate left ...
Read now
Unlock full access