Merge pull request #714 from cxd4/msvc-_M_IX86-specific
[RSP] Disable MSVC-specific 32-bit-only code for non-MSVC.
This commit is contained in:
commit
3c64df1837
|
@ -273,7 +273,7 @@ void DetectCpuSpecs(void)
|
|||
DWORD AMD_Features = 0;
|
||||
|
||||
__try {
|
||||
#ifdef _M_IX86
|
||||
#if defined(_M_IX86) && defined(_MSC_VER)
|
||||
_asm {
|
||||
/* Intel features */
|
||||
mov eax, 1
|
||||
|
|
|
@ -60,7 +60,7 @@ public:
|
|||
DWORD OldTimerAddr = StopTimer();
|
||||
m_CurrentTimerAddr = Address;
|
||||
|
||||
#ifdef _M_IX86
|
||||
#if defined(_M_IX86) && defined(_MSC_VER)
|
||||
DWORD HiValue, LoValue;
|
||||
_asm {
|
||||
pushad
|
||||
|
@ -80,7 +80,7 @@ public:
|
|||
{
|
||||
if (m_CurrentTimerAddr == Timer_None) { return m_CurrentTimerAddr; }
|
||||
|
||||
#ifdef _M_IX86
|
||||
#if defined(_M_IX86) && defined(_MSC_VER)
|
||||
DWORD HiValue, LoValue;
|
||||
_asm {
|
||||
pushad
|
||||
|
|
|
@ -933,7 +933,7 @@ DWORD RunRecompilerCPU ( DWORD Cycles ) {
|
|||
StartTimer(*PrgCount);
|
||||
}
|
||||
|
||||
#ifdef _M_IX86
|
||||
#if defined(_M_IX86) && defined(_MSC_VER)
|
||||
_asm {
|
||||
pushad
|
||||
call Block
|
||||
|
@ -952,7 +952,7 @@ DWORD RunRecompilerCPU ( DWORD Cycles ) {
|
|||
}
|
||||
|
||||
if (IsMmxEnabled == TRUE) {
|
||||
#ifdef _M_IX86
|
||||
#if defined(_M_IX86) && defined(_MSC_VER)
|
||||
_asm emms
|
||||
#else
|
||||
DebugBreak();
|
||||
|
|
Loading…
Reference in New Issue