[HN Gopher] Illuminating the processor core with LLVM-mca
___________________________________________________________________
Illuminating the processor core with LLVM-mca
Author : ckennelly
Score : 40 points
Date : 2025-12-14 15:05 UTC (4 hours ago)
(HTM) web link (abseil.io)
(TXT) w3m dump (abseil.io)
| KeplerBoy wrote:
| Also nicely demonstrated in godbolt's currently ongoing Advent of
| compiler optimizations series.
| alain94040 wrote:
| This is interesting if quite incomplete (as noted in the end
| conclusion). CPU re-order buffers turn what you think as mostly
| sequential execution into a massively parallel engine. Data
| memory access, perfecting, speculative execution, etc. But if you
| are running a micro-bencmark with a tight loop of millions of
| iterations, then understanding the pipeline dependencies and
| dispatching can provide good insights.
| esbranson wrote:
| Too bad they don't support LC-3 or DLX. More my level lol. So
| begins another deep dive side quest with the chatbot into a tool
| I didn't even know existed.
___________________________________________________________________
(page generated 2025-12-14 20:00 UTC)