[XviD-devel] Inline assembly using mmx sse2

kabbin kabbin26 at yahoo.com.tw
Wed May 30 12:03:28 CEST 2007


Hello :

      When I porting from linux to windows Visual Studio 2005,
I got some trouble on inline assembly.

__asm{
   pxor    xmm7,xmm7
   movq  xmm1,temp_int
   punpcklbw  xmm7,xmm1
}

It shows error message on  "movq xmm1.temp_int"
which shows that : error C2415: improper operand type

Is it due that the type of xmm1 is float ?
Though It build ok if   "movq  mm1,temp_int " .
But I think it is a bad idea to replace xmm1 by mm1 shows in whole source code.
Could anybody help me ? Thanks.


___________________________________________________ 
 您的生活即時通 - 溝通、娛樂、生活、工作一次搞定! 
 http://messenger.yahoo.com.tw/


More information about the XviD-devel mailing list