Method and system for reducing program code size
    1.
    发明授权
    Method and system for reducing program code size 有权
    减少程序代码大小的方法和系统

    公开(公告)号:US07725887B2

    公开(公告)日:2010-05-25

    申请号:US11020340

    申请日:2004-12-22

    IPC分类号: G06F9/45

    CPC分类号: G06F8/4434

    摘要: In a method for reducing code size, replaceable subsets of instructions at first locations in areas of infrequently executed instructions in a set of instructions and target subsets of instructions at second locations in the set of instructions are identified, wherein each replaceable subset matches at least one target subset. If multiple target subsets of instructions match one replaceable subset of instructions, one of the multiple matching target subsets is chosen as the matching target subset for the one replaceable subset based on whether the multiple target subsets are located in regions of frequently executed code. For each of at least some of the replaceable subsets of instructions, the replaceable subset of instructions is replaced with an instruction to cause the matching target subset of instructions at the second location to be executed.

    摘要翻译: 在减少代码大小的方法中,识别在一组指令中的不经常执行的指令的区域中的第一位置处的指令的可替换子集,以及指令集中的第二位置处的目标指令子集,其中每个可替换子集与至少一个 目标子集。 如果指令的多个目标子集匹配一个可替换的指令子集,则基于多个目标子集是否位于经常执行的代码的区域中,将多个匹配目标子集中的一个选择为一个可替换子集的匹配目标子集。 对于至少一些可替换的指令子集中的每一个,可替换的指令子集被替换为使得执行第二位置处的指令的匹配目标子集的指令。

    Continuous trip count profiling for loop optimizations in two-phase dynamic binary translators
    3.
    发明授权
    Continuous trip count profiling for loop optimizations in two-phase dynamic binary translators 失效
    在两相动态二进制转换器中循环优化的连续行程计数分析

    公开(公告)号:US07428731B2

    公开(公告)日:2008-09-23

    申请号:US10816248

    申请日:2004-03-31

    IPC分类号: G06F9/44 G06F9/45

    CPC分类号: G06F9/45525

    摘要: A method, machine readable medium, and system are disclosed. In one embodiment the method comprises collecting a loop trip count continuously during runtime of a region of code being executed that contains a loop, categorizing the trip count to identify one or more code modification techniques applicable to the loop, and dynamically applying the one or more applicable code modification techniques to alter the code that relates to the loop.

    摘要翻译: 公开了一种方法,机器可读介质和系统。 在一个实施例中,该方法包括在包含循环的正在执行的代码区域的运行时期期间连续地收集循环行程计数,对行程计数进行分类,以识别适用于循环的一个或多个代码修改技术,以及动态地应用一个或多个 适用的代码修改技术来改变与循环相关的代码。

    Apparatus and method for dynamic binary translator to support precise exceptions with minimal optimization constraints
    4.
    发明授权
    Apparatus and method for dynamic binary translator to support precise exceptions with minimal optimization constraints 有权
    用于动态二进制转换器的装置和方法,以最小的优化约束来支持精确异常

    公开(公告)号:US07757221B2

    公开(公告)日:2010-07-13

    申请号:US11241610

    申请日:2005-09-30

    IPC分类号: G06F9/45

    CPC分类号: G06F9/45516 G06F8/443

    摘要: A method and apparatus for dynamic binary translator to support precise exceptions with minimal optimization constraints. In one embodiment, the method includes the translation of a source binary application generated for a source instruction set architecture (ISA) into a sequential, intermediate representation (IR) of the source binary application. In one embodiment, the sequential IR is modified to incorporate exception recovery information for each of the exception instructions identified from the source binary application to enable a dynamic binary translator (DBT) to represent exception recovery values as regular values used by IR instructions. In one embodiment, the sequential IR may be optimized with a constraint on movement of an exception instruction downward past an irreversible instruction to form a non-sequential IR. In one embodiment, the non-sequential IR is optimized to form a translated binary application for a target ISA. Other embodiments are described and claimed.

    摘要翻译: 一种用于动态二进制转换器的方法和装置,以最小的优化约束来支持精确的异常。 在一个实施例中,该方法包括将源指令集架构(ISA)生成的源二进制应用程序转换为源二进制应用程序的顺序中间表示(IR)。 在一个实施例中,顺序IR被修改为包含从源二进制应用程序识别的每个异常指令的异常恢复信息,以使动态二进制转换器(DBT)能够将异常恢复值表示为由IR指令使用的常规值。 在一个实施例中,可以对异常指令向下移动通过不可逆指令以形成非顺序IR的限制来优化顺序IR。 在一个实施例中,非顺序IR被优化以形成目标ISA的翻译二进制应用程序。 描述和要求保护其他实施例。

    Efficient execution and emulation of bit scan operations
    5.
    发明授权
    Efficient execution and emulation of bit scan operations 有权
    位扫描操作的高效执行和仿真

    公开(公告)号:US07430574B2

    公开(公告)日:2008-09-30

    申请号:US10877931

    申请日:2004-06-24

    IPC分类号: G06F7/00

    CPC分类号: G06F7/74

    摘要: Methods are disclosed to implement bit scan operations using properties of two's complement arithmetic and compute zero index instructions. A data value may be provided and the most-significant or least-significant bit may be determined using the methods set forth herein.

    摘要翻译: 公开了使用二进制补码运算和计算零索引指令的特性实现位扫描操作的方法。 可以提供数据值,并且可以使用本文所阐述的方法来确定最高有效位或最低有效位。

    Efficient Bloom filter
    7.
    发明授权
    Efficient Bloom filter 失效
    高效布鲁姆过滤器

    公开(公告)号:US07620781B2

    公开(公告)日:2009-11-17

    申请号:US11642314

    申请日:2006-12-19

    IPC分类号: G06F12/0026

    CPC分类号: G06F12/0864 Y10S707/99943

    摘要: Implementation of a Bloom filter using multiple single-ported memory slices. A control value is combined with a hashed address value such that the resultant address value has the property that one, and only one, of the k memories or slices is selected for a given input value, a, for each bank. Collisions are thereby avoided and the multiple hash accesses for a given input value, a, may be performed concurrently. Other embodiments are also described and claimed.

    摘要翻译: 使用多个单端口存储器片的Bloom过滤器的实现。 控制值与散列地址值组合,使得所得到的地址值具有对于每个存储体的给定输入值a选择k个存储器或片中仅一个且仅一个的属性。 因此避免了冲突,并且可以同时执行给定输入值a的多个哈希访问。 还描述和要求保护其他实施例。

    Compressing microcode
    8.
    发明授权
    Compressing microcode 有权
    压缩微码

    公开(公告)号:US07095342B1

    公开(公告)日:2006-08-22

    申请号:US11096152

    申请日:2005-03-31

    IPC分类号: H03M7/40

    CPC分类号: H03M7/3084

    摘要: In one embodiment, the present invention includes a method to compress data stored in a memory to reduce size and power consumption. The method includes segmenting each word of a code portion into multiple fields, forming tables having unique entries for each of the fields, and assigning a pointer to each of the unique entries in each of the tables. Other embodiments are described and claimed.

    摘要翻译: 在一个实施例中,本发明包括一种压缩存储在存储器中的数据以减小尺寸和功率消耗的方法。 该方法包括将代码部分的每个字段分割成多个字段,形成具有用于每个字段的唯一条目的表,并且将指针分配给每个表中的每个唯一条目。 描述和要求保护其他实施例。

    Compressing and accessing a microcode ROM
    9.
    发明授权
    Compressing and accessing a microcode ROM 有权
    压缩和访问微码ROM

    公开(公告)号:US08099587B2

    公开(公告)日:2012-01-17

    申请号:US11186240

    申请日:2005-07-20

    IPC分类号: G06F9/00

    摘要: An arrangement is provided for compressing microcode ROM (“uROM”) in a processor and for efficiently accessing a compressed “uROM”. A clustering-based approach may be used to effectively compress a uROM. The approach groups similar columns of microcode into different clusters and identifies unique patterns within each cluster. Only unique patterns identified in each cluster are stored in a pattern storage. Indices, which help map an address of a microcode word (“uOP”) to be fetched from a uROM to unique patterns required for the uOP, may be stored in an index storage. Typically it takes a longer time to fetch a uOP from a compressed uROM than from an uncompressed uROM. The compressed uROM may be so designed that the process of fetching a uOP (or uOPs) from a compressed uROM may be fully-pipelined to reduce the access latency.

    摘要翻译: 提供了一种用于在处理器中压缩微代码ROM(“uROM”)并有效访问压缩的“uROM”的装置。 可以使用基于聚类的方法来有效地压缩uROM。 该方法将相似的微代码列组合成不同的集群,并识别每个集群内的唯一模式。 每个集群中唯一标识的模式都存储在模式存储中。 帮助将从uROM获取的微代码字(“uOP”)的地址映射到uOP所需的唯一模式的索引可以存储在索引存储器中。 通常,从压缩的uROM获取uop比从未压缩的uROM获取更长的时间。 压缩的uROM可以被设计成使得从压缩的uROM获取uop(或uop)的过程可以被完全流水线化以减少访问等待时间。