3 ms·
Is there any long-form documentation (specifically an optimization manual) for M1 yet?. Currently the only details I can find about the microarchitecture is ei
by mhh__ 6y ago
Is there any long-form documentation (specifically an optimization manual) for M1 yet?.
Currently the only details I can find about the microarchitecture is either press waffle or things reverse engineered via timing (you can look for bumps in graphs to find the widths of various speculative features of the CPU).
It would be very Apple not to publish any (Fucking sad if true)
Edit: Intel, like them or not, have genuinely very good documentation (Much better than AMD's) and seem to have really thought about actually using their performance - AMD can really deliver the goods on their terms, but they still lag behind in both software (particular compared to Nvidia) and documentation (Intel's optimization manual is 850 pages; AMD's is 45 pages). AMD basically give you a raw list of RDPMC event assignments to play with, Intel actually tell you how to use them.
- skavi 6y agoIf Apple wants to move fast, maybe it would be disadvantageous to have developers hyper optimize for a specific μarch?
- mhh__ 6y agoNo, document them both. And you can't really move fast, progress comes in a big dollop with sprinkles on top (i.e. Zen brought like 50% improvement over Excavator but the current AMD is Zen 3 rather than Ben 1)
- saagarjha 6y agoThere is not.
- giomasce 6y agoIsn't the optimization manual for Rosetta basically "Recompile for ARM"?
- mhh__ 6y agoAnd when you've done that what next?
- moonchild 6y ago> Currently the only details I can find about the microarchitecture is either press waffle or things reverse engineered via timing (you can look for bumps in graphs to find the widths of various speculative features of the CPU). Tbf, the agner fog's unofficial CPU optimization manuals[1] (for x86 CPUs) are quite good. > Intel, like them or not, have genuinely very good documentation Eh, depends. (Not talking specifically about optimization docs.) On the whole, I find intel documentation functions better as a reference, where amd documentation functions better as explanation. 1. https://www.agner.org/optimize/ https://www.agner.org/optimize/