发明名称 INSTRUCTIONS TO COUNT CONTIGUOUS REGISTER ELEMENTS HAVING SPECIFIC VALUES
摘要 A machine instruction to find a condition location within registers, such as vector registers. The machine instruction has associated therewith a register to be examined and a result location. The register includes a plurality of elements. In execution, the machine instruction counts a number of contiguous elements of the plurality of elements of the register having a particular value in a selected location within the contiguous elements. Other locations within the contiguous elements are ignored for the counting. The counting provides a count placed in the result location.
申请公布号 US2016378478(A1) 申请公布日期 2016.12.29
申请号 US201514869853 申请日期 2015.09.29
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 Gschwind Michael K.;Kaltenbach Markus;Leenstra Jentje;Olsson Brett
分类号 G06F9/30 主分类号 G06F9/30
代理机构 代理人
主权项 1. A computer-implemented method of executing a machine instruction, said computer-implemented method comprising: obtaining, by a processor, a machine instruction to be executed, the machine instruction having associated therewith a register to be examined and a result location to be used for the machine instruction, the register comprising a plurality of elements; and executing, by the processor, the machine instruction, the executing comprising: counting a number of contiguous elements of the plurality of elements of the register having a particular value in a selected location within the contiguous elements, wherein other locations within the contiguous elements are ignored for the counting, the counting providing a count; andplacing the count in the result location.
地址 Armonk NY US