mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
We require MSVC 1800 as our minimum, so these checks can safely go away; NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@229415 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7fcd74585a
commit
502401111b
@ -137,8 +137,6 @@ static bool GetX86CpuIDAndInfoEx(unsigned value, unsigned subleaf,
|
||||
"c" (subleaf));
|
||||
return false;
|
||||
#elif defined(_MSC_VER)
|
||||
// __cpuidex was added in MSVC++ 9.0 SP1
|
||||
#if (_MSC_VER > 1500) || (_MSC_VER == 1500 && _MSC_FULL_VER >= 150030729)
|
||||
int registers[4];
|
||||
__cpuidex(registers, value, subleaf);
|
||||
*rEAX = registers[0];
|
||||
@ -149,9 +147,6 @@ static bool GetX86CpuIDAndInfoEx(unsigned value, unsigned subleaf,
|
||||
#else
|
||||
return true;
|
||||
#endif
|
||||
#else
|
||||
return true;
|
||||
#endif
|
||||
#elif defined(i386) || defined(__i386__) || defined(__x86__) || defined(_M_IX86)
|
||||
#if defined(__GNUC__)
|
||||
asm ("movl\t%%ebx, %%esi\n\t"
|
||||
|
Loading…
Reference in New Issue
Block a user