I'm trying to compile (visual studio 2005) ffmpeg with mmx flag enabled (HAVE_MMX) but get the following error: "error C2400: inline assembler syntax error in ‘opcode’" And it's complaining about xpor_r2r
Ideas?
[Update]
Jester pointed out that it's probably a problem with the macro:
#define mmx_r2r(op,regs,regd) \
__asm__ volatile (#op " %" #regs ", %" #regd)
Directly using:
__asm__ pxor mm7 mm7
works
Adding volatile (as in the macro mentioned) gives the same error, syntax error as before in 'opcode' found 'data_type'.
Just removing volatile from the macro does not work, instead gives error in 'opcode' found '('
Removing the paranthesis instead gives error in 'opcode' found 'bad_token'