8000 report presence of AVX2 instruction set in `--version` · botnick/arangodb@64cbee7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 64cbee7

Browse files
committed
report presence of AVX2 instruction set in --version
1 parent 97ba8ca commit 64cbee7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/Rest/Version.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,12 @@ void Version::initialize() {
177177
Values["sse42"] = "false";
178178
#endif
179179

180+
#ifdef __AVX2__
181+
Values["avx2"] = "true";
182+
#else
183+
Values["avx2"] = "false";
184+
#endif
185+
180186
#ifdef ARANGODB_ENABLE_MAINTAINER_MODE
181187
Values["maintainer-mode"] = "true";
182188
#else

0 commit comments

Comments
 (0)
0