System and method for control logic code reordering based on stochastic execution time information

A method, computer program product, and data processing system for performing automated optimization of a control processing flow containing Boolean conditional expressions is disclosed. Each conditional expression is profiled using a representative set of test vectors to determine the probabilities...

Full description

Saved in:
Bibliographic Details
Main Authors Gan, Kim-Chyan, Pessoa, Lucio F. C, Su, Wen Wu
Format Patent
LanguageEnglish
Published 19.10.2010
Online AccessGet full text

Cover

Loading…
More Information
Summary:A method, computer program product, and data processing system for performing automated optimization of a control processing flow containing Boolean conditional expressions is disclosed. Each conditional expression is profiled using a representative set of test vectors to determine the probabilities of individual conditions and combinations of conditions in the expression. Next, the expression is restructured or reordered, including selective computation of subexpressions, based on the probability information, so as to maximize the probability of a short-circuit termination of evaluation of the expression and/or to minimize the statistical execution time of the expression. This process is performed for all Boolean conditional expressions related to the control processing flow.