mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
bugfix: add vbmi case for test in database.cpp
This commit is contained in:
parent
6765b35d48
commit
4fb3a48dfd
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2015-2017, 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:
|
||||
@ -56,6 +56,10 @@ TEST(DB, flagsToPlatform) {
|
||||
p.cpu_features |= HS_CPU_FEATURES_AVX512;
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_AVX512VBMI)
|
||||
p.cpu_features |= HS_CPU_FEATURES_AVX512VBMI;
|
||||
#endif
|
||||
|
||||
platform_t pp = target_to_platform(target_t(p));
|
||||
ASSERT_EQ(pp, hs_current_platform);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user