|
|
|
|
|
by aleden
984 days ago
|
|
The GLIBC_TUNABLES can be used to "choose" between different versions of e.g. memcpy at runtime. This can be really useful for debugging, if you want to allow/disallow AVX extensions, for example (even if your CPU supports them). This is what I use on x86_64 to make life easier for my "static" version of qemu usermode: GLIBC_TUNABLES=glibc.cpu.hwcaps=
-AVX
-AVX2
-AVX_Usable
-AVX2_Usable
-AVX512F_Usable
-SSE4_1
-SSE4_2
-SSSE3
-Fast_Unaligned_Load
-ERMS
-AVX_Fast_Unaligned_Load
|
|