TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Modern Microprocessors: A 90 Minute Guide

226 pointsby antoniosover 11 years ago

7 comments

djcapelisover 11 years ago
This is a really good overview of modern processor design. I keep noticing that a lot of people don&#x27;t seem to understand the CPU designs past the five stage pipeline taught in undergrad architecture courses and this document does a lot of good work in targeting the areas that folks are most likely to have misconceptions about.<p>I do wish they covered trace caches, or as they&#x27;re known partly in their more modern form, u-op (micro-op) caches, which are back in modern Intel chips again and cause some interesting performance artifacts. (The old trace caches of the P4 chips are different than the u-op caches of the new architectures, since the trace cache actually encoded branch predictions into the actual cache line lookup, which was always pretty wild.)
评论 #7174813 未加载
评论 #7175362 未加载
jwrover 11 years ago
This article is spectacularly good. I wish I had this available when I started doing assembly-level optimizations on x86 chips. This knowledge used to be much more fragmented and difficult to learn.<p>VLIW could indeed be left out: you are not likely to encounter a VLIW chip, and if you do, it will come with an (excellent) compiler that will do most of the hard work for you.<p>A good followup article would be a tutorial on how to lay out your structures&#x2F;arrays in memory given your access patterns and cache architecture.
评论 #7177512 未加载
willvarfarover 11 years ago
An absolutely excellent article!<p>For everyone interested in the topic, you might enjoy the new Mill CPU architecture talks <a href="http://ootbcomp.com/docs/" rel="nofollow">http:&#x2F;&#x2F;ootbcomp.com&#x2F;docs&#x2F;</a> - the very next talk is streamed live today (5th Feb, 16:15 PST <a href="http://ootbcomp.com/topic/instruction-execution-on-the-mill-cpu-talk-feb-5-2014/" rel="nofollow">http:&#x2F;&#x2F;ootbcomp.com&#x2F;topic&#x2F;instruction-execution-on-the-mill-...</a> )<p>(I am a Mill forum mod; ask me anything about the Mill ;)
评论 #7177835 未加载
pjmlpover 11 years ago
Very nice written article.<p>So how does ANSI&#x2F;ISO C expose those details vs other languages, as many claim to?
评论 #7178605 未加载
gtaniover 11 years ago
here&#x27;s another good intro to CPU design, floating point math, linear algebra, PDE solvers etc <a href="http://www.tacc.utexas.edu/~eijkhout/Articles/EijkhoutIntroToHPC.pdf" rel="nofollow">http:&#x2F;&#x2F;www.tacc.utexas.edu&#x2F;~eijkhout&#x2F;Articles&#x2F;EijkhoutIntroT...</a>
kmitzover 11 years ago
Very good overview, thanks a lot for this article
jokoonover 11 years ago
hope that makes some people want to learn about some very optimization basics.