发明名称 |
INSTRUCTION FOR PERFORMING A PSEUDORANDOM NUMBER GENERATE OPERATION |
摘要 |
A machine instruction is provided that includes an opcode field to provide an opcode, the opcode to identify a perform pseudorandom number operation, and a register field to be used to identify a register, the register to specify a location in memory of a first operand to be used. The machine instruction is executed, and execution includes for each block of memory of one or more blocks of memory of the first operand, generating a hash value using a 512 bit secure hash technique and at least one seed value of a parameter block of the machine instruction; and storing at least a portion of the generated hash value in a corresponding block of memory of the first operand, the generated hash value being at least a portion of a pseudorandom number. |
申请公布号 |
US2016202984(A1) |
申请公布日期 |
2016.07.14 |
申请号 |
US201615008850 |
申请日期 |
2016.01.28 |
申请人 |
INTERNATIONAL BUSINESS MACHINES CORPORATION |
发明人 |
Greiner Dan F.;Nerz Bernd;Visegrady Tamas |
分类号 |
G06F9/30;G06F7/58 |
主分类号 |
G06F9/30 |
代理机构 |
|
代理人 |
|
主权项 |
1. A computer program product for executing a machine instruction, the computer program product comprising:
a computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising:
obtaining a machine instruction for execution, the machine instruction being defined for computer execution according to a computer architecture, the machine instruction comprising an opcode field to provide an opcode, the opcode to identify a perform pseudorandom number operation; andexecuting the machine instruction, the executing comprising:
obtaining a modifier field associated with the machine instruction;based on the modifier field having a first value, performing a deterministic pseudorandom number generate operation, the deterministic pseudorandom number generate operation comprising:
for each block of memory of one or more blocks of memory of a first operand located using the machine instruction, generating a hash value using a selected hash technique and at least one seed value of a parameter block associated with the machine instruction; andstoring at least a portion of the generated hash value in a corresponding block of memory of the first operand, the generated hash value being at least a portion of a pseudorandom number. |
地址 |
Armonk NY US |