Method and system for performing permutations with bit permutation instructions
Abstract
The present invention provides permutation instructions which can be used in software executed in a programmable processor for solving permutation problems in cryptography, multimedia and other applications. PPERM and PPERM3R instructions are defined to perform permutations by a sequence of instructions with each sequence specifying the position in the source for each bit in the destination. In the PPERM instruction bits in the destination register that change are updated and bits in the destination register that do not change are set to zero. In the PPERM3R instruction bits in the destination register that change are updated and bits in the destination register that do not change are copied from intermediate result of previous PPERM3R instructions. Both PPERM and PPERM3R instruction can individually do permutation with bit repetition. Both PPERM and PPERM3R instruction can individually do permutation of bits stored in more than one register. In an alternate embodiment, a GRP instruction is defined to perform permutations. The GRP instruction divides the initial sequence in the source register into two groups depending on control bits. The first group is combined with the second gr
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 34 · Forward citations: 5.
Claims (3 — 2 Independent, 1 Dependent)
- Claim 1Independent Claim
A computer system for performing permutations comprising: a source register; a configuration register; a destination register; in response to a GRP instruction dividing n bits in said source register into a first group and a second group, wherein each of said n bits is selected into said first group if a corresponding bit in the configuration register is “0” and each of said n bits is selected into said second group if a corresponding bit in the configuration register is “1”, concatenating the bits of said first group and the bits of said second group and placing the concatenated bits in said
- Claim 2Depends on #1
A computer system of claim 1 wherein the relative positions of bits within said first group and said second group do not change.
- Claim 3Independent Claim
A computer readable medium having stored thereon data representing a permutation instructions, which
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (34)
Non-Patent Literature (4)
- Advanced Encryption Standard, "Announcing Request for Candidate Algorithm Nominatins for the Advanced Encryption Standard (AES)," http://csrc.nist.gov/encryption/aes/pre-round1/aes-9709.htm.
- Lee, Ruby B., "Accelerating Multimedia With Enhanced Microprocessors", IEEE Micro, Apr. 1995, pp. 22-32.
- Lee, Ruby B., "Subword Parallelism With MAX-2", Aug. 1996, IEEE Micro, pp. 51-59.
- Zhijie et al. "Bit Permutation Instructions for Accelerating Software Cryptography", in Proc. IEEE Intl Conf Application-Specific Systems, Architectures and Processors, pp. 138-148, Jul. 2000.