Invention Grant
- Patent Title: Loop invariant method expression hoisting
- Patent Title (中): 循环不变方法表达式起重
-
Application No.: US13713521Application Date: 2012-12-13
-
Publication No.: US08935684B2Publication Date: 2015-01-13
- Inventor: Mohammed Javed Absar
- Applicant: Advanced Micro Devices, Inc.
- Applicant Address: US CA Sunnyvale
- Assignee: Advanced Micro Devices, Inc.
- Current Assignee: Advanced Micro Devices, Inc.
- Current Assignee Address: US CA Sunnyvale
- Agency: Volpe and Koenig, P.C.
- Main IPC: G06F9/45
- IPC: G06F9/45

Abstract:
A system, method and computer-readable medium are disclosed for improving the performance of a compiler. A set of source code instructions are processed to generate a plurality of source code instruction subsets, each of which is respectively associated with a mathematical operator. The source code subsets are then reordered to “hoist,” or place, a source code instruction subset associated with a product operator before a source code instruction subset associated with a summation operator. The plurality of source code instruction subsets are iteratively reordered until no source code instruction subset associated with a summation operator precedes a source code instruction subset associated with a product operator. A compiler is then used to compile the resulting reordered plurality of source code instruction subsets into a set of optimized object code instructions.
Public/Granted literature
- US20140173576A1 Loop Invariant Method Expression Hoisting Public/Granted day:2014-06-19
Information query