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.

    Intra-instructional transaction abort handling
    164.
    发明授权
    Intra-instructional transaction abort handling 有权
    教学内部交易中止处理

    公开(公告)号:US09311101B2

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

    申请号:US13524370

    申请日:2012-06-15

    IPC分类号: G06F9/38 G06F9/30 G06F9/46

    摘要: Embodiments relate to intra-instructional transaction abort handling. An aspect includes using an emulation routine to execute an instruction within a transaction. The instruction includes at least one unit of operation. The transaction effectively delays committing stores to memory until the transaction has completed successfully. After receiving an abort indication, emulation of the instruction is terminated prior to completing the execution of the instruction. The instruction is terminated after the emulation routine completes any previously initiated unit of operation of the instruction.

    摘要翻译: 实施例涉及教学内交易中止处理。 一方面包括使用仿真例程来执行事务内的指令。 该指令至少包含一个操作单元。 交易有效地延迟提交存储到内存,直到事务成功完成。 在接收到中止指示之后,在完成执行指令之前终止指令的仿真。 在仿真程序完成任何先前启动的指令的操作单元之后,指令终止。

    Character data match determination by loading registers at most up to memory block boundary and comparing
    165.
    发明授权
    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.

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

    Transaction diagnostic block
    168.
    发明授权
    Transaction diagnostic block 有权
    事务诊断块

    公开(公告)号:US08880959B2

    公开(公告)日:2014-11-04

    申请号:US13524916

    申请日:2012-06-15

    IPC分类号: G06F11/00

    摘要: When an abort of a transaction occurs, a determination is made as to whether diagnostic information is to be stored in one or more transaction diagnostic blocks (TDBs). There are different types of transaction diagnostic blocks to accept diagnostic information depending on the type of abort and other considerations. As examples, there are a program-specified TDB in which information is stored if a valid TDB address is provided in a transaction begin instruction; a program interruption TDB, which is stored into when the program is aborted due to an interruption; and a program interception TDB, which is stored into when an abort results in an interception.

    摘要翻译: 当事务中止发生时,确定是否将诊断信息存储在一个或多个事务诊断块(TDB)中。 有不同类型的事务诊断块可以根据中止类型和其他注意事项接收诊断信息。 作为示例,存在如果在事务开始指令中提供有效的TDB地址则存储信息的程序指定的TDB; 程序中断TDB,其由于中断而被存储到程序中止时; 以及程序拦截TDB,当中止导致拦截时被存储。