Invention Grant
US07810086B2 Safe code-motion of dangerous instructions during compiler optimization
有权
编译器优化过程中危险指令的安全代码运动
- Patent Title: Safe code-motion of dangerous instructions during compiler optimization
- Patent Title (中): 编译器优化过程中危险指令的安全代码运动
-
Application No.: US11172675Application Date: 2005-06-30
-
Publication No.: US07810086B2Publication Date: 2010-10-05
- Inventor: Brian R. Murphy , Vijay S. Menon , Tatiana Shpeisman , Ali-Reza Adl-Tabataba , Leaf Petersen
- Applicant: Brian R. Murphy , Vijay S. Menon , Tatiana Shpeisman , Ali-Reza Adl-Tabataba , Leaf Petersen
- Applicant Address: US CA Santa Clara
- Assignee: Intel Corporation
- Current Assignee: Intel Corporation
- Current Assignee Address: US CA Santa Clara
- Agency: Blakely, Sokoloff, Taylor & Zafman LLP
- Main IPC: G06F9/45
- IPC: G06F9/45

Abstract:
A compiler can perform aggressive code motion optimization by respecting value dependence of safety values inserted into the intermediate representation of a computer program. In one embodiment, the present invention includes converting a computer program into an intermediate representation, the intermediate representation containing at least one safety check ensuring the safety of at least one dangerous instruction. In one embodiment, the invention further includes defining a safety value in the intermediate representation as the safety check and including the safety value as a safety argument of the dangerous instruction. In one embodiment, it is determined that the safety check is redundant. In response, in one embodiment, the invention includes updating the safety argument of the dangerous instruction, and eliminating the safety check from the intermediate representation during the safety check elimination optimization. Other embodiments are described and claimed.
Public/Granted literature
- US20070006187A1 Safe code-motion of dangerous instructions during compiler optimization Public/Granted day:2007-01-04
Information query