]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
bugfix: add vbmi platform parameter for tests in single.cpp
authorHong, Yang A <yang.a.hong@intel.com>
Mon, 7 Jun 2021 07:35:57 +0000 (15:35 +0800)
committerKonstantinos Margaritis <markos@freevec.org>
Tue, 5 Sep 2023 10:52:03 +0000 (13:52 +0300)
unit/hyperscan/single.cpp

index 01fbfeab56c4c429dbd85f0deb22ba16acd654ff..07269cf002de595840386722cd6b64b641b2e32d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015-2016, Intel Corporation
+ * Copyright (c) 2015-2021, Intel Corporation
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:
@@ -363,8 +363,9 @@ static const unsigned validModes[] = {
 // Mode bits for switching off various architecture features
 static const unsigned long long featureMask[] = {
     ~0ULL, /* native */
-    ~(HS_CPU_FEATURES_AVX2 | HS_CPU_FEATURES_AVX512), /* no avx2 */
-    ~HS_CPU_FEATURES_AVX512, /* no avx512 */
+    ~(HS_CPU_FEATURES_AVX2 | HS_CPU_FEATURES_AVX512 | HS_CPU_FEATURES_AVX512VBMI), /* no avx2 */
+    ~(HS_CPU_FEATURES_AVX512 | HS_CPU_FEATURES_AVX512VBMI), /* no avx512 */
+    ~HS_CPU_FEATURES_AVX512VBMI, /* no avx512vbmi */
 };
 
 INSTANTIATE_TEST_CASE_P(Single,