<div>Hi Experts,</div>
<div> </div>
<div>I am using the VS6 with service pack 5. I have installed the processor pack and include the iaxmm.inc. I experiences the following problem during compilation. </div>
<div> </div>
<div>The inline compiler didn't recongnize the registry XMM0~7. The other ASM file which using the XMM0~7 registry is compiled perfectly. This means that the inline compiler can not regonize the xmm0~7 at all. I am new to assembler and inline assembler. I might setup wrongly. At current limited knowledge, I can not think of any solution to solve this.
</div>
<div> </div>
<div>To illustrate the example more clearly, an error occur in the following code segment.</div>
<div> </div>
<div>int WillametteNewInstructionOSSupport()<br>{<br> __try<br> {<br> __asm xorpd xmm0, xmm0 // ERROR<br> }<br> __except(EXCEPTION_EXECUTE_HANDLER)<br> {<br> if(_exception_code())<br> {<br> return 0;<br> }<br> return 0;
<br> }<br> return 1;<br>}</div>
<div> </div>
<div>The error message is that:</div>
<div>C:\Documents and Settings\ferdinandn\My Documents\Visual Studio 2005\Projects\vp32\CoreLibs\CpuID\Win32\Wmt_CpuID.cpp(136) : error C2400: inline assembler syntax error in 'opcode'; found 'xmm0'<br> </div>
<div>Can some one please give me some hint?? I am stuck for the whole weekend >.<,</div>
<div> </div>
<div>Thank you very much for reading this e-mail.</div>
<div> </div>
<div>Best Regards</div>
<div>Ferdinand Ng</div>