| 注册
首页|期刊导航|高技术通讯|基于定制化中间表示和向量化汇编的动态翻译优化方法

基于定制化中间表示和向量化汇编的动态翻译优化方法

兰彦志 李欣宇 牛根 曾露 张福新

高技术通讯2026,Vol.36Issue(4):354-363,10.
高技术通讯2026,Vol.36Issue(4):354-363,10.DOI:10.3772/j.issn.1002-0470.2026.04.003

基于定制化中间表示和向量化汇编的动态翻译优化方法

Optimization method for dynamic translation based on customized intermediate representation and vectorized assembly

兰彦志 1李欣宇 1牛根 2曾露 2张福新1

作者信息

  • 1. 处理器芯片全国重点实验室(中国科学院计算技术研究所) 北京 100190||中国科学院大学 北京 100049
  • 2. 龙芯中科技术有限公司 北京 100190
  • 折叠

摘要

Abstract

Binary translation is a critical technology for achieving cross-instruction set architecture software compatibility,with widespread applications in software migration,hardware emulation,and debugging.Traditional research pri-marily focuses on improving the quality of translated code,with relatively little attention given to optimizing the translation process itself.However,with the increasing prevalence of just-in-time compilation and the growing com-plexity of client program code,performance bottlenecks in the translation process have become increasingly evident.To address this challenge,this paper conducts an in-depth analysis of the translation characteristics of existing bina-ry translation systems and designs a customized intermediate representation to significantly accelerate the translation process.Additionally,a vectorization-based assembly optimization method is proposed to further reduce translation time.Experiments on the MIPS(microprocessor without interlocked pipeline stages)platform demonstrate that,with the proposed customized IR and vectorized assembly optimization,the translation speed of our optimized trans-lator reaches 4.3 times that of QEMU(quick emulator)on the SPEC CPU2000 benchmark,and 4.1 times that of QEMU on the Octane 2.0 benchmark.These results validate the effectiveness of the proposed methods.

关键词

二进制翻译/翻译时间/中间表示/向量化/龙架构

Key words

binary translation/translation time/intermediate representation/vectorization/LoongArch

引用本文复制引用

兰彦志,李欣宇,牛根,曾露,张福新..基于定制化中间表示和向量化汇编的动态翻译优化方法[J].高技术通讯,2026,36(4):354-363,10.

基金项目

中国科学院计算技术研究所创新课题(E461100)资助项目. (E461100)

高技术通讯

1002-0470

访问量0
|
下载量0
段落导航相关论文