by dev_tty01 · 5y ago · 0 comments
https://en.wikipedia.org/wiki/Apple_silicon
Second, it's not about clock rate. That is only one small part of the story. It is really about instructions per cycle per core. Apple is killing it on that front and running wider at lower rates is a big part of how they are outperforming in performance per watt while still winning in single core performance. We may see some clock rate increase in an M2, but I suspect their basic design philosophy won't change. It is just working too well.
For the curious, see https://travisdowns.github.io/blog/2019/06/11/speed-limits.h....
That table shows that the M1 has a much bigger reorder buffer, large load and store buffers, huge integer and vector register files, way more branches in flight, etc. By eschewing high clock rates, they are able to really go after massive concurrency at the hardware level in a single core. 7 simultaneous integer operations, 4 simultaneous floating point, multiple load and store. It's a beast.
https://www.anandtech.com/show/16226/apple-silicon-m1-a14-de...
Of course they will come out with an M2 soon. They've been doing this year after year for over a decade.
The floating point is going to be an interesting thing to look at - the CPUs made targeting HPC workloads tend to be flops heavy, but the flops tend to be starved for memory bandwidth unless you're doing exactly the best vector processing you can & that fortran can do a great job with.
So you throw in a lot more oomph on the vector side and leave single operation float arithmetic at 2.
Floating point operations of a smaller size of values (more realistically, quarternions or rgba) would be the reason that M1 feels a little bit more snappy when it comes to basic things like text-layout code or graphics images which don't do SIMD very well, but still consume a lot of arithmetic.
I'd suspect that the vertical integration is going to be the secret, because it looks like more profile information of desktop apps going into chip design here.
A similar story is expected of the Graviton series as well, with AWS having a good idea what to build for.
So was Intel for decades, then they weren't.
Personally I don't see the Intel rut as particularly deep or mucky. Intel has good management, and Gelsinger has deep knowledge of how enterprise customers operate due to his experience. They have a road map for some exciting product releases in the next couple of years, and they dominate their game in terms of market share.
Intel made over $20B profit last year, and semiconductor demand is booming across the board, but they still get trashed by the masses. It's really interesting (if you're into stocks) to compare Intel’s P/E ratio against the rest of the sector. Even the market doesn't think particularly highly of them.
There are 1024 possible Armv8 instructions [1] as opposed to 1,503 x86 instructions [2] and 3,684 x86-64 instructions [3]. There are things x86 and x86-64 can do in a single instruction that would take dozens of instructions to accomplish on Arm.
[1] https://www.csie.ntu.edu.tw/~cyy/courses/assembly/10fall/lec...
[2] https://fgiesen.wordpress.com/2016/08/25/how-many-x86-instru...
[3] https://www.csie.ntu.edu.tw/~cyy/courses/assembly/10fall/lec...
This doesn't really matter, RISC is not a real distinction - it just means "kind of like MIPS". They both have complex address operands and 2-operand vs 3-operand is largely aesthetic.
x86's stronger memory model is what matters most since it can reorder memory accesses less often.
Theoretically this means that x86 instructions are smaller (with better I$ performance), at the expense of larger/slower instruction decode
It is a lot easier to abstract away complex instructions from x86 (when performance isn't needed) than it is to add physical hardware instructions to ARM (when performance is needed).
Any particular implementation of an architecture is a study in tradeoffs - gates are relatively cheap these days, but not much faster - it makes it easier to throw gates at bigger caches and more cores rather than faster ones - faster clocks likely mean longer pipelines which need lots of well predictable branches to perform which skew an implementation to particular types of benchmarks/workloads
If you have a CPU that breaks one mega x86 instruction in to 100 internal instructions, is that any better than 100 external instructions generated by a compiler?
AMD has admitted to being at our very near the upper limit for x86 decoding. With arm Apple can have and reliably feed more decoders from the incoming stream of instructions. They have built their whole chip around being able to extract parallelism from the huge instruction window.
That leaves out the most important thing that enables all of that, the 8-wide symmetric decoder that can feed those. x86_64 cpus only have 5-wide ones, and only the first of those can decode the multi-uops instructions, and even worse there are even more complex instructions that are microcoded.
How are you counting that?
By the way, yes, both A14 and M1 use Firestorm + Icestorm cores: so I guess that they are the same generation from a technical standpoint.
That cost is that it's larger. At the same power AMD can stuff twice the cores, with similar though lower single core performance. That also means lower clock speeds, and there are less instruction level guarantees you can rely on thus somewhat more complexity is necessary.
And no, it's not really a beast. It's competitive.
Note that the “TDP” is meaningless for actual performance/watt comparisons with a controlled parameter due to the variation in this term. It’s just a marketing term.
The Ryzens on 7NM consume much more power than Apple’s Big cores did on the A12 and A13, both of which were on TSMC 7NM. They are also both competitive with the single-core scores of the Ryzen Zen 2 or 3 cores, if not equivalent while being older architectures than AMD’s.
The M1’s Big [Firestorm] cores also consume less power and achieve more performance than the Zen 3 core.
It’s safe to say Apple’s architecture is largely superior, outright.
I'm sorry, but you're comparing power draw of a workstation "X" AMD chip with a laptop chip. It's simply not a honest comparison. You must compare the efficiency of mobile chip with a mobile chip. When you do that you find similar efficiency.
I don't understand why no one is posting actual apples to apples comparison. Every time a comparison is posted its either comparing to a workstation chip to find power efficiency even if they're tuned to be power inefficient, or comparing to Intel CPUs only, etc...
Laptop processors from AMD use less than half the power per core of workstation processors while sacrificing only a very small performance gain, due to the use of a different lithography for I/O.
Apple's architecture is simply not superior. If it was, we wouldn't be making these contrived comparisons, and we wouldn't even be comparing 5nm chips to 7nm chips.
The IO die only adds like ~15W btw, yes, I'm aware it's on a GlobalFoundries node.
Lastly, AMD's mobile chips throttle down to fairly low clocks and in AMD's case, low to modest performance when not plugged in, it's why you keep hearing tale of the great battery life on Zen 3 laptops.