News for hackers. Stuff that matters.
Re:ARM or x86? ISA Doesn't Matter by bfung on Saturday August 31, 2024 @08:13PM (#41413040)
[delayed]
Re:ARM or x86? ISA Doesn't Matter by xwolfi on Saturday August 31, 2024 @08:19PM (#41413075)
The code ? Why you think Apple found a way to reverse the heat death of the universe ? They just ... do less stuff so they consume less !
Re:ARM or x86? ISA Doesn't Matter by twoodfin on Saturday August 31, 2024 @08:35PM (#41413162)
Apple absolutely leverages their full-stack platform control to optimize their silicon. They know with insane accuracy how many cycles would be saved across a billion phones if they added (say) another integer divide unit, and if they decide that’s worth it, they can rev every major developer’s toolchain to schedule instructions for the new ALU months before the new chip ships.
Re:ARM or x86? ISA Doesn't Matter by saagarjha on Saturday August 31, 2024 @09:11PM (#41413375)
Apple doesn’t do this, as it would reveal details about unreleased products. The scheduling model for their CPUs typically drops months after the chips ship, and even then the benefit you get from that is minor. (You can try it yourself, by comparing code generated using the “wrong” microarchitecture versus the “right” one. And also keep in mind that developers don’t always update their apps immediately to use the new toolchain.)
Re:ARM or x86? ISA Doesn't Matter by pizlonator on Saturday August 31, 2024 @08:43PM (#41413209)
Silicon economics mean that whoever has the highest volume can invest the most in better designs and better process.

Apple gets volume from the iPhone.

This is also why x86 outperformed expensive (and so low volume) RISC workstation CPUs for a long time at single thread perf, and then eventually on multi thread perf too.

Re:ARM or x86? ISA Doesn't Matter by drivebycomment on Saturday August 31, 2024 @08:56PM (#41413301)
This "why" is more "what are the underlying economics that enable the development of the better chip". Economics doesn't guarantee you'll get a better CPU. It still takes a cutting-edge engineering team with a good CPU architect to build that best chip. e.g. Intel didn't fall behind because of lack of money.
Re:ARM or x86? ISA Doesn't Matter by pizlonator on Saturday August 31, 2024 @09:02PM (#41413331)
Intel’s revenue has been at least 4x less than Apple’s since 2015. Last year the gap was more like 7x.
Re:ARM or x86? ISA Doesn't Matter by saagarjha on Saturday August 31, 2024 @09:07PM (#41413354)
Intel has volume, though. They ship millions of expensive CPUs to servers around the world. It’s just that they dropped the ball compared to Apple.
Re:ARM or x86? ISA Doesn't Matter by pizlonator on Saturday August 31, 2024 @09:34PM (#41413497)
Hard to find reliable numbers, but it looks like the number of x86 chips sold per year is less than the number of iPhones sold per year, based on my totally not serious research.

Do you have data that says otherwise?

Re:ARM or x86? ISA Doesn't Matter by saagarjha on Saturday August 31, 2024 @10:04PM (#41413631)
Oh, I would probably agree. I’m just saying Intel also ships a lot of chips and it’s not like they are hurting for cash from those sales. I think a direct comparison would be difficult because the BOM of the average iPhone processor is surely much less than Intel’s but they sell a lot more, but also Apple’s revenue is mixed in a lot of things so looking at just a processor is not really possible to do considering the money goes to making iPhones not just chips. I think if you looked at overall R&D investment on processors in dollars though then numbers would look a lot closer.
Re:ARM or x86? ISA Doesn't Matter by pizlonator on Saturday August 31, 2024 @10:12PM (#41413656)
I think that process and the fabs influence things much much more than the microarch design. In fact, what microarch you can aim for (like, how wide it can be, and so how aggressive you get to be with all aspects of it) comes down to how good the process is.

So the comparison is Intel vs TSMC. If you consider that TSMC doesn’t just have Apple as a customer, then holy cow the difference is big.

Re:ARM or x86? ISA Doesn't Matter by drivebycomment on Saturday August 31, 2024 @08:50PM (#41413256)
It's not a counter-point you think it is. ARM is not a primary reason why Apple's M series are so much better. If it is, other ARM should be able to match, but they don't. Simply put, Apple built a good microarchitecture and a pipeline - e.g. M1 has, e.g. 600 reorder buffer. Back then, this was 2x of most other CPUs, regardless of ISA. This is not something you can just throw more transistors at it - you need all the other parts of the processor optimized in order to make that useful, and Apple did. Simply, M-series are one of the best out-of-order pipelines ever built.