发明名称 FINDING THE LENGTH OF A SET OF CHARACTER DATA HAVING A TERMINATION CHARACTER
摘要 The length of character data having a termination character is determined. The character data for which the length is to be determined is loaded, in parallel, within one or more vector registers. An instruction is used that loads data in a vector register to a specified boundary, and provides a way to determine the number of characters loaded, using, for instance, another instruction. Further, an instruction is used to find the index of the first termination character, e.g., the first zero or null character. This instruction searches the data in parallel for the termination character. By using these instructions, the length of the character data is determined using only one branch instruction.
申请公布号 SG11201404858X(A) 申请公布日期 2014.09.26
申请号 SGX11201404858 申请日期 2013.03.01
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 BRADBURY, JONATHAN, DAVID;GSCHWIND, MICHAEL, KARL;SLEGEL, TIMOTHY
分类号 H03M7/40 主分类号 H03M7/40
代理机构 代理人
主权项
地址