mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 09:39:46 -06:00
Clean up the intrinsics #ifdef mess
This commit is contained in:
@ -6,10 +6,10 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <intrin.h>
|
||||
#include <Windows.h>
|
||||
|
||||
#include "Common/Common.h"
|
||||
#include "Common/Intrinsics.h"
|
||||
|
||||
// Atomic operations are performed in a single step by the CPU. It is
|
||||
// impossible for other threads to see the operation "half-done."
|
||||
|
@ -4,11 +4,9 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include "Common/CommonFuncs.h"
|
||||
#include "Common/Hash.h"
|
||||
#if _M_SSE >= 0x402
|
||||
#include "Common/CPUDetect.h"
|
||||
#include <nmmintrin.h>
|
||||
#endif
|
||||
#include "Common/Hash.h"
|
||||
#include "Common/Intrinsics.h"
|
||||
|
||||
static u64 (*ptrHashFunction)(const u8 *src, u32 len, u32 samples) = &GetMurmurHash3;
|
||||
|
||||
|
@ -7,13 +7,9 @@
|
||||
|
||||
#include "Common/CommonTypes.h"
|
||||
#include "Common/CPUDetect.h"
|
||||
#include "Common/Intrinsics.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <intrin.h>
|
||||
#else
|
||||
|
||||
//#include <config/i386/cpuid.h>
|
||||
#include <xmmintrin.h>
|
||||
#ifndef _WIN32
|
||||
|
||||
#if defined __FreeBSD__
|
||||
#include <sys/types.h>
|
||||
|
@ -7,12 +7,7 @@
|
||||
#include "Common/CommonTypes.h"
|
||||
#include "Common/CPUDetect.h"
|
||||
#include "Common/FPURoundMode.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
# include <mmintrin.h>
|
||||
#else
|
||||
# include <xmmintrin.h>
|
||||
#endif
|
||||
#include "Common/Intrinsics.h"
|
||||
|
||||
namespace FPURoundMode
|
||||
{
|
||||
|
Reference in New Issue
Block a user