在visual studio (VC6)中如何对sse、sse2指令进行编译?
我已经装了service pack 5 (sp5),可是还是不认sse的指令。
请高手指点一下,多谢!

解决方案 »

  1.   

    VC6连MMX指令也不支持,何况SSE、SSE2。
    办法2:
    1:到Intel网站下载试用版,一个专为VC6做的支持到P4的软件。
    2:用VC.NET 2003,直接支持到P4指令。
      

  2.   

    装了sp5,MMX应该就没问题了。但SSE、SSE2就不清楚了。
      

  3.   

    Richuen22:
    是这样啊,能不能告知那个专为VC6做的支持到P4的软件在Intel网站的什么地方,或叫什么名?我找了半天,只看见一个2000年的C/C++编译器,应该不是吧。
    多谢!
      

  4.   

    介绍在
    http://developer.intel.com/software/products/compilers/
    下载试用版(30天)
    http://developer.intel.com/software/products/global/eval.htm
    下面的“Intel Complilers”处
      

  5.   

    试试这个http://msdn.microsoft.com/vstudio/downloads/tools/ppack/download.aspx
    Visual C++ 6.0 Processor Pack Download
      

  6.   

    The _emit PseudoinstructionSee Also
    Using Assembly Language in __asm BlocksMicrosoft Specific
    The _emit pseudoinstruction is similar to the DB directive of MASM. You use _emit to define a single immediate byte at the current location in the current text segment. However, _emit can define only one byte at a time, and it can only define bytes in the text segment. It uses the same syntax as the INT instruction. 
    The following fragment places the given bytes into the code:
    #define randasm __asm _emit 0x4A __asm _emit 0x43 __asm _emit 0x4B
     .
     .
     .
    __asm {
         randasm
         }