Skip to content
HomeVideosBooks
AllTopicsTrends
BlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    Cover of Modern processor design

    Modern processor design

    John Paul Shen · 2005

    Conceptual and precise, Modern Processor Design brings together numerous microarchitectural techniques in a clear, understandable framework that is easily accessible to both graduate and undergraduate students. Complex practices are distilled into foundational principles to reveal the authors insights and hands-on experience in the effective design of contemporary high-performance micro-processors for mobile, desktop, and server markets. Key theoretical and foundational principles are presented in a systematic way to ensure comprehension of important implementation issues. The text presents fundamental concepts and foundational techniques such as processor design, pipelined processors, memory and I/O systems, and especially superscalar organization and implementations. Two case studies and an extensive survey of actual commercial superscalar processors reveal real-world developments in processor design and performance. A thorough overview of advanced instruction flow techniques, including developments in advanced branch predictors, is incorporated. Each chapter concludes with homework problems that will institute the groundwork for emerging techniques in the field and an introduction to multiprocessor systems.

    Electronics & Hardware
    Open LibraryAmazon
    Stats for nerds
    6recommend
    17mentions
    8people
    2010–2023years
    76% recommend24% neutral

    Mentions per year

    20102012201420162018202020222023

    What Hacker News says

    1. eigenformNov 2022
      "Modern Processor Design" - John Shen and Mikko Lipasti

      edit: There are also a lot of open-source out-of-order machines nowadays, ie. https://docs.boom-core.org/en/latest/

      edit: Also, Onur Mutlu @ ETH Zurich has a lot of lectures on YouTube, highly recommended. https://www.youtube.com/c/OnurMutluLectures

      thread
    2. monocasaOct 2020
      Modern Processor Design: Fundamentals of Superscalar Processors is a great book. It uses the P6 uarch (so Pentium Pro through Pentium III) as a case study to contrast against the PowerPC 620 and is a great place to start as it covers a lot of the details you're asking about. That P6 arch is the basis for modern Intel cores after they dropped P4/NetBurst when Dennard scaling hit a wall. Yes there's been updates, but the book is still basically on point.

      Real quick overview for some of the archs I know (that happen to all be x86), cache lines coming in from the I$ fill into a shift register. Each byte of the shift register has logic that in parallel reports "if an instruction started here, how long would the instruction be or say IDK". That information is used to select the instruction boundaries, which are then passed to the full instruction decoders (generally in another pipeline stage). After the byte lengths recognized are consumed, new bytes are shifted in, and the process starts over. This separation between length detection and full decode lets you have 16 or whatever length decoders but only three or four full decoders. Additionally the rare and very complex instructions are generally special cased and only decoded by the byte 0 length/instruction decoders. And even then, sometimes even the byte 0 decoder takes a few cycles to fully decode (like in the case of lots of prefix bytes).

      I imagine superscalar processors for other CISC archs have very similar decoders, maybe just aligned on halfwords rather than bytes if that's all the arch needs (like for 68k and s/390).

      thread
    3. rramadassJun 2020
      Modern Processor Design: Fundamentals of Superscalar Processors by Shen & Lipasti

      Computer System Design: System-on-Chip by Flynn & Luk

      thread
    4. kabdibDec 2019
      I liked John Shen's Modern Processor Design and Noam Nisan's The Elements of Computing Systems.

      The websites I mentioned have hobbyist-level details that are pretty interesting (but in general won't teach you much about things like concurrency hazards and branch prediction and so forth).

      thread
    5. rramadassJul 2019
      Ha, ha.:-) A lot of us are in the same boat except that few are willing to acknowledge it openly. That said; i can suggest the following for further reading (from simple to advanced);

      a) Eben Upton's write-up on "Raspberry Pi and Spectre/Meltdown" gives a very nice overview of the main features of modern processors - https://www.raspberrypi.org/blog/why-raspberry-pi-isnt-vulne...

      b) Inside the Machine: An Illustrated Introduction to Microprocessors and Computer Architecture by Jon Stokes.

      c) Computer Systems: A Programmer's Perspective by Bryant and O'Hallaron.

      d) Modern Processor Design: Fundamentals of Superscalar Processors by Shen and Lipasti

      thread
    6. pkayeJul 2019
      Check out the WikiChip tops level page. Covers both Intel, AMD, and ARM. Nothing particular to Apple though. https://en.wikichip.org/wiki/WikiChip

      Also a great book though maybe dated by now is Modern Processor Design by Shen.

      thread

    Related

    Cover of Bit-slice microprocessor design
    2009–2025

    Bit-slice microprocessor design

    John Mick
    3 recommend · 6
    Cover of Embedded C
    2010–2024

    Embedded C

    Michael J. Pont
    1 recommend · 3
    Cover of Compiler construction for digital computers
    2015–2026

    Compiler construction for digital computers

    David Gries
    1 recommend · 7
    Cover of Designing Embedded Hardware
    2008–2025

    Designing Embedded Hardware

    John Catsoulis
    2 recommend · 5
    Computer System DesignMichael J. Flynn
    2017–2026

    Computer System Design

    Michael J. Flynn
    4 recommend · 9
    Cover of Memory systems
    2009–2026

    Memory systems

    Bruce Jacob
    2 recommend · 5
    Cover of ARM system-on-chip architecture
    2009–2026

    ARM system-on-chip architecture

    Stephen B. Furber
    recommend · 6
    6
    Cover of Practical Electronics for Inventors
    2009–2026

    Practical Electronics for Inventors

    Paul Scherz
    51 recommend · 75