- 专利标题: Method For Recognition Of Acyclic Instruction Patterns
-
申请号: US11573563申请日: 2005-08-11
-
公开(公告)号: US20080127148A1公开(公告)日: 2008-05-29
- 发明人: Mayan Moudgill , Vladimir Kotlyar
- 申请人: Mayan Moudgill , Vladimir Kotlyar
- 申请人地址: US NY White Plains
- 专利权人: SANDBRIDGE TECHNOLOGIES, INC.
- 当前专利权人: SANDBRIDGE TECHNOLOGIES, INC.
- 当前专利权人地址: US NY White Plains
- 国际申请: PCT/US2005/028463 WO 20050811
- 主分类号: G06F9/45
- IPC分类号: G06F9/45
摘要:
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, . . . )=>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 fj(x,y, . . . ) having the corresponding predicate Pj(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 Vj(s,v)(x,y, . . . ), one for each predicate Pj(x,y, . . . ); and expressing, for every statement s, the condition under which the statement is executed as a plurality of functions Cj(s)(x,y, . . . ), one for each predicate Pj(x,y, . . . ). Finally, a determination is of whether for the given variable v and program statement s, Vj(s,v)(x,y, . . . )=fj(x,y, . . . ) whenever the predicate Pj(x,y, . . . ) and the condition Cj(s)(x,y, . . . ) are true.
公开/授权文献
- US08056064B2 Method for recognition of acyclic instruction patterns 公开/授权日:2011-11-08