发明名称 Vector floating point test data class immediate instruction
摘要 A Vector Floating Point Test Data Class Immediate instruction is provided that determines whether one or more elements of a vector specified in the instruction are of one or more selected classes and signs. If a vector element is of a selected class and sign, an element in an operand of the instruction corresponding to the vector element is set to a first defined value, and if the vector element is not of the selected class and sign, the operand element corresponding to the vector element is set to a second defined value.
申请公布号 US9436467(B2) 申请公布日期 2016.09.06
申请号 US201414561459 申请日期 2014.12.05
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 Bradbury Jonathan D.;Schwarz Eric M.
分类号 G06F9/30 主分类号 G06F9/30
代理机构 Heslin Rothenberg Farley & Mesiti P.C. 代理人 Kinnaman, Jr., Esq. William A.;Schiller, Esq. Blanche E.;Heslin Rothenberg Farley & Mesiti P.C.
主权项 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 Floating Point Test Data Class Immediate operation;a first register field to be used to designate a first register, the first register comprising a first operand; anda second register field to be used to designate a second register, the second register comprising a second operand; anda mask field; andexecuting the machine instruction, the executing comprising: determining properties of a chosen element of the second operand, wherein the mask field indicates whether one or more elements of the second operand are to be included in the determining;selecting from an input to the machine instruction a selected data unit representing the properties of the chosen element, the input including one or more data units to represent one or more properties;checking whether the selected data unit is set to a particular value; andbased on the checking, setting an element in the first operand that corresponds to the chosen element of the second operand, the setting based on whether the selected data unit is set to the particular value.
地址 Armonk NY US