Font Size: a A A

Design And Implementation Of Floating Point Unit In Retargetbale Dynamic Binary Translator

Posted on:2009-03-27Degree:MasterType:Thesis
Country:ChinaCandidate:P QinFull Text:PDF
GTID:2178360242476926Subject:Software engineering
Abstract/Summary:PDF Full Text Request
Retargetable dynamic binary translating system is a kind of binary translating system, which is base on binary translating technology and has more than one source ends and target ends. The objective of this system is designing a reusable frame, exposing a kind of virtual instruction set and optimizing for the virtual instruction set. A part of codes can be reused while developing a specific translator, code lines and developing period will be reduced, because programmers only need to design machine relative parts.CrossBit is a retargetable dynamic binary translation infrastructure, which can translate integer application of SimpleScalar into correspond applications of X86 correctly, but floating point instructions are still not supported. The work of this thesis is studying and analyzing how to design and develop a floating point unit (FPU) in CrossBit, which should translate floating point applications correctly and effectively. The floating point processor should not depend on the source ends or target ends. The objective of this floating point unit is running correct and independent of machine platform, to realize it, the key is parsing and executing instructions of source and target platforms correctly; the key of independent of platform is designing floating point intermediate instruction set.In the process of designing and implementing FPU, all challenges were defeated by designing a platform-independent intermediate instruction set, front-end decoder and back-end encoder. In this thesis we will talk about the architecture of CrossBit's FPU, approaches to realize each module and ideas of designing floating point virtual instruction set. Finally, experiment shows that CrossBit with this FPU can translate floating point applications correctly.
Keywords/Search Tags:dynamic binary translation, retargetable, floating point unit, CrossBit
PDF Full Text Request
Related items