Papers1 provider · 1 record
October 17, 2024· Proceedings of the 16th ACM SIGPLAN International Workshop on Virtual Machines and Intermediate Languages
conference-paper
Open access

Synthesizing Efficient Super-Instruction Sets for Ethereum Virtual Machine

Abstract

Super-instructions are a crucial optimization method for interpreters, as they combine multiple basic instructions into single specialized operations. The optimization technique reduces dispatch overhead and enables further optimizations in the synthesized operation code for a super-instruction. However, due to combinatorial explosion, identifying super-instructions is a complex selection problem. This paper presents a novel approach for the automated synthesis of super-instruct­ions using a combination of offline dictionary-based compression algorithms and greedy heuristics. Our method addresses the common issue of overlap between super-instructions, which previous approaches often overlook. Additionally, we introduce a meta-compiler for the Ethereum Virtual Machine (EVM) that automatically generates a new interpreter incorporating the super-instructions. The super-instructions generated with our approach result in an 8.45% speedup for the interpreter component of the EVM.

Community

0 comments
Use Connect Wallet in the navigation

No discussion yet

Be the first to share a question or observation.