fix(query): disable AVX2 when cpu instructions do not support it.

This commit is contained in:
Haojun Liao 2023-02-08 22:30:00 +08:00
parent 61be1fdc58
commit cc2fb66712
1 changed files with 1 additions and 1 deletions

View File

@ -228,7 +228,7 @@ int32_t tsCompressINTImp(const char *const input, const int32_t nelements, char
} }
int32_t tsDecompressINTImp(const char *const input, const int32_t nelements, char *const output, const char type) { int32_t tsDecompressINTImp(const char *const input, const int32_t nelements, char *const output, const char type) {
#if 1 #if __AVX2__
int32_t word_length = 0; int32_t word_length = 0;
switch (type) { switch (type) {
case TSDB_DATA_TYPE_BIGINT: case TSDB_DATA_TYPE_BIGINT: