The Mill CPU Architecture – The Compiler (10 of 13)
Mill Computing, Inc.1 HN recommender · recommended in 1 month, 2015–2023
lecture · advanced · evergreen · 2015–2023 on HN
A long Mill Computing lecture on the Mill CPU's compiler toolchain, covering the specializer that targets family members, scheduling and latency passes, and the belt. It explains how the compiler handles a wide-issue, exposed-pipeline design.
Cited as the authoritative source on how Mill's VLIW-style compiler specializes code and differs from Itanium.
Up next
3 mo on HNBryan Cantrill on ARC: A Self-Tuning, Low Overhead Replacement Cache [PWL SF] 10/2017
PapersWeLove
3 HN recommender · 2019–2024
12 mo on HN8-bit computer update
Ben Eater
14 HN recommender · 2017–2023
11 mo on HNLight Years Ahead | The 1969 Apollo Guidance Computer
TNMoC
11 HN recommender · 2021–2026
11 mo on HN“Hello, world” from scratch on a 6502 — Part 1
Ben Eater
11 HN recommender · 2019–2026
10 mo on HNFinding the Missing Memristor - R. Stanley Williams
The Qualcomm Institute
12 HN recommender · 2010–2024
10 mo on HNThe Ultimate Game Boy Talk (33c3)
media.ccc.de
10 HN recommender · 2017–2026
11 mo on HNThe Thirty Million Line Problem
Molly Rocket
11 HN recommender · 2018–2024
9 mo on HNUSENIX ATC '21/OSDI '21 Joint Keynote Address-It's Time for Operating Systems to Rediscover Hardware
USENIX
12 HN recommender · 2021–2026
8 mo on HNJim Keller: Moore's Law, Microprocessors, and First Principles | Lex Fridman Podcast #70
Lex Fridman
8 HN recommender · 2020–2023
7 mo on HN34C3 - The Ultimate Apollo Guidance Computer Talk
media.ccc.de
9 HN recommender · 2018–2025
8 mo on HNJim Keller: Moore’s Law is Not Dead
UC Berkeley EECS
7 HN recommender · 2019–2025
8 mo on HN"Programming a 144-computer chip to minimize power" - Chuck Moore (2013)
Strange Loop Conference
7 HN recommender · 2021–2024
3 comments from Hacker News
The (disconcertingly silent) Mill CPU company have a design talk that covers these concepts wonderfully in the general form, while explaining their various innovations. e.g. this video describes how their VLIW compiler does partial compilation/'specialisation' to allow the same input to be consumed on machines with different variations of hardware features. ▶ this video
It's been too long since I watched the videos, so unfortunately I don't remember the specifics. For reference, here's[1] the relevant one on the compiler aspect. I do seem to recall that they seemingly had studied the failures of Itanium, and supposedly designed their architecture to not fall into the same pitfalls as with the EPIC/Itanium. One aspect I recall is that while they have VLIW, different operations within the (compound) instruction are issued in such a way that lets them be interdependent. Like, a single VLIW instruction could have an add and a multiply, where the result of the add is used as input for the multiplication. So while the operations are grouped in a single instruction, they're not executed strictly in parallel. There's a lot of other aspects too, that's just the one I remember. But yeah, really curious to know how that pudding will turn out. [1]: ▶ this video
The answer at 1:26:12 [1] about the belt being in fact a 'proxy' of the bypass network is very interesting. [1] ▶ this video