87 research outputs found

    MILEPOST GCC: machine learning based research compiler

    Get PDF
    International audienceTuning hardwired compiler optimizations for rapidly evolving hardware makes porting an optimizing compiler for each new platform extremely challenging. Our radical approach is to develop a modular, extensible, self-optimizing compiler that automatically learns the best optimization heuristics based on the behavior of the platform. In this paper we describe MILEPOST GCC, a machine-learning-based compiler that automatically adjusts its optimization heuristics to improve the execution time, code size, or compilation time of specific programs on different architectures. Our preliminary experimental results show that it is possible to considerably reduce execution time of the MiBench benchmark suite on a range of platforms entirely automatically

    Terminal valuations, growth rates and the implied cost of capital

    Get PDF
    This article is published with open access at Springerlink.comWe develop a model based on the notion that prices lead earnings, allowing for a simultaneous estimation of the implied growth rate and the cost of equity capital for US industrial sectors. The major difference between our approach and that in prior literature is that ours avoids the necessity to make assumptions about terminal values and consequently about future growth rates. In fact, growth rates are an endogenous variable, which is estimated simultaneously with the implied cost of equity capital. Since we require only 1-year-ahead forecasts of earnings and no assumptions about dividend payouts, our methodology allows us to estimate ex ante aggregate growth and risk premia over a larger sample of firms than has previously been possible. Our estimate of the risk premium being between 3.1 and 3.9 % is at the lower end of recent estimates, reflecting the inclusion of these short-lived companies. Our estimate of the long run growth is from 4.2 to 4.7 %

    Milepost GCC: Machine Learning Enabled Self-tuning Compiler

    Get PDF
    International audienceTuning compiler optimizations for rapidly evolving hardwaremakes porting and extending an optimizing compiler for each new platform extremely challenging. Iterative optimization is a popular approach to adapting programs to a new architecture automatically using feedback-directed compilation. However, the large number of evaluations required for each program has prevented iterative compilation from widespread take-up in production compilers. Machine learning has been proposed to tune optimizations across programs systematically but is currently limited to a few transformations, long training phases and critically lacks publicly released, stable tools. Our approach is to develop a modular, extensible, self-tuning optimization infrastructure to automatically learn the best optimizations across multiple programs and architectures based on the correlation between program features, run-time behavior and optimizations. In this paper we describeMilepostGCC, the first publicly-available open-source machine learning-based compiler. It consists of an Interactive Compilation Interface (ICI) and plugins to extract program features and exchange optimization data with the cTuning.org open public repository. It automatically adapts the internal optimization heuristic at function-level granularity to improve execution time, code size and compilation time of a new program on a given architecture. Part of the MILEPOST technology together with low-level ICI-inspired plugin framework is now included in the mainline GCC.We developed machine learning plugins based on probabilistic and transductive approaches to predict good combinations of optimizations. Our preliminary experimental results show that it is possible to automatically reduce the execution time of individual MiBench programs, some by more than a factor of 2, while also improving compilation time and code size. On average we are able to reduce the execution time of the MiBench benchmark suite by 11% for the ARC reconfigurable processor.We also present a realistic multi-objective optimization scenario for Berkeley DB library using Milepost GCC and improve execution time by approximately 17%, while reducing compilatio
    corecore