alexv-smirnov bf0f13dd39 add ymake export to ydb 1 год назад
..
CMakeLists.darwin-x86_64.txt 33ed6077e6 Intermediate changes 1 год назад
CMakeLists.linux-x86_64.txt 33ed6077e6 Intermediate changes 1 год назад
CMakeLists.txt 26147c4e01 External build system generator release 21 1 год назад
CMakeLists.windows-x86_64.txt 6324d075a5 Intermediate changes 1 год назад
README.md b49848d6e3 Restoring authorship annotation for <spreis@yandex-team.ru>. Commit 2 of 2. 2 лет назад
cpu_id_check.cpp b49848d6e3 Restoring authorship annotation for <spreis@yandex-team.ru>. Commit 2 of 2. 2 лет назад
ya.make bf0f13dd39 add ymake export to ydb 1 год назад

README.md

Simple utility to check base target x86 SIMD exensions at startup.

Program may be built with some SIMD extension enabled (e.g. -msse4.2). PEERDIR to this library adds statrup check that machine where the program is running supports SIMD extension the program is built for.

Currently supported check are: sse4.2, pclmul, aes, avx, avx2 and fma.

Note: the library depends on util. Note: the library adds stratup code and so if PEERDIR-ed from LIBRARY will do so for all PROGRAM-s that (transitively) use the LIBRARY. Don't do this!

You normally don't need to PEERDIR this library at all. Since making sse4 in Arcadia default this library is used implicitly. It is PEERDIR-ed from all PROGRAM-s and derived modules (e.g. PY2_PROGRAM, but not GO_PROGRAM or JAVA_PROGRAM). It is also not applied to PROGRAM-s where NO_UTIL(), NO_PLATFORM() or ALLOCATOR(FAKE) set to avoid undesired dependencied. To disable this implicit check use NO_CPU_CHECK() macro or -DCPU_CHECK=no ya make flag.