Dynamic Binary Translation of VLIW Code With Software Pipeline
Dynamic binary translation serves as a pivotal technique for instruction set simulation, yet encounters critical challenges when handling explicit instruction-level parallelism and operational latency inherent in VLIW architectures. Existing approaches demonstrate limited capability in handling non-arithmetic operations, particularly branch and memory access instructions. The complexity intensifies when translating software-pipelined loops featuring architecture-specific instructions due to two inherent characteristics: 1) instruction reordering, overlapping, and masking within loop bodies, and 2) absence of explicit conditional branches and loop counter manipulation instructions. This work presents three original strategies for VLIW code translation. First, a strategy constrains translation block length to resolve branch instruction challenges. Second, an approach manages store-load dependencies through strategic postponement of store instruction processing. Third, a novel software-pipelined loop translation methodology ensures correct execution semantics by serializing parallel iterations, generating state-specific translation blocks, and synchronizing inner and outer loops translations. We implemented these techniques in VEMU and evaluated it against dsplib and Polybench benchmarks. VEMU successfully translates all benchmark programs. Our first strategy does not degrade performances and the second strategy brings 0.2% time overhead. Comparative analysis reveals a speedup ratio between 3.25× and 7× over the Texas Instruments simulator for the same benchmarks, validating the efficacy of the proposed techniques.
Authors
- Qiuping Yi (ORCID: https://orcid.org/0009-0007-4680-4820)
- Guohao Wu
- Hongliang Liang (ORCID: https://orcid.org/0000-0001-6877-780X)
- Kailai Liao
Institutions
- Beijing University of Posts and Telecommunications (CN)
Publication Details
- Journal
- IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems
- Published
- 2025-08-29
- DOI
- https://doi.org/10.1109/tcad.2025.3604316
- Primary Topic
- Advanced Algorithms and Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00