Dealing with arithmetic overflows in the polyhedral model

نویسندگان

  • Bruno Cuervo Parrino
  • Julien Narboux
  • Eric Violard
  • Nicolas Magaud
چکیده

The polyhedral model provides techniques to optimize Static Control Programs (SCoP) using some complex transformations which improve data-locality and which can exhibit parallelism. These advanced transformations are now available in both GCC and LLVM. In this paper, we focus on the correctness of these transformations and in particular on the problem of integer overflows. Indeed, the strength of the polyhedral model is to produce an abstract mathematical representation of a loop nest which allows high-level transformations. But this abstract representation is valid only when we ignore the fact that our integers are only machine integers. In this paper, we present a method to deal with this problem of mismatch between the mathematical and concrete representations of loop nests. We assume the existence of polyhedral optimization transformations which are proved to be correct in a world without overflows and we provide a self-verifying compilation function. Rather than verifying the correctness of this function, we use an approach based on a validator, which is a tool that is run by the compiler after the transformation itself and which confirms that the code produced is equivalent to the original code. As we aim at the formal proof of the validator we implement this validator using the Coq proof assistant as a programming language [4].

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Robust portfolio selection with polyhedral ambiguous inputs

 Ambiguity in the inputs of the models is typical especially in portfolio selection problem where the true distribution of random variables is usually unknown. Here we use robust optimization approach to address the ambiguity in conditional-value-at-risk minimization model. We obtain explicit models of the robust conditional-value-at-risk minimization for polyhedral and correlated polyhedral am...

متن کامل

On Second Geometric-Arithmetic Index of Graphs

The concept of geometric-arithmetic indices (GA) was put forward in chemical graph theory very recently. In spite of this, several works have already appeared dealing with these indices. In this paper we present lower and upper bounds on the second geometric-arithmetic index (GA2) and characterize the extremal graphs. Moreover, we establish Nordhaus-Gaddum-type results for GA2.

متن کامل

Taming the Wrapping of Integer Arithmetic

Variables in programs are usually confined to a fixed number of bits and results that require more bits are truncated. Due to the use of 32-bit and 64-bit variables, inadvertent overflows are rare. However, a sound static analysis must reason about overflowing calculations and conversions between unsigned and signed integers; the latter remaining a common source of subtle programming errors. Ra...

متن کامل

Synthesis, Characterization and Application of Zinc Oxide with Micro Polyhedral and Nano Plate Morphologies for Simultaneous Decolorization of Two- dye Mixture in Wastewater

In this work, growth and assembly of the micro polyhedral zinc oxide was performed using airbubble assisted Triton X100, as a templating agent. In absence of air bubbling in the reactionsystem the nano plate zinc oxide was synthesized. The prepared samples were characterized by Xraydiffraction (XRD), field emission scanning electron microscopy (FE-SEM) and UV-Visspectrop...

متن کامل

Removal of methylene blue using polyacrylic acid/ octavinyl polyhedral oligomeric silsesquioxane nanocomposite

Polyacrylic acid/ octavinyl polyhedral oligomeric silsesquioxane, nanocomposite hydrogel with 3-D network was synthesized via radical polymerization. Octavinyl polyhedral oligomeric silsesquioxane was used as crosslinker and nanofiller simultaneously in the preparation of the hydrogel. Hydrogel adsorption performance was determined by adsorption of methylene blue. The adsorption capacity was ev...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2011