Finding the length of a set of character data having a termination character

    公开(公告)号:US09323523B2

    公开(公告)日:2016-04-26

    申请号:US13421640

    申请日:2012-03-15

    IPC分类号: G06F12/00 G06F9/30

    摘要: 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.

    COPYING CHARACTER DATA HAVING A TERMINATION CHARACTER FROM ONE MEMORY LOCATION TO ANOTHER
    16.
    发明申请
    COPYING CHARACTER DATA HAVING A TERMINATION CHARACTER FROM ONE MEMORY LOCATION TO ANOTHER 有权
    复制字符数据,从一个存储位置发送到另一个终止字符

    公开(公告)号:US20130246739A1

    公开(公告)日:2013-09-19

    申请号:US13421498

    申请日:2012-03-15

    IPC分类号: G06F9/312

    摘要: Copying characters of a set of terminated character data from one memory location to another memory location using parallel processing and without causing unwarranted exceptions. The character data to be copied is loaded within one or more vector registers. In particular, in one embodiment, an instruction (e.g., a Vector Load to block Boundary instruction) is used that loads data in parallel in a vector register to a specified boundary, and provides a way to determine the number of characters loaded. To determine the number of characters loaded (a count), another instruction (e.g., a Load Count to Block Boundary instruction) is used. Further, an instruction (e.g., a Vector Find Element Not Equal instruction) is used to find the index of the first delimiter character, i.e., the first termination character, such as a zero or null character within the character data. This instruction checks a plurality of bytes of data in parallel.

    摘要翻译: 使用并行处理将一组终止的字符数据的字符从一个存储器位置复制到另一个存储器位置,并且不引起无理的异常。 要复制的字符数据被加载到一个或多个向量寄存器中。 特别地,在一个实施例中,使用将矢量寄存器中并行的数据加载到指定边界的指令(例如,向量块向量边界指令),并且提供了确定加载的字符数的方法。 为了确定加载的字符数(计数),使用另一条指令(例如,向块边界指令的加载计数)。 此外,使用指令(例如,矢量查找元素不等于指令)来找到第一分隔符字符的索引,即第一终止字符,例如字符数据内的零或空字符。 该指令并行地检查多个字节的数据。

    Finding the length of a set of character data having a termination character

    公开(公告)号:US09389857B2

    公开(公告)日:2016-07-12

    申请号:US13421640

    申请日:2012-03-15

    IPC分类号: G06F12/00 G06F9/30

    摘要: 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.

    Copying character data having a termination character from one memory location to another

    公开(公告)号:US09389856B2

    公开(公告)日:2016-07-12

    申请号:US13421498

    申请日:2012-03-15

    IPC分类号: G06F12/00 G06F9/30

    摘要: Copying characters of a set of terminated character data from one memory location to another memory location using parallel processing and without causing unwarranted exceptions. The character data to be copied is loaded within one or more vector registers. In particular, in one embodiment, an instruction (e.g., a Vector Load to block Boundary instruction) is used that loads data in parallel in a vector register to a specified boundary, and provides a way to determine the number of characters loaded. To determine the number of characters loaded (a count), another instruction (e.g., a Load Count to Block Boundary instruction) is used. Further, an instruction (e.g., a Vector Find Element Not Equal instruction) is used to find the index of the first delimiter character, i.e., the first termination character, such as a zero or null character within the character data. This instruction checks a plurality of bytes of data in parallel.

    Copying character data having a termination character from one memory location to another

    公开(公告)号:US09323522B2

    公开(公告)日:2016-04-26

    申请号:US13421498

    申请日:2012-03-15

    IPC分类号: G06F12/00 G06F9/30

    摘要: Copying characters of a set of terminated character data from one memory location to another memory location using parallel processing and without causing unwarranted exceptions. The character data to be copied is loaded within one or more vector registers. In particular, in one embodiment, an instruction (e.g., a Vector Load to block Boundary instruction) is used that loads data in parallel in a vector register to a specified boundary, and provides a way to determine the number of characters loaded. To determine the number of characters loaded (a count), another instruction (e.g., a Load Count to Block Boundary instruction) is used. Further, an instruction (e.g., a Vector Find Element Not Equal instruction) is used to find the index of the first delimiter character, i.e., the first termination character, such as a zero or null character within the character data. This instruction checks a plurality of bytes of data in parallel.

    Character data match determination by loading registers at most up to memory block boundary and comparing
    20.
    发明授权
    Character data match determination by loading registers at most up to memory block boundary and comparing 有权
    字符数据匹配确定通过加载寄存器最多达到内存块边界和比较

    公开(公告)号:US09268566B2

    公开(公告)日:2016-02-23

    申请号:US13421614

    申请日:2012-03-15

    摘要: Multiple sets of character data having termination characters are compared using parallel processing and without causing unwarranted exceptions. Each set of character data to be compared is loaded within one or more vector registers. In particular, in one embodiment, for each set of character data to be compared, 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. Further, an instruction is used to find the index of the first delimiter character, i.e., the first zero or null character, or the index of unequal characters. Using these instructions, a location of the end of one of the sets of data or a location of an unequal character is efficiently provided.

    摘要翻译: 使用并行处理来比较具有终止字符的多组字符数据,并且不引起无理的异常。 要比较的每组字符数据被加载到一个或多个向量寄存器内。 特别地,在一个实施例中,对于要比较的每组字符数据,使用将向量寄存器中的数据加载到指定边界的指令,并提供确定加载的字符数的方式。 此外,使用指令来找到第一分隔符字符的索引,即第一个零或空字符或不等字符的索引。 使用这些指令,有效地提供了数据集合中的一个的结束位置或不平等字符的位置。