Über Open CoDE Software Wiki Diskussionen GitLab

Skip to content

Optimize binaries for Haswell or later to better utilize our server hardware.

Adam Reichold requested to merge pick-the-right-one into main

Created by: adamreichold

Our servers report as

> cat /proc/cpuinfo
[..]
model name      : Intel Core Processor (Haswell, no TSX, IBRS)
[..]
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl xtopology cpuid pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm cpuid_fault invpcid_single pti ssbd ibrs ibpb stibp fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt arat md_clear
[..]

so this should be the right target CPU flag.

Merge request reports

Loading