计算机科学 ›› 2010, Vol. 37 ›› Issue (3): 144-148.

• 软件工程与数据库技术 • 上一篇    下一篇

基于代码剖析的定制指令识别

薄拾,葛宁,林孝康   

  1. (清华大学电子工程系 北京100084)
  • 出版日期:2018-12-01 发布日期:2018-12-01
  • 基金资助:
    本文受国家863高技术研究发展计划项目(2007AA01Z2b3) ,国家973重点基础研究发展计划前期研究专项项目(2007CB310608)资助。

Custom Instructions Identification Based on Code Profiling

BO Shi,GE Ning,LIN Xiao-kang   

  • Online:2018-12-01 Published:2018-12-01

摘要: 代码剖析是分析程序行为和发现性能瓶颈的重要手段。根据可重配置处理器的定制指令设计需要,提出了一种基于虚拟机技术的代码剖析方法AID-prof。该方法的优势在于结构无关以及静态\动态分析的无缝契合。基于AID-prof,设计了一种自动化的定制指令识别过程CID。实验显示,AID-prof可有效地发掘程序热点,并且示例程序通过CID产生的定制指令获得明显加速。

关键词: 可重配置处理器,定制指令,识别,代码剖析,虚拟机

Abstract: Code profiling is a key technique for application behavior analysis and bottlenecks discovery. According to the requirement of designing custom instructions for reconfigurable processors, AID-prof, a novel profiling method based on virtual machine was presented. The benefits of the presented method are architecture-independent and close combination between static and dynamic analysis. Based on AID-prof, an automatic custom instructions identification procedure named CID was proposed. Experiments results show that AID-prof can discover application hot spots effectively, and custom instructions identified by CID can markedly speed up application execution.

Key words: Reconfigurable processors, Custom instructions, Identification, Code profiling, Virtual machine

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!