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:
zilmar 2015-10-30 11:27:40 +11:00
commit 3c64df1837
3 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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();