DocumentCode :
1571908
Title :
Solving range constraints for binary floating-point instructions
Author :
Ziv, Abraham ; Aharoni, Merav ; Asaf, Sigal
Author_Institution :
IBM Res. Labs, Haifa Univ., Israel
fYear :
2003
Firstpage :
158
Lastpage :
164
Abstract :
We present algorithms that solve the following problem: given three ranges of floating-point numbers Rx, Ry, Rz, a floating-point operation (op), and a rounding-mode (round), generate three floating-point numbers x~, y~, z~ such that x~∈Rx, y~∈Ry, z~∈Rz and z~=round(x~ op y~). This problem, although quite simple when dealing with intervals of real numbers, is much more complex when considering ranges of machine numbers. We provide full solutions for add and subtract, and partial solutions for multiply and divide. We use range constraints on the input operands and on the result operand of floating-point instructions to target corner cases when generating test cases for use in verification of floating-point hardware. The algorithms have been implemented in a floating-point test-generator and are currently being used to verify floating-point units of several processors.
Keywords :
floating point arithmetic; arithmetic solution; binary floating-point instruction; floating-point operation; floating-point test-generator; machine number; rounding-mode; Digital arithmetic; H infinity control; Hardware; Testing;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Computer Arithmetic, 2003. Proceedings. 16th IEEE Symposium on
ISSN :
1063-6889
Print_ISBN :
0-7695-1894-X
Type :
conf
DOI :
10.1109/ARITH.2003.1207674
Filename :
1207674
Link To Document :
بازگشت