Linux discriminates Zen2 versus Haswell when loading libraries?

By: Hans de Vries (nospam.delete@this.thank.you.so), September 8, 2019 10:18 pm
Room: Moderated Discussions
This is currently emerging on the Internet: Bug URL
Bug 24979 - sysdeps: dl_platform detection effectively performs "cripple AMD"

Glibc received the capability to transparently load libraries for specific CPU families with some SIMD extensions combinations in 2017, a move that should be beneficial for a lot of x86 users. However, the current form of the implementation[1] limits two "good" sets of modern SIMD instructions to Intel processors only, preventing competitor CPUs with equivalent capabilities to fully perform, something that should not happen in any free software package. This feels quite like a flashback to the icc/mkl "cripple AMD" routine from 2009.[2]

Well, it seems indeed that some optimized libraries are loaded for Haswell but not for Zen 2. Question is when are these parameters used for which libraries? source URL

The original author wrote this code in May 2017, long before Zen 2. I would trust him even though he works for Intel since 2003. He produced the very first Linux boot/root distribution (version 0.12 in early 1992 on two 5.25" floppies).

Source code

 Next Post in Thread >
TopicPosted ByDate
Linux discriminates Zen2 versus Haswell when loading libraries?Hans de Vries2019/09/08 10:18 PM
  Linux discriminates Zen2 versus Haswell when loading libraries?none2019/09/08 11:16 PM
    Linux discriminates Zen2 versus Haswell when loading libraries?none2019/09/09 02:45 AM
  Linux discriminates Zen2 versus Haswell when loading libraries?Adrian2019/09/09 12:06 AM
    Linux discriminates Zen2 versus Haswell when loading libraries?Jan Olšan2019/09/09 03:29 PM
  Linux discriminates Zen2 versus Haswell when loading libraries?Foo_2019/09/09 03:42 AM
Reply to this Topic
Name:
Email:
Topic:
Body: No Text
How do you spell purple?