inline assembly for wireless MMX (EVC 4.0)

inline assembly for wireless MMX (EVC 4.0)

Hi Experts,

I am trying to use Wireless MMX instructions as inline assembly into a C code. (Intel C++ Compiler 1.2 under Embedded VC++ 4.0)

C code

__asm WADDH wR0, wR1, wR2

C code

But I am getting the following error:

"error C2400: inline assembler syntax error in 'opcode'; found 'wR0'"

I have enabled the following flags for Intel Compiler: -QTPxsc3 -mcpu 3

Please help me to remove the error.

Regards, MJ

1 post / novo 0
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.