METHOD FOR EXECUTING A COMPUTER PROGRAM WITH A PARAMETERISED FUNCTION

    公开(公告)号:US20180189086A1

    公开(公告)日:2018-07-05

    申请号:US15740192

    申请日:2016-06-28

    IPC分类号: G06F9/455 G06F8/41 G06F9/448

    摘要: A method for executing a program includes: storing, in a table associated with each address of a specialized code of a parameterized function, a value of each of specialized parameters for generating the specialized code, and each time the address of a specialized code must be modified, deleted from, or added to the table, a microprocessor generates and records in a memory a search routine written in machine language of the microprocessor, this search routine containing, coded as constants, each address and each specialized parameter value stored in the table, such that the search routine does not include any reading operation of the value of a specialized parameter or of the address of a specialized code outside the continuous address range in which this search routine is recorded, and the microprocessor runs this recorded search routine directly.

    Specialized Function Implementation Using Code Frequency Profiling
    6.
    发明申请
    Specialized Function Implementation Using Code Frequency Profiling 审中-公开
    使用代码频率分析的专业功能实现

    公开(公告)号:US20130031537A1

    公开(公告)日:2013-01-31

    申请号:US13192484

    申请日:2011-07-28

    IPC分类号: G06F9/45

    CPC分类号: G06F8/443 G06F8/49

    摘要: Systems, methods and products for code optimization are provided. In one embodiment, the method comprises dividing a target code into basic blocks; analyzing traversed execution paths between the basic blocks during multiple executions of the target code to determine a frequency with which the execution path between two or more basic blocks are traversed; and determining whether code optimization may be achieved by identifying execution paths that have been traversed subject to one or more threshold levels.

    摘要翻译: 提供了代码优化的系统,方法和产品。 在一个实施例中,该方法包括将目标代码分成基本块; 在目标代码的多次执行期间分析基本块之间的遍历执行路径,以确定遍历两个或多个基本块之间的执行路径的频率; 以及确定是否可以通过识别经过一个或多个阈值水平的执行路径来实现代码优化。

    Cycle simulation method, cycle simulator, and computer product
    8.
    发明授权
    Cycle simulation method, cycle simulator, and computer product 有权
    循环模拟方法,循环模拟器和计算机产品

    公开(公告)号:US07729896B2

    公开(公告)日:2010-06-01

    申请号:US11439124

    申请日:2006-05-24

    IPC分类号: G06F17/50

    CPC分类号: G06F8/49

    摘要: It is determined whether an i-th instruction is for a memory access. If the i-th instruction is the memory access, it is determined whether an address to access according to the i-th instruction coincides with an address that has been accessed by a first execution block. If the addresses coincide with each other, it is determined whether a cycle of a second execution block currently executing precedes that of the first execution block. If the cycle of the second execution block precedes that of the first executing block, a memory model is accessed. A necessary number of cycles for execution of a j-th instruction is added to the current number of cycles, and the address, a cycle, data, and a data size at the time of the current access (before re-writing) are written in a delay table.

    摘要翻译: 确定第i条指令是否用于存储器访问。 如果第i条指令是存储器访问,则确定根据第i条指令访问的地址是否与已由第一执行块访问的地址一致。 如果地址彼此一致,则确定当前执行的第二执行块的周期是否先于第一执行块的周期。 如果第二执行块的周期先于第一执行块的周期,则访问存储器模型。 用于执行第j指令的必要数量的循环被添加到当前循环次数中,并且写入当前访问时(重写前)的地址,周期,数据和数据大小被写入 在延迟表中。

    Method for Enabling Profile-Based Call Site Tailor-ing Using Profile Gathering of Cloned Functions
    9.
    发明申请
    Method for Enabling Profile-Based Call Site Tailor-ing Using Profile Gathering of Cloned Functions 失效
    使用配置文件聚合克隆函数启用基于配置文件的调用站点定制的方法

    公开(公告)号:US20090055813A1

    公开(公告)日:2009-02-26

    申请号:US11842180

    申请日:2007-08-21

    IPC分类号: G06F9/45

    摘要: Methods and systems for computer program optimization utilize function cloning in program code, such as post-linked code. Each function call is directed to a different cloned version of the called function. Conventional profiling methods such as hardware event sampling, basic block profiling, and edge profiling may then be applied to the modified program code to obtain call path-based, clone-specific profile data. The profile data can be further exploited to optimize the program code.

    摘要翻译: 用于计算机程序优化的方法和系统利用程序代码中的功能克隆,如后链代码。 每个函数调用定向到被调用函数的不同克隆版本。 然后可以将常规的分析方法(例如硬件事件采样,基本块分析和边缘分析)应用于修改的程序代码,以获得基于呼叫路径的克隆特定的简档数据。 可以进一步利用简档数据来优化程序代码。

    Method and apparatus for compiling source code using symbolic execution
    10.
    发明授权
    Method and apparatus for compiling source code using symbolic execution 有权
    使用符号执行编译源代码的方法和装置

    公开(公告)号:US06588009B1

    公开(公告)日:2003-07-01

    申请号:US09450325

    申请日:1999-11-29

    IPC分类号: G06F945

    CPC分类号: G06F8/45 G06F8/49

    摘要: A method and apparatus for optimizing the compilation of a computer program by exposing parallelism are disclosed. Information describing the operations in the program and their sequence is extracted and stored in a data structure. The operations in the program which involve index expressions are identified and symbolically executed, producing information describing the memory accesses by the program. Operations which can be executed in parallel are identified based on the information describing memory accesses. The program is interrogated with questions in a question data structure relating to how the program accesses memory. The answers to the questions are accumulated in index sets and back annotated into the question data structure.

    摘要翻译: 公开了一种通过暴露平行度优化计算机程序编译的方法和装置。 描述程序及其序列中的操作的信息被提取并存储在数据结构中。 识别并符号地执行涉及索引表达式的程序中的操作,产生描述程序的存储器访问的信息。 可以基于描述存储器访问的信息来识别可并行执行的操作。 询问有关程序访问内存的问题数据结构中的问题的程序。 这些问题的答案在索引集中累积,并将其注释到问题数据结构中。