• DocumentCode
    3549271
  • Title

    Solving constraints on the invisible bits of the intermediate result for floating-point verification

  • Author

    Aharoni, Merav ; Asaf, Sigal ; Maharik, Ron ; Nehama, Ilan ; Nikulshin, Ilya ; Ziv, Abraham

  • Author_Institution
    IBM Res. Lab., Haifa, Israel
  • fYear
    2005
  • fDate
    27-29 June 2005
  • Firstpage
    76
  • Lastpage
    83
  • Abstract
    Test generation for datapath floating-point verification involves targeting intricate corner cases, which can often be solved only through complex constraint solving. In the process of calculating the result, we use an intermediate result whose significand comprises a finite number of bits and a sticky bit that is 0 if and only if the intermediate result is exact. We refer to all the bits beyond those represented in the final result as the invisible bits. We deal with corner cases that can only be defined via constraints on the intermediate result. Our work investigates the following problem: given a floating-point operation, and constraints on the invisible bits and the sticky bit, find two inputs for the operation that yield an intermediate result compatible with the constraints. The paper supplies a deterministic solution for addition and subtraction, and probabilistic solutions for multiplication and division. It also discusses the application of these algorithms to the verification of floating-point implementations.
  • Keywords
    constraint theory; floating point arithmetic; formal verification; constraint solving; datapath floating-point verification; invisible bits; sticky bit; test generation; Digital arithmetic; Subspace constraints; Testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Computer Arithmetic, 2005. ARITH-17 2005. 17th IEEE Symposium on
  • ISSN
    1063-6889
  • Print_ISBN
    0-7695-2366-8
  • Type

    conf

  • DOI
    10.1109/ARITH.2005.38
  • Filename
    1467625