{"id":30650,"date":"2020-11-11T20:02:12","date_gmt":"2020-11-12T01:02:12","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=30650"},"modified":"2021-01-06T16:18:50","modified_gmt":"2021-01-06T21:18:50","slug":"the-apple-silicon-m1","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2020\/11\/11\/the-apple-silicon-m1\/","title":{"rendered":"The Apple Silicon M1"},"content":{"rendered":"<p><a href=\"https:\/\/www.anandtech.com\/show\/16226\/apple-silicon-m1-a14-deep-dive\">Andrei Frumusanu<\/a>:<\/p>\n<blockquote cite=\"https:\/\/www.anandtech.com\/show\/16226\/apple-silicon-m1-a14-deep-dive\">\n<p>The new processor is called the Apple M1, the company&rsquo;s first SoC designed with Macs in mind. With four large performance cores, four efficiency cores, and an 8-GPU core GPU, it features 16 billion transistors on a 5nm process node. Apple&rsquo;s is starting a new SoC naming scheme for this new family of processors, but at least on paper it looks a lot like an A14X.<\/p>\n<p>[&#8230;]<\/p>\n<p>What really defines Apple&rsquo;s Firestorm CPU core from other designs in the industry is just the sheer width of the microarchitecture. Featuring an 8-wide decode block, Apple&rsquo;s Firestorm is by far the current widest commercialized design in the industry.<\/p>\n<p>[&#8230;]<\/p>\n<p>A +-630 deep ROB is an immensely huge out-of-order window for Apple&rsquo;s new core, as it vastly outclasses any other design in the industry.<\/p>\n<p>[&#8230;]<\/p>\n<p>Exactly how and why Apple is able to achieve such a grossly disproportionate design compared to all other designers in the industry isn&rsquo;t exactly clear, but it appears to be a key characteristic of Apple&rsquo;s design philosophy and method to achieve high ILP (Instruction level-parallelism).<\/p>\n<p>[&#8230;]<\/p>\n<p>Apple&rsquo;s usage of a significantly more advanced microarchitecture that offers significant IPC, enabling high performance at low core clocks, allows for significant power efficiency gains versus the incumbent x86 players.<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/twitter.com\/ErrataRob\/status\/1326611776801300487\">Robert Graham<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/ErrataRob\/status\/1326611776801300487\"><p>In short, Apple&rsquo;s advantage is their own core design outpacing Intel&rsquo;s on every measure, and TMSC being 1.5 generations ahead of Intel on manufacturing process technology. These things matter, not &ldquo;ARM&rdquo; or &ldquo;RISC&rdquo; instruction set.<\/p><\/blockquote>\n\n<p><a href=\"https:\/\/eclecticlight.co\/2020\/11\/11\/how-unified-memory-blows-the-socs-off-the-m1-macs\/\">Howard Oakley<\/a>:<\/p>\n<blockquote cite=\"https:\/\/eclecticlight.co\/2020\/11\/11\/how-unified-memory-blows-the-socs-off-the-m1-macs\/\"><p>GPUs are now being used for a lot more than just driving the display, and their computing potential for specific types of numeric and other processing is in demand. So long as CPUs and GPUs continue to use their own local memory, simply moving data between their memory has become an unwanted overhead. If you&rsquo;d like to read a more technical account of some of the issues which have brought unified memory to Nvidia GPUs, you&rsquo;ll enjoy <a href=\"https:\/\/www.nextplatform.com\/2019\/01\/24\/unified-memory-the-final-piece-of-the-gpu-programming-puzzle\/\">Michael Wolfe&rsquo;s article<\/a> on the subject.<\/p><\/blockquote>\n\n<p><a href=\"https:\/\/developer.apple.com\/videos\/play\/tech-talks\/10865\">Apple<\/a>:<\/p>\n<blockquote cite=\"https:\/\/developer.apple.com\/videos\/play\/tech-talks\/10865\"><p>Learn how developers updated their apps for Apple silicon Macs and began taking advantage of the advanced capabilities of the Apple M1 chip.<\/p><\/blockquote>\n\n<p><a href=\"https:\/\/developer.apple.com\/videos\/play\/tech-talks\/10859\">Apple<\/a>:<\/p>\n<blockquote cite=\"https:\/\/developer.apple.com\/videos\/play\/tech-talks\/10859\"><p>Discover the advances in Metal performance and capability delivered with the Apple M1 chip on Apple silicon Macs. Apple M1 unites the top-end graphics and compute abilities of discrete GPUs with the features and power efficiency of Apple silicon, creating entirely new opportunities for developers of Metal-based apps and games on macOS. We&rsquo;ll explore the Metal graphics and compute fundamentals of Apple M1, then take you through four important Metal features to make your Mac apps really shine on Apple silicon: tile shading, memoryless render targets, programmable blending, and sparse texturing.<\/p><\/blockquote>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2020\/11\/10\/one-more-thing-apple-silicon-macs\/\">One More Thing: Apple Silicon Macs<\/a><\/li>\n<\/ul>\n\n<p id=\"the-apple-silicon-m1-update-2020-11-27\">Update (2020-11-27): <a href=\"https:\/\/twitter.com\/kenshirriff\/status\/1327022266186559488\">Ken Shirriff<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/kenshirriff\/status\/1327022266186559488\"><p>With Apple&rsquo;s recent announcement of the ARM-based M1 processor, I figured it would be interesting to compare it to the first ARM processor, created by Acorn Computers in 1985 for the BBC Micro computer.<\/p><\/blockquote>\n\n<p><a href=\"https:\/\/www.youtube.com\/watch?v=2lK0ySxQyrs\">The Tech Chap<\/a>:<\/p>\n<blockquote cite=\"https:\/\/www.youtube.com\/watch?v=2lK0ySxQyrs\"><p>Nerding out with 2 Vice Presidents at Apple about the new M1 chip in MacBook Air, MacBook Pro and Mac Mini - what it means, how do apps work, and what about Intel?<\/p><\/blockquote>\n\n<p id=\"the-apple-silicon-m1-update-2020-12-02\">Update (2020-12-02): <a href=\"https:\/\/erik-engheim.medium.com\/why-is-apples-m1-chip-so-fast-3262b158cba2\">Erik Engheim<\/a> (<a href=\"https:\/\/news.ycombinator.com\/item?id=25257932\">Hacker News<\/a>):<\/p>\n<blockquote cite=\"https:\/\/erik-engheim.medium.com\/why-is-apples-m1-chip-so-fast-3262b158cba2\">\n<p>Here I plan to break it down into digestible pieces exactly what it is that Apple has done with the M1.<\/p>\n<\/blockquote>\n\n<p id=\"the-apple-silicon-m1-update-2020-12-08\">Update (2020-12-08): <a href=\"https:\/\/www.eetimes.com\/exposing-apple-mini-m1-soc\/3\/\">Don Scansen<\/a>:<\/p>\n<blockquote cite=\"https:\/\/www.eetimes.com\/exposing-apple-mini-m1-soc\/3\/\">\n<p>Apple did not identify the die locations of any of these blocks even if it was suggested by the graphics used to describe the CPU, GPU, and neural engine. Those illustrations were stylized which was a good indication of their inaccuracy. However, Apple did show something that looked very much like a genuine optical image of the SoC die layout on their graphic of the physical product. As discussed above, this was an inexact representation in the sense that it was not true to the assembly onto the package substrate. But it turned out to be a precise version of the SoC physical design.<\/p>\n<\/blockquote>\n\n<p id=\"the-apple-silicon-m1-update-2020-12-16\">Update (2020-12-16): <a href=\"http:\/\/codemines.blogspot.com\/2020\/11\/fact-checking-some-apple-silicon.html\">Mark Bessey<\/a>:<\/p>\n<blockquote cite=\"http:\/\/codemines.blogspot.com\/2020\/11\/fact-checking-some-apple-silicon.html\"><p>But there are a couple of odd ideas bouncing around on the Internet that are annoying me. So, here&rsquo;s a quick fact check on a couple of the more breathless claims that are swirling around these new Macs.<\/p><\/blockquote>\n\n<p id=\"the-apple-silicon-m1-update-2021-01-06\">Update (2021-01-06): See also: <a href=\"https:\/\/www.techinsights.com\/blog\/analysis-apple-m1-happening-and-thermal-imaging\">Dick James<\/a> (via <a href=\"https:\/\/news.ycombinator.com\/item?id=25547151\">Hacker News<\/a>).<\/p>\n\n<p><a href=\"https:\/\/rhonabwy.com\/2020\/12\/20\/apples-m1-chip-changes-lots-of-things\/\">Joe Heck<\/a>:<\/p>\n<blockquote cite=\"https:\/\/rhonabwy.com\/2020\/12\/20\/apples-m1-chip-changes-lots-of-things\/\">\n<p>One of the interesting things about the M1 system-on-a-chip isn&rsquo;t the chip itself, but the philosophy that Apple&rsquo;s embracing in making the chip. That pattern of behavior and thought goes way beyond what you can do with commodity stuff. The vertical integration allows seriously advanced capabilities. Commodity, on the other hand, tends to be sort of &ldquo;locked down&rdquo; and very resistant to change, even improvements.<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/erik-engheim.medium.com\/apple-m1-foreshadows-risc-v-dd63a62b2562\">Erik Engheim<\/a> (via <a href=\"https:\/\/news.ycombinator.com\/item?id=25483010\">Hacker News<\/a>):<\/p>\n<blockquote cite=\"https:\/\/erik-engheim.medium.com\/apple-m1-foreshadows-risc-v-dd63a62b2562\"><p>The M1 is the beginning of a paradigm shift, which will benefit RISC-V microprocessors, but not the way you think.<\/p><\/blockquote>\n\n<p><a href=\"https:\/\/twitter.com\/stuntpants\/status\/1346470705446092811\">Shac Ron<\/a>:<\/p>\n<blockquote cite=\"https:\/\/twitter.com\/stuntpants\/status\/1346470705446092811\">\n<p>arm64 is the Apple ISA, it was designed to enable Apple&rsquo;s microarchitecture plans. There&rsquo;s a reason Apple&rsquo;s first 64 bit core (Cyclone) was years ahead of everyone else, and it isn&rsquo;t just caches.<\/p>\n<p>Arm64 didn&rsquo;t appear out of nowhere, Apple contracted ARM to design a new ISA for its purposes. When Apple began selling iPhones containing arm64 chips, ARM hadn&rsquo;t even finished their own core design to license to others.<\/p>\n<p>[&#8230;]<\/p>\n<p>Apple planned to go super-wide with low clocks, highly OoO, highly speculative. They needed an ISA to enable that, which ARM provided.<\/p>\n<p>M1 performance is not so because of the ARM ISA, the ARM ISA is so because of Apple core performance plans a decade ago.<\/p>\n<\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Andrei Frumusanu: The new processor is called the Apple M1, the company&rsquo;s first SoC designed with Macs in mind. With four large performance cores, four efficiency cores, and an 8-GPU core GPU, it features 16 billion transistors on a 5nm process node. Apple&rsquo;s is starting a new SoC naming scheme for this new family of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2020-11-12T01:02:15Z","apple_news_api_id":"1a0d21ec-4c0f-4f24-b0fe-dc8a2d03393a","apple_news_api_modified_at":"2021-01-06T21:18:55Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAABg==","apple_news_api_share_url":"https:\/\/apple.news\/AGg0h7EwPTySw_tyKLQM5Og","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[2014,1941,30,906,260,1056],"class_list":["post-30650","post","type-post","status-publish","format-standard","hentry","category-technology","tag-apple-m1","tag-arm-macs","tag-mac","tag-metal","tag-processors","tag-ram"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/30650","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=30650"}],"version-history":[{"count":8,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/30650\/revisions"}],"predecessor-version":[{"id":31251,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/30650\/revisions\/31251"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=30650"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=30650"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=30650"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}