WINIC: An Automatic Cycle-Accurate Multi-Platform Microbenchmarking Tool for Instruction Performance Metrics
Tobias R\"uhl, Jan Laukemann, Georg Hager, Gerhard Wellein
Key points
From the paper's conclusion- We cover the methodology of microbenchmarking and the approach of WINIC to collect cycle-accurate performance data for assembly instructions.
Abstract
Performance models allow developers to gain important insights into the interaction of their code with the hardware that executes it, and enable them to apply target-specific optimizations. To create in-core performance models for out-of-order processors, architecture-specific performance metrics like latency, throughput, and port binding of individual instructions are indispensable. For x86 microarchitectures, there already exist tools to automatically obtain those values; however, the extension of performance modeling tools like the Open Source Architecture Code Analyzer (OSACA) to support further architectures like RISC-V emphasizes the need for a multi-platform microbenchmarking tool. We present WINIC (What I Need Is Cycles), an automatic cross-platform microbenchmarking tool. Unlike previous tools, it can obtain throughput and operand-based latency metrics for most supported instructions of any 64-bit x86, AArch64, and RISC-V microarchitecture without the need for root permissions or extended system control levels. We cover the methodology of microbenchmarking and the approach of WINIC to collect cycle-accurate performance data for assembly instructions. We show that WINIC can be used to automatically obtain a vast number of accurate results and demonstrate for four target microarchitectures that our results match between 71% and 99% of the performance data of instructions obtained by similar tools and documentation. Furthermore, we investigate how operand-based metrics measured by WINIC can be used to improve the in-core performance predictions on selected micro-kernels, exemplarily for the Neoverse V2 microarchitecture.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- PhotoFinish: Portable Timerless Probing of Microarchitectural LatenciesarXiv · 2026
- MicroAssert: Microarchitecture-Aware Structured Assertion Generation for CPU VerificationarXiv · 2026
- BenchmarkAnything: Agent-Driven Construction of Simulator-Ready Microarchitecture BenchmarksarXiv · 2026
- Research on the comprehensive management simulation case of integrated unmanned aerial vehicle systemsJournal of Physics: Conference Series · 2026
- ProcReverser: Multi-Agent Black-Box Microarchitectural Reverse Engineering for Processor Vulnerability AnalysisarXiv · 2026
- A Language Approach to Fine-Grained Microarchitectural ObservationProceedings of the ACM on Programming Languages · 2026