aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/hyperscan/src/database.h
diff options
context:
space:
mode:
authorIvan Blinkov <ivan@blinkov.ru>2022-02-10 16:47:11 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:11 +0300
commit5b283123c882433dafbaf6b338adeea16c1a0ea0 (patch)
tree339adc63bce23800021202ae4a8328a843dc447a /contrib/libs/hyperscan/src/database.h
parent1aeb9a455974457866f78722ad98114bafc84e8a (diff)
downloadydb-5b283123c882433dafbaf6b338adeea16c1a0ea0.tar.gz
Restoring authorship annotation for Ivan Blinkov <ivan@blinkov.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/hyperscan/src/database.h')
-rw-r--r--contrib/libs/hyperscan/src/database.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/contrib/libs/hyperscan/src/database.h b/contrib/libs/hyperscan/src/database.h
index 9f80bee461..f122f97be7 100644
--- a/contrib/libs/hyperscan/src/database.h
+++ b/contrib/libs/hyperscan/src/database.h
@@ -41,7 +41,7 @@ extern "C"
#include "hs_compile.h" // for HS_MODE_ flags
#include "hs_version.h"
#include "ue2common.h"
-#include "util/arch.h"
+#include "util/arch.h"
#define HS_DB_VERSION HS_VERSION_32BIT
#define HS_DB_MAGIC (0xdbdbdbdbU)
@@ -54,7 +54,7 @@ extern "C"
#define HS_PLATFORM_CPU_MASK 0x3F
#define HS_PLATFORM_NOAVX2 (4<<13)
-#define HS_PLATFORM_NOAVX512 (8<<13)
+#define HS_PLATFORM_NOAVX512 (8<<13)
#define HS_PLATFORM_NOAVX512VBMI (0x10<<13)
/** \brief Platform features bitmask. */
@@ -62,12 +62,12 @@ typedef u64a platform_t;
static UNUSED
const platform_t hs_current_platform = {
-#if !defined(HAVE_AVX2)
+#if !defined(HAVE_AVX2)
HS_PLATFORM_NOAVX2 |
#endif
-#if !defined(HAVE_AVX512)
- HS_PLATFORM_NOAVX512 |
-#endif
+#if !defined(HAVE_AVX512)
+ HS_PLATFORM_NOAVX512 |
+#endif
#if !defined(HAVE_AVX512VBMI)
HS_PLATFORM_NOAVX512VBMI |
#endif
@@ -77,18 +77,18 @@ const platform_t hs_current_platform = {
static UNUSED
const platform_t hs_current_platform_no_avx2 = {
HS_PLATFORM_NOAVX2 |
- HS_PLATFORM_NOAVX512 |
+ HS_PLATFORM_NOAVX512 |
HS_PLATFORM_NOAVX512VBMI |
0,
};
-static UNUSED
-const platform_t hs_current_platform_no_avx512 = {
- HS_PLATFORM_NOAVX512 |
+static UNUSED
+const platform_t hs_current_platform_no_avx512 = {
+ HS_PLATFORM_NOAVX512 |
HS_PLATFORM_NOAVX512VBMI |
- 0,
-};
-
+ 0,
+};
+
static UNUSED
const platform_t hs_current_platform_no_avx512vbmi = {
HS_PLATFORM_NOAVX512VBMI |