Lune

MICRO2020Top-tier venue

Improving the Utilization of Micro-operation Caches in x86 Processors

Jagadish B. Kotra, John Kalamatianos

Abstract

Most modern processors employ variable length, Complex Instruction Set Computing (CISC) instructions to reduce instruction fetch energy cost and bandwidth requirements. High throughput decoding of CISC instructions requires energy hungry logic for instruction identification. Efficient CISC instruction execution motivated mapping them to fixed length micro-operations (also known as uops). To reduce costly decoder activity, commercial CISC processors employ a micro-operations cache (uop cache) that caches uop sequences, bypassing the decoder. Uop cache's benefits are: (1) shorter pipeline length for uops dispatched by the uop cache, (2) lower decoder energy consumption, and, (3) earlier detection of mispredicted branches.

In this paper, we observe that a uop cache can be heavily fragmented under certain uop cache entry construction rules. Based on this observation, we propose two complementary optimizations to address fragmentation: Cache Line boundary AgnoStic uoP cache design (CLASP) and uop cache compaction. CLASP addresses the internal fragmentation caused by short, sequential uop sequences, terminated at the I-cache line boundary, by fusing them into a single uop cache entry. Compaction further lowers fragmentation by placing to the same uop cache entry temporally correlated, non-sequential uop sequences mapped to the same uop cache set. Our experiments on a x86 simulator using a wide variety of benchmarks show that CLASP improves performance up to 5.6% and lowers decoder power up to 19.63%. When CLASP is coupled with the most aggressive compaction variant, performance improves by up to 12.8% and decoder power savings are up to 31.53%.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • From Optimal to Practical: Efficient Micro-op Cache Replacement Policies for Data Center Applications cites Alternate Path μ-op Cache Prefetching
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. All Your PC Are Belong to Us: Exploiting Non-control-Transfer Instruction BTB Updates for Dynamic PC ExtractionJiyong Yu, Trent Jaeger, Christopher Wardlaw FletcherISCA 2023 · 12 citations
  2. Alternate Path μ-op Cache PrefetchingSawan Singh, Arthur Perais, Alexandra Jimborean, Alberto RosISCA 2024 · 4 citations
  3. From Optimal to Practical: Efficient Micro-op Cache Replacement Policies for Data Center ApplicationsKan Zhu, Yilong Zhao, Yufei Gao, Peter Braun et al.HPCA 2025 · 3 citations

Related papers

  1. UC-Check: Characterizing Micro-operation Caches in x86 Processors and Implications in Security and PerformanceJoonsung Kim, Hamin Jang, Hunjun Lee, Seungho Lee et al.MICRO 2021 · 15 citations
  2. Speculative Code Compaction: Eliminating Dead Code via Speculative Microcode TransformationsLogan Moody, Wei Qi, Abdolrasoul Sharifi, Layne Berry et al.MICRO 2022 · 3 citations
  3. Exploring Instruction Fusion Opportunities in General Purpose ProcessorsSawan Singh, Arthur Perais, Alexandra Jimborean, Alberto RosMICRO 2022 · 11 citations
  4. Multi-Stream Squash Reuse for Control-Independent ProcessorsQingxuan Kang, Trevor E. CarlsonMICRO 2025 · 2 citations
  5. Constable: Improving Performance and Power Efficiency by Safely Eliminating Load Instruction ExecutionRahul Bera, Adithya Ranganathan, Joydeep Rakshit, Sujit Mahto et al.ISCA 2024 · 8 citations
Dusk over the sea between two cliffs drawn in fine vertical lines