25-05-2017 дата публикации
Номер: US20170147343A1
Принадлежит:
A processor includes an instruction decoder to receive a first instruction to process a secure hash algorithm 2 (SHA-2) hash algorithm, the first instruction having a first operand associated with a first storage location to store a SHA-2 state and a second operand associated with a second storage location to store a plurality of messages and round constants. The processor further includes an execution unit coupled to the instruction decoder to perform one or more iterations of the SHA-2 hash algorithm on the SHA-2 state specified by the first operand and the plurality of messages and round constants specified by the second operand, in response to the first instruction. 1. A system comprising:a memory;a processor coupled with the memory, the processor comprising:a plurality of 128-bit single instruction, multiple data (SIMD) registers;a decode unit coupled to the instruction fetch unit, the decode unit to decode instructions, including a Secure Hash Algorithm (SHA) 256 schedule instruction, the SHA256 schedule instruction having:{'b': 31', '0', '63', '32', '95', '64', '127', '96, 'a first field to specify a first 128-bit SIMD source register of the 128-bit SIMD registers, the first 128-bit SIMD source register to store a first operand that is to include a first 32-bit data element in bits [:], a second 32-bit data element in bits [:], a third 32-bit data element in bits [:], and a fourth 32-bit data element in bits [:];'}{'b': 31', '0', '63', '32', '95', '64', '127', '96, 'a second field to specify a second 128-bit SIMD source register of the 128-bit SIMD registers, the second 128-bit SIMD source register to store a second operand that is to include a fifth 32-bit data element in bits [:], a sixth 32-bit data element in bits [:], a seventh 32-bit data element in bits [:], and an eighth 32-bit data element in bits [:]; and'}{'b': 31', '0', '63', '32', '95', '64', '127', '96, 'a third field to specify a third 128-bit SIMD source register of the 128-bit SIMD registers, ...
Подробнее