Unlocking High-Performance AVX2 Emulation with RVV 1.0
2026-06-09 , Poster Island D

The x86-64 instruction set has a long history of backwards compatibility, and a large body of performance-intensive software exists that may never be ported to RISC-V. In this paper, we implement AVX and AVX2 support in the felix86 JIT-recompiling emulator using RVV 1.0, and the performance benefit of enabling AVX and AVX2 support in the emulator is measured and compared with the benefit observed on native x86-64 hardware using SIMD-intensive workloads. We find that the percentage-wise improvement from enabling AVX/AVX2 in x86-64 software is closely matched on RISC-V hardware when AVX is emulated with RVV 1.0, demonstrating that felix86's vector translation faithfully captures the performance characteristics of AVX and that the RVV instruction set is capable of efficiently emulating AVX.

See also: