summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Common/Intrinsics.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/Source/Core/Common/Intrinsics.h b/Source/Core/Common/Intrinsics.h
new file mode 100644
index 0000000000..6847387615
--- /dev/null
+++ b/Source/Core/Common/Intrinsics.h
@@ -0,0 +1,15 @@
+// Copyright 2015 Dolphin Emulator Project
+// Licensed under GPLv2
+// Refer to the license.txt file included.
+
+#pragma once
+
+#ifdef _M_X86
+
+#ifdef _MSC_VER
+#include <intrin.h>
+#else
+#include <x86intrin.h>
+#endif
+
+#endif // _M_X86