An Efficient Method for Custom Instruction Mapping under the Safety Assurance of Code Generation

Yongping Luo,Yuchun Ma,Qiang Wu
DOI: https://doi.org/10.2991/csss-14.2014.42
2014-01-01
Abstract:In the work flow of embedded systems, processor design is the critical technology to directly affect the performance of whole system. In this process, instruction mapping is responsible for identifying the portions of target application program which match with custom instruction (CI) and implementing code generation for extension processor. However, traditional instruction mapping approaches would not consider the problem of mapping safety so that the mapping result is not reliable. In addition, as target applications get more complex, the drawback of large time cost makes embedded system less efficient. In this paper, we build safety check to ensure that the matched subgraphs can really be executed by hardware accelerator. And we propose an efficient matching method according the logic information of application program to reduce matching time and search space. For overlapping matched subgraphs, we also build up Maximal Weight Independent Set-based model to obtain better speed-up of extension processor and the experiment results show the superiority of our method.
What problem does this paper attempt to address?