Re:Homebrew: AVX instructions in Big Sur bottles crash when ...
by moonchild on Sunday December 27, 2020 @04:13AM
(#25549863)
> 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.
Re:Homebrew: AVX instructions in Big Sur bottles crash when ...
by skavi on Saturday December 26, 2020 @11:04PM
(#25548713)
If Apple wants to move fast, maybe it would be disadvantageous to have developers hyper optimize for a specific μarch?
Re:Homebrew: AVX instructions in Big Sur bottles crash when ...
by mhh__ on Saturday December 26, 2020 @11:10PM
(#25548738)
No, 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)
Re:Homebrew: AVX instructions in Big Sur bottles crash when ...
by giomasce on Sunday December 27, 2020 @03:41AM
(#25549755)
Isn't the optimization manual for Rosetta basically "Recompile for ARM"?
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.