Byte swap operation for a 64 bit operand
    1.
    发明授权
    Byte swap operation for a 64 bit operand 失效
    64位操作数的字节交换操作

    公开(公告)号:US07047383B2

    公开(公告)日:2006-05-16

    申请号:US10194598

    申请日:2002-07-11

    IPC分类号: G06F12/00

    摘要: A method for a byte swap operation on a 64 bit operand. The method of one embodiment comprises accessing an operand stored in a register. The operand is comprised of a plurality of bytes of data. A first set of bytes located in an upper half of said register is reordered. A second set of bytes located in a lower half of said register is reordered. The first set of bytes is swapped with the second set of bytes, wherein the first set of bytes is relocated to the lower half of the register and the second set of bytes is relocated to the upper half of the register.

    摘要翻译: 一种用于在64位操作数上进行字节交换操作的方法。 一个实施例的方法包括访问存储在寄存器中的操作数。 操作数由多个字节的数据组成。 位于所述寄存器的上半部分的第一组字节被重新排序。 位于所述寄存器下半部分的第二组字节被重新排序。 第一组字节与第二组字节交换,其中第一组字节被重新定位到寄存器的下半部分,第二组字节被重新定位到寄存器的上半部分。

    METHOD AND APPARATUS FOR EFFICIENTLY MANAGING ARCHITECTURAL REGISTER STATE OF A PROCESSOR
    2.
    发明申请
    METHOD AND APPARATUS FOR EFFICIENTLY MANAGING ARCHITECTURAL REGISTER STATE OF A PROCESSOR 有权
    有效管理处理者建筑登记状态的方法和装置

    公开(公告)号:US20160179527A1

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

    申请号:US14581535

    申请日:2014-12-23

    IPC分类号: G06F9/30

    摘要: An apparatus and method for efficiently managing the architectural state of a processor. For example, one embodiment of a processor comprises: a source mask register to be logically subdivided into at least a first portion to store a usable portion of a mask value and a second portion to store an indication of whether the usable portion of the mask value has been updated; a control register to store an unusable portion of the mask value; architectural state management logic to read the indication to determine whether the mask value has been updated prior to performing a store operation, wherein if the mask value has been updated, then the architectural state management logic is to read the usable portion of the mask value from the first portion of the source mask register and zero out bits of the unusable portion of the mask value to generate a final mask value to be saved to memory, and wherein if the mask value has not been updated, then the architectural state management logic is to concatenate the usable portion of the mask value with the unusable portion of the mask value read from the control register to generate a final mask value to be saved to memory.

    摘要翻译: 一种用于有效管理处理器的架构状态的装置和方法。 例如,处理器的一个实施例包括:源屏蔽寄存器,其逻辑地细分为至少第一部分以存储掩模值的可用部分,以及第二部分,用于存储掩模值的可用部分的指示 已经升级; 控制寄存器,用于存储掩模值的不可用部分; 架构状态管理逻辑,用于读取指示以确定在执行存储操作之前是否更新了掩码值,其中如果掩码值已被更新,则架构状态管理逻辑将从掩码值的可用部分读取 源掩码寄存器的第一部分和掩模值的不可用部分的零输出位,以产生要保存到存储器的最终掩码值,并且其中如果掩码值尚未被更新,则架构状态管理逻辑是 将掩模值的可用部分与从控制寄存器读取的掩模值的不可用部分连接,以生成要保存到存储器的最终掩模值。