Berberis: Dynamic Binary Translation from RISC-V to X86_64 on Android
Talkat RISC-V Summit North America 2024 · on Tuesday, 2024-10-22· at 14:35· Grand Ballroom H (Level 1)·
summary
Berberis translates riscv64 native libraries inside Android APKs to x86_64 at runtime, running only user code while the kernel, Android runtime and system services run natively so most of the OS executes at near‑native speed. It supports RV64G plus compressed, vector and bit‑manip extensions, NDK libraries except Vulkan, and achieves >99% CTS pass rate for native tests; validated Maps, YouTube, Music and Play Store as working and performant. Translation uses an interpreter, a light translator and a heavy optimizer; vector emulation is currently slow and LR/SC atomics are software‑emulated.
AI-written summary · about
chapters (7)
- 0:00Introduction and usage
- 3:20Architecture and design
- 4:39Translator components
- 6:33API surface proxying
- 7:37ISA translation and optimization
- 11:18Extensibility and future
- 11:51Q&A and closing
related talks
18mPreparing for a Valid Performance Evaluation of RISC-V AP, in the Mobile Space
24mRISC-V software ecosystem in 2020
55mThe Future of Linux on RISC-V
21mDriving Innovation: Evolving the Role of Software in the RISC-V Ecosystem Beyond...
20mBoosting Video Codec With RISC-V Vector Extension
18mRISC-V Profiles and Profile Roadmap
34mLow-level RASP: Protecting Applications Implemented in High-level Programming Languages
09mKeynote: RISC-V Challenges & Opportunities
