发明名称 VECTOR ELEMENT ROTATE AND INSERT UNDER MASK INSTRUCTION
摘要 A Vector Element Rotate and Insert Under Mask instruction. Each element of a second operand of the instruction is rotated in a specified direction by a specified number of bits. For each bit in a third operand of the instruction that is set to one, the corresponding bit of the rotated elements in the second operand replaces the corresponding bit in a first operand of the instruction.
申请公布号 US2015143088(A1) 申请公布日期 2015.05.21
申请号 US201414561276 申请日期 2014.12.05
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 Bradbury Jonathan D.;Enenkel Robert F.;Schwarz Eric M.;Slegel Timothy J.
分类号 G06F9/30 主分类号 G06F9/30
代理机构 代理人
主权项 1. A method of executing a machine instruction in a central processing unit, the method comprising: obtaining, by a processor, a machine instruction for execution, the machine instruction being defined for computer execution according to a computer architecture, the machine instruction comprising: at least one opcode field to provide an opcode, the opcode identifying a Vector Element Rotate And Insert Under Mask operation;a first register field to be used to designate a first register, the first register comprising a first operand;a second register field to be used to designate a second register, the second register comprising a second operand;a third register field to be used to designate a third register, the third register comprising a third operand; and executing the machine instruction, the executing comprising: rotating one or more elements of the second operand in a selected direction by a specified amount to rotate;checking the third operand for one or more data units having a particular value; andbased on the third operand having the one or more data units with the particular value, replacing one or more values of corresponding data units in the first operand with one or more values of corresponding data units in the second operand that has been rotated.
地址 Armonk NY US