mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-06-28 16:41:01 +03:00
move cpuid stuff to util/arch/x86
This commit is contained in:
parent
2d89df44ae
commit
6a40793719
@ -564,8 +564,8 @@ install(FILES ${hs_HEADERS} DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/hs")
|
||||
set (hs_exec_common_SRCS
|
||||
src/alloc.c
|
||||
src/scratch.c
|
||||
src/util/cpuid_flags.c
|
||||
src/util/cpuid_flags.h
|
||||
src/util/arch/x86/cpuid_flags.c
|
||||
src/util/arch/x86/cpuid_flags.h
|
||||
src/util/multibit.c
|
||||
)
|
||||
|
||||
|
@ -30,7 +30,9 @@
|
||||
#include "hs_common.h"
|
||||
#include "hs_runtime.h"
|
||||
#include "ue2common.h"
|
||||
#include "util/cpuid_inline.h"
|
||||
#if defined(ARCH_X86_64)
|
||||
#include "util/arch/x86/cpuid_inline.h"
|
||||
#endif
|
||||
#include "util/join.h"
|
||||
|
||||
#if defined(DISABLE_AVX512_DISPATCH)
|
||||
|
@ -44,8 +44,10 @@
|
||||
#include "parser/prefilter.h"
|
||||
#include "parser/unsupported.h"
|
||||
#include "util/compile_error.h"
|
||||
#include "util/cpuid_flags.h"
|
||||
#include "util/cpuid_inline.h"
|
||||
#if defined(ARCH_X86_64)
|
||||
#include "util/arch/x86/cpuid_flags.h"
|
||||
#include "util/arch/x86/cpuid_inline.h"
|
||||
#endif
|
||||
#include "util/depth.h"
|
||||
#include "util/popcount.h"
|
||||
#include "util/target_info.h"
|
||||
|
@ -26,9 +26,11 @@
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#include "hs_common.h"
|
||||
#include "util/cpuid_flags.h"
|
||||
#include "util/cpuid_inline.h"
|
||||
#if defined(ARCH_X86_64)
|
||||
#include "util/arch/x86/cpuid_inline.h"
|
||||
#endif
|
||||
|
||||
HS_PUBLIC_API
|
||||
hs_error_t HS_CDECL hs_valid_platform(void) {
|
||||
|
@ -29,7 +29,9 @@
|
||||
|
||||
#include "hs_compile.h" // for various hs_platform_info flags
|
||||
#include "target_info.h"
|
||||
#include "util/cpuid_flags.h"
|
||||
#if defined(ARCH_X86_64)
|
||||
#include "util/arch/x86/cpuid_flags.h"
|
||||
#endif
|
||||
|
||||
namespace ue2 {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user