Extending valgrind framework with the MIPS MSA support

Tamara Vlahovic, Marko J. Mišić, Milo V. Tomašević, Aleksandra Karadzic, Aleksandar Rikalo · 2017

This paper presents an extension of Valgrind framework for dynamic binary code analysis to support MIPS MSA instruction set which includes instructions for vector (SIMD) processing of integer and floating-point data of different widths. First, a background on MIPS and its MSA extention is given. Then, Valgrind features for code instrumentation are described. Several changes have been made to Valgrind intermediate representation in order to support new instruction set. The implementation issues regarding the structures, formats, and functions needed for extension are discussed. Some low-level details and examples are also presented. Upgraded Valgrind tools are verified using dedicated regression test suite on the Linux platform.

Read the paper · More papers on PaperTik