mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-10-12 02:08:45 +00:00
x86emitter: Abstract MXCSR into a general FPControlRegister type
This commit is contained in:
committed by
Connor McLaughlin
parent
86edc0dbe2
commit
308f8c5112
@@ -5,7 +5,6 @@
|
||||
|
||||
#include "common/Threading.h"
|
||||
#include "common/Assertions.h"
|
||||
#include "common/emitter/tools.h"
|
||||
#include "common/RedtapeWindows.h"
|
||||
#include <mmsystem.h>
|
||||
#include <process.h>
|
||||
@@ -20,7 +19,11 @@ __fi void Threading::Timeslice()
|
||||
// improve performance and reduce cpu power consumption.
|
||||
__fi void Threading::SpinWait()
|
||||
{
|
||||
#ifdef _M_X86
|
||||
_mm_pause();
|
||||
#else
|
||||
YieldProcessor();
|
||||
#endif
|
||||
}
|
||||
|
||||
__fi void Threading::EnableHiresScheduler()
|
||||
|
||||
Reference in New Issue
Block a user