发明名称 METHOD FOR RECOGNITION OF ACYCLIC INSTRUCTION PATTERNS
摘要 <p>A method which determines by an optimizing compiler whether any variable in the given program equals to the given acyclic mathematical function f(x,y,...) applied to the given variables x, y, ... in the program. In one embodiment, the method includes expressing the bits of the value of the function f(x,y,..) as a Boolean function of the bits of the inputs x, y, ...; expressing, for every variable v and program statement s, the value taken by v when s is executed as a Boolean function V(s,v)(x, y, ...) of the bits of x, y, ...; and expressing, for every statement s, the condition under which the statement is executed as a Boolean function C(s)(x, y, ...) of the bits of the inputs x, y, .... Finally, a determination is made using a Boolean satisfiability oracle of whether, for the given variable v and program statement s, the following Boolean expression holds: C(s)(x,y,...) P&gt; V(s,v)(x,y...)=f(x,y,...). In a second embodiment, the method includes expressing the value of f(x,y,...) as a plurality of functions f &lt;SUB&gt;j&lt;/SUB&gt;(x,y,..) having the corresponding predicate P&lt;SUB&gt;j&lt;/SUB&gt;(x,y,..); expressing, for every variable v and program statement s, the value taken by v when s is executed as a plurality of functions V&lt;SUB&gt;j&lt;/SUB&gt;(s,v)(x,y,...), one for each predicate P&lt;SUB&gt;j&lt;/SUB&gt;(x,y,..); and expressing, for every statement s, the condition under which the statement is executed as a plurality of functions C&lt;SUB&gt;j&lt;/SUB&gt;(s)(x,y,...), one for each predicate P&lt;SUB&gt;j&lt;/SUB&gt;(x,y,..). Finally, a determination is of whether for the given variable v and program statement s, V&lt;SUB&gt;j&lt;/SUB&gt;(s,v)(x,y,...)=f&lt;SUB&gt;j&lt;/SUB&gt;(x,y,..) whenever the predicate P&lt;SUB&gt;j&lt;/SUB&gt;(x,y,..) and the condition C&lt;SUB&gt;j&lt;/SUB&gt;(s)(x,y,...) are true.</p>
申请公布号 WO2006020729(A2) 申请公布日期 2006.02.23
申请号 WO2005US28463 申请日期 2005.08.11
申请人 SANDBRIDGE TECHNOLOGIES, INC.;MOUDGILL, MAYAN;KOTLYAR, VLADIMIR 发明人 MOUDGILL, MAYAN;KOTLYAR, VLADIMIR
分类号 G06F9/44 主分类号 G06F9/44
代理机构 代理人
主权项
地址