locked Linux-Howto Processor AVX support (Was info about PC systems


Ralf Schlatterbeck
 

On Wed, Jun 09, 2021 at 12:37:09AM +0100, Bill Somerville wrote:

So in summary, look up your CPU and if it **does not support AVX**
(https://en.wikipedia.org/wiki/Advanced_Vector_Extensions) then let me know.
For those of us using Linux on a X86 cpu: You can find out if your
processor supports AVX by looking into the (special) file /proc/cpuinfo.
The flags there have the string "avx" if the cpu supports Advanced
Vector Extensions.

E.g.
grep '^flags' /proc/cpuinfo | grep avx
will output nothing if the processor does not support AVX and will
output all the flags for all the CPUs if it does. My desktop shows:

flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp
[repeated four times for each of the cpu cores]

Ralf, OE3RSU

--
Dr. Ralf Schlatterbeck Tel: +43/2243/26465-16
Open Source Consulting www: www.runtux.com
Reichergasse 131, A-3411 Weidling email: office@...

Join main@WSJTX.groups.io to automatically receive all group messages.