Item type |
Trans(1) |
公開日 |
2024-01-31 |
タイトル |
|
|
タイトル |
A High-performance Hybrid Binary Translator using Source-level Information |
タイトル |
|
|
言語 |
en |
|
タイトル |
A High-performance Hybrid Binary Translator using Source-level Information |
言語 |
|
|
言語 |
eng |
キーワード |
|
|
主題Scheme |
Other |
|
主題 |
[発表概要, Unrefereed Presentatin Abstract] |
資源タイプ |
|
|
資源タイプ識別子 |
http://purl.org/coar/resource_type/c_6501 |
|
資源タイプ |
journal article |
著者所属 |
|
|
|
Department of Creative Informatics, Graduate School of Information Science and Technology, The University of Tokyo |
著者所属 |
|
|
|
Department of Information & Communication Engineering, Graduate School of Information Science and Technology, The University of Tokyo |
著者所属 |
|
|
|
Department of Information & Communication Engineering, Graduate School of Information Science and Technology, The University of Tokyo |
著者所属 |
|
|
|
Department of Information & Communication Engineering, Graduate School of Information Science and Technology, The University of Tokyo |
著者所属 |
|
|
|
Department of Information & Communication Engineering, Graduate School of Information Science and Technology, The University of Tokyo |
著者所属 |
|
|
|
Department of Creative Informatics, Graduate School of Information Science and Technology, The University of Tokyo |
著者所属(英) |
|
|
|
en |
|
|
Department of Creative Informatics, Graduate School of Information Science and Technology, The University of Tokyo |
著者所属(英) |
|
|
|
en |
|
|
Department of Information & Communication Engineering, Graduate School of Information Science and Technology, The University of Tokyo |
著者所属(英) |
|
|
|
en |
|
|
Department of Information & Communication Engineering, Graduate School of Information Science and Technology, The University of Tokyo |
著者所属(英) |
|
|
|
en |
|
|
Department of Information & Communication Engineering, Graduate School of Information Science and Technology, The University of Tokyo |
著者所属(英) |
|
|
|
en |
|
|
Department of Information & Communication Engineering, Graduate School of Information Science and Technology, The University of Tokyo |
著者所属(英) |
|
|
|
en |
|
|
Department of Creative Informatics, Graduate School of Information Science and Technology, The University of Tokyo |
著者名 |
Changbin, Chen
Shu, Sugita
Yotaro, Nada
Hidetsugu, Irie
Shuichi, Sakai
Ryota, Shioya
|
著者名(英) |
Changbin, Chen
Shu, Sugita
Yotaro, Nada
Hidetsugu, Irie
Shuichi, Sakai
Ryota, Shioya
|
論文抄録 |
|
|
内容記述タイプ |
Other |
|
内容記述 |
Porting a compilation toolchain to a new platform is not an easy task. One of the reasons is we need to also port supporting libraries like the C standard library simultaneously, which make extensive use of platform-dependent assembly code. Binary translation is a popular solution to this problem. By translating a binary file compiled for a guest platform directly to another host platform, binary translation is suitable for research and fast prototyping without a complete compilation toolchain. A static binary translator performs all translation work in the compile time for maximum performance and minimum runtime dependencies, but it often fails on irregular indirect jumps whose targets cannot be fully determined statically. A dynamic/hybrid binary translator overcomes this issue by performing runtime translation, but it is in general slower and the complex runtime system hinders its portability. In this presentation we propose a hybrid binary translator that can progressively improve its performance through three different translation levels when provided with more input information. Specifically, this translator utilizes the symbol table and the source code to restrict the effect of indirect jumps and boost the performance of hot spot functions. The proposed translator is able to translate statically linked RISC-V Linux binaries to self-contained LLVM IR. Experiments show it can correctly translate the highly complex SPEC CPU 2017 benchmark package. Comparing with the state-of-the-art dynamic binary translator QEMU, it is 1.509x and 4.359x faster on integer and floating-point benchmark suites respectively. |
論文抄録(英) |
|
|
内容記述タイプ |
Other |
|
内容記述 |
Porting a compilation toolchain to a new platform is not an easy task. One of the reasons is we need to also port supporting libraries like the C standard library simultaneously, which make extensive use of platform-dependent assembly code. Binary translation is a popular solution to this problem. By translating a binary file compiled for a guest platform directly to another host platform, binary translation is suitable for research and fast prototyping without a complete compilation toolchain. A static binary translator performs all translation work in the compile time for maximum performance and minimum runtime dependencies, but it often fails on irregular indirect jumps whose targets cannot be fully determined statically. A dynamic/hybrid binary translator overcomes this issue by performing runtime translation, but it is in general slower and the complex runtime system hinders its portability. In this presentation we propose a hybrid binary translator that can progressively improve its performance through three different translation levels when provided with more input information. Specifically, this translator utilizes the symbol table and the source code to restrict the effect of indirect jumps and boost the performance of hot spot functions. The proposed translator is able to translate statically linked RISC-V Linux binaries to self-contained LLVM IR. Experiments show it can correctly translate the highly complex SPEC CPU 2017 benchmark package. Comparing with the state-of-the-art dynamic binary translator QEMU, it is 1.509x and 4.359x faster on integer and floating-point benchmark suites respectively. |
書誌レコードID |
|
|
収録物識別子タイプ |
NCID |
|
収録物識別子 |
AA11464814 |
書誌情報 |
情報処理学会論文誌プログラミング(PRO)
巻 17,
号 1,
p. 17-17,
発行日 2024-01-31
|
ISSN |
|
|
収録物識別子タイプ |
ISSN |
|
収録物識別子 |
1882-7802 |
出版者 |
|
|
言語 |
ja |
|
出版者 |
情報処理学会 |