Floating Point Optimization Based on Binary Translation System QEMU
Qiang Shi, Rongcai Zhao · 2016
Binary translation system, a technique for translating executable binary program, could transform the code operating on a system structure into the command of another system structure.However, in multi-source translation system, the efficiency in floating point instruction translation realized by relying on software is not high.The floating point computation capacity is the important indicator of computer performance.By taking SW processor as the target platform, translation algorithm for floating point optimization based on QEMU translation system is put forward.It mainly includes the following two stages: firstly, the content of identifying floating point computation invoking helper function, the number obtaining parameter and returned value, data type information; secondly, the floating point operation of changing into local floating point operation and reduce the redundant floating points according to the standard of IEEE.According to the experiment of NPB test set, it manifests that the average speed-up ratio of floating point optimization algorithm can reach 30%.