Common: Move cpu_detect to x64 directory.

master
bunnei 2015-08-12 00:19:20 +07:00
parent bd7e691f78
commit a1942238f5
5 changed files with 6 additions and 7 deletions

@ -3,7 +3,6 @@ configure_file("${CMAKE_CURRENT_SOURCE_DIR}/scm_rev.cpp.in" "${CMAKE_CURRENT_SOU
set(SRCS set(SRCS
break_points.cpp break_points.cpp
cpu_detect.cpp
emu_window.cpp emu_window.cpp
file_util.cpp file_util.cpp
hash.cpp hash.cpp
@ -31,7 +30,6 @@ set(HEADERS
common_funcs.h common_funcs.h
common_paths.h common_paths.h
common_types.h common_types.h
cpu_detect.h
debug_interface.h debug_interface.h
emu_window.h emu_window.h
file_util.h file_util.h
@ -63,10 +61,12 @@ set(HEADERS
if(ARCHITECTURE_X64) if(ARCHITECTURE_X64)
set(SRCS ${SRCS} set(SRCS ${SRCS}
x64/abi.cpp x64/abi.cpp
x64/cpu_detect.cpp
x64/emitter.cpp) x64/emitter.cpp)
set(HEADERS ${HEADERS} set(HEADERS ${HEADERS}
x64/abi.h x64/abi.h
x64/cpu_detect.h
x64/emitter.h) x64/emitter.h)
endif() endif()

@ -5,9 +5,9 @@
#include <cstring> #include <cstring>
#include <string> #include <string>
#include "common_types.h" #include "common/common_types.h"
#include "cpu_detect.h" #include "cpu_detect.h"
#include "hash.h"
#ifndef _WIN32 #ifndef _WIN32

@ -18,11 +18,11 @@
#include <cstring> #include <cstring>
#include "common/assert.h" #include "common/assert.h"
#include "common/cpu_detect.h"
#include "common/logging/log.h" #include "common/logging/log.h"
#include "common/memory_util.h" #include "common/memory_util.h"
#include "abi.h" #include "abi.h"
#include "cpu_detect.h"
#include "emitter.h" #include "emitter.h"
#define PRIx64 "llx" #define PRIx64 "llx"

@ -4,9 +4,8 @@
#include <smmintrin.h> #include <smmintrin.h>
#include "common/cpu_detect.h"
#include "common/x64/abi.h" #include "common/x64/abi.h"
#include "common/x64/cpu_detect.h"
#include "common/x64/emitter.h" #include "common/x64/emitter.h"
#include "shader.h" #include "shader.h"