What is the minimum target processor architecture for the different versions of Visual Studio?

What is the minimum architecture of the target processor (indicated with predefined macros _M_IX86) supported by each version of Visual Studio 2008, 2010 and 2012?

For example, MSVS 2012 only supports Pentium Pro and higher.

+4
source share
1 answer

The classic switch for this was /G. Your available options were different for different versions of the compiler (with newer versions discarding older parameters, although they continue to accept them for compatibility reasons). Here is what you got:

  • /G3 , 386 (_M_IX86 300)
  • /G4 486 (_M_IX86 400)
  • /G5 , Pentium (_M_IX86 500)
  • /G6 , Pentium Pro, II III (_M_IX86 600)
  • /G7 , Pentium 4 AMD Athlon (_M_IX86 700)

  • /GB "blend", , , . , .

, , , . .

, , . , , - Itanium ( ). , V++ 2005 /G3 - /G7:

[The] /G3, /G4, /G5, /G6, /G7 /GB . " ", .

, V++ 6, , V++ 2008. , , VS 2012 Pentium Pro. - . 2012 , . , Windows XP, Pentium-233, Windows XP .

_M_IX86 - , Intel IA-32, 32- x86, , _M_AMD64 64- x86. .

, _M_IX86 - , . , , _M_PPC: MSV++, PowerPC? 4,2?


. , .

, /arch. :

  • /arch:IA32, , x87
  • /arch:SSE, SSE
  • /arch:SSE2, SSE2 ( x86)
  • /arch:AVX, Intel.
  • /arch:AVX2, Intel 2

    "", , , . , , SSE, CMOV, CMOV , /arch:SSE . CMOV SSE; SSE Pentium III, CMOV Pentium Pro. , SSE.

/favor. V++ 2008, /G3 - /G7. :

  • /favor:blend
  • /favor:INTEL64 , Intel x86-64
  • /favor:AMD64 , AMD x86-64
  • /favor:ATOM , Intel Atom.
+7

Source: https://habr.com/ru/post/1537821/


All Articles