Once upon a time, Simon Matter <simon.mat...@invoca.ch> said:
> Is there an easy way to figure out if a CPU does support x86-64-v2?
> Something like a list of CPU families or a list of flags to check?

Run "/lib64/ld-linux-x86-64.so.2 --help" - the output should include:

************************************************************************
Subdirectories of glibc-hwcaps directories, in priority order:
  x86-64-v4
  x86-64-v3 (supported, searched)
  x86-64-v2 (supported, searched)
************************************************************************

So for example, the system I ran this on is -v3, but not -v4.
-- 
Chris Adams <li...@cmadams.net>
_______________________________________________
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos

Reply via email to