Invention Grant
US07774764B2 Method and system for efficient range and stride checking 有权
有效范围和步幅检查的方法和系统

Method and system for efficient range and stride checking
Abstract:
Embodiments of a method and system for compiling code, such as program-generated code, are disclosed herein. The method and system efficiently encode combined range and stride checks. For example, the method and system are operable to encode combined range and stride checks as they occur in a translation of switch statements. The method and system can generate code to perform the range and stride check, and to branch to the case body, if the range and stride checks are successful. The various embodiments may operate to provide an efficient code transformation, better code density, and processing performance. Other embodiments are described and claimed.
Public/Granted literature
Information query
Patent Agency Ranking
0/0