Back to Search Start Over

A Mechanically Checked Proof of Correctness of the AMD K5 Floating Point Square Root Microcode.

Authors :
Russinoff, David
Source :
Formal Methods in System Design; Jan1999, Vol. 14 Issue 1, p75-125, 51p
Publication Year :
1999

Abstract

We present a rigorous mathematical proof of the correctness of the floating point square root instruction of the AMD K5 microprocessor. The instruction is represented as a program in a formal language that was designed for this purpose, based on the K5 microcode and the architecture of its FPU. We prove a statement of its correctness that corresponds directly with the IEEE Standard. We also derive an equivalent formulation, expressed in terms of rational arithmetic, which has been encoded as a formula in the ACL2 logic and mechanically verified with the ACL2 prover. Finally, we describe a microcode modification that was implemented as a result of this analysis in order to ensure the correctness of the instruction. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
09259856
Volume :
14
Issue :
1
Database :
Complementary Index
Journal :
Formal Methods in System Design
Publication Type :
Academic Journal
Accession number :
50029180
Full Text :
https://doi.org/10.1023/A:1008669628911