News for hackers. Stuff that matters.
Re:AMD Ryzen Threadripper 3960X and 3970X Review by Dylan16807 on Monday November 25, 2019 @01:34PM (#21631228)
> buyers of AMD products demand that Intel would release their software optimized for AMD products as well,

No, not at all.

They want to run the Intel-optimized version. But instead it checks CPUID and runs a deoptimized version.

Re:AMD Ryzen Threadripper 3960X and 3970X Review by omikun on Monday November 25, 2019 @05:30PM (#21633497)
To play devil's advocate, why would Intel spend money to allow their competitor to leverage speedups from their compiler?
Re:AMD Ryzen Threadripper 3960X and 3970X Review by ivanhoe on Monday November 25, 2019 @07:56PM (#21634688)
Because in many countries, including US, it's illegal to leverage one product to ensure unfair market advantage for your other products, and this is very close to that...
Re:AMD Ryzen Threadripper 3960X and 3970X Review by wtallis on Monday November 25, 2019 @05:33PM (#21633518)
Intel spent money to prevent their competitor from leveraging speedups from their compiler. It would have been less work for them to simply use feature detection on AMD chips, since Intel already has to implement feature detection for their own chips.
Re:AMD Ryzen Threadripper 3960X and 3970X Review by Dylan16807 on Monday November 25, 2019 @10:53PM (#21635534)
It took slightly more effort for them to put in the anti-optimization feature than to do the feature detection correctly.

So the answer to your question is "they don't need to", but your question has nothing to do with the problem.

Re:AMD Ryzen Threadripper 3960X and 3970X Review by 7952 on Monday November 25, 2019 @05:42PM (#21633609)
Because it would benefit the user of the compiler, their customer.
Re:AMD Ryzen Threadripper 3960X and 3970X Review by neonate on Monday November 25, 2019 @01:47PM (#21631371)
Wow. Are you sure? How do you know this?
Re:AMD Ryzen Threadripper 3960X and 3970X Review by aidenn0 on Monday November 25, 2019 @01:57PM (#21631478)
CentaurTechnologies ran benchmarks against ICC with the CPUID set to the default and then with it set to the name of an Intel chip with equivalent CPU flags.

Intel's response was roughly "We don't trust CPU flags, so we have kernels for each specific Intel chip, and a generic kernel for non-Intel chips"

Re:AMD Ryzen Threadripper 3960X and 3970X Review by acqq on Monday November 25, 2019 @04:35PM (#21633061)
Luckily, from Agner's CPU blog linked above:

"[Update 2019:] The newest versions of Gnu and Clang C++ compilers are now optimizing better than the Intel compiler in my tests."

Good reason to avoid Intel compiler even more.

Re:AMD Ryzen Threadripper 3960X and 3970X Review by loeg on Monday November 25, 2019 @08:05PM (#21634758)
Newest ICC is an LLVM frontend anyway. Maybe some special sauce, maybe not.
Re:AMD Ryzen Threadripper 3960X and 3970X Review by Dylan16807 on Monday November 25, 2019 @01:58PM (#21631490)
The link in the post above is a reasonable intro: https://www.agner.org/optimize/blog/read.php?i=49
Re:AMD Ryzen Threadripper 3960X and 3970X Review by neonate on Monday November 25, 2019 @03:07PM (#21632216)
Thank you!