Verifying Bit-Manipulations of Floating-Point

被引:0
作者
Lee, Wonyeol [1 ]
Sharma, Rahul [1 ]
Aiken, Alex [1 ]
机构
[1] Stanford Univ, Stanford, CA 94305 USA
关键词
Verification; Floating-point; Bit-manipulation; Bit-level operation; ULP error; Absolute error; x86; binary; Binary analysis; Transcendental function;
D O I
10.1145/2908080.2908107
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Reasoning about floating-point is difficult and becomes only more so if there is an interplay between floating-point and bit-level operations. Even though real-world floating-point libraries use implementations that have such mixed computations, no systematic technique to verify the correctness of the implementations of such computations is known. In this paper, we present the first general technique for verifying the correctness of mixed binaries, which combines abstraction, analytical optimization, and testing. The technique provides a method to compute an error bound of a given implementation with respect to its mathematical specification. We apply our technique to Intel's implementations of transcendental functions and prove formal error bounds for these widely used routines.
引用
收藏
页码:70 / 84
页数:15
相关论文
共 50 条
  • [31] Improving Floating-Point Performance in Less Area: Fractured Floating Point Units (FFPUs)
    Neil Hockert
    Katherine Compton
    Journal of Signal Processing Systems, 2012, 67 : 31 - 46
  • [32] Handling floating-point exceptions in numeric programs
    Hauser, JR
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1996, 18 (02): : 139 - 174
  • [33] Symbolic Crosschecking of Floating-Point and SIMD Code
    Collingbourne, Peter
    Cadar, Cristian
    Kelly, Paul H. J.
    EUROSYS 11: PROCEEDINGS OF THE EUROSYS 2011 CONFERENCE, 2011, : 315 - 328
  • [34] Hotspot Symbolic Execution of Floating-Point Programs
    Quan, Minghui
    FSE'16: PROCEEDINGS OF THE 2016 24TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON FOUNDATIONS OF SOFTWARE ENGINEERING, 2016, : 1112 - 1114
  • [35] Optimal inverse projection of floating-point addition
    Gallois-Wong, Diane
    Boldo, Sylvie
    Cuoq, Pascal
    NUMERICAL ALGORITHMS, 2020, 83 (03) : 957 - 986
  • [36] Efficient Floating-Point Givens Rotation Unit
    Javier Hormigo
    Sergio D. Muñoz
    Circuits, Systems, and Signal Processing, 2021, 40 : 2419 - 2442
  • [37] Improving Floating-Point Performance in Less Area: Fractured Floating Point Units (FFPUs)
    Hockert, Neil
    Compton, Katherine
    JOURNAL OF SIGNAL PROCESSING SYSTEMS FOR SIGNAL IMAGE AND VIDEO TECHNOLOGY, 2012, 67 (01): : 31 - 46
  • [38] A Combined Decimal and Binary Floating-point Multiplier
    Tsen, Charles
    Gonzalez-Navarro, Sonia
    Schulte, Michael
    Hickmann, Brian
    Compton, Katherine
    2009 20TH IEEE INTERNATIONAL CONFERENCE ON APPLICATION-SPECIFIC SYSTEMS, ARCHITECTURES AND PROCESSORS, 2009, : 8 - +
  • [39] Optimal inverse projection of floating-point addition
    Diane Gallois-Wong
    Sylvie Boldo
    Pascal Cuoq
    Numerical Algorithms, 2020, 83 : 957 - 986
  • [40] goSAT: Floating-point Satisfiability as Global Optimization
    Ben Khadra, M. Ammar
    Stoffel, Dominik
    Kunz, Wolfgang
    PROCEEDINGS OF THE 17TH CONFERENCE ON FORMAL METHODS IN COMPUTER AIDED DESIGN (FMCAD 2017), 2017, : 11 - 14