pshufw 0,%mm0,%mm0 ?

is it possible to compile this C file using pgCC ?
I get the following error

Error: suffix or operands invalid for `pshufw’

and i have a feeling that i am missing something here.
Thanks

``````#include <stdio.h>
main()
{
printf("hello world\n");
__asm
("
pshufw    0,%mm0,%mm0
");

}
``````

Hi Sukesh,

This compiles:

``````#include <stdio.h>
main()
{
printf("hello world\n");
__asm("pshufw    \$0,%mm0,%mm0");
}
``````

You need to use \$0 for constants.

Hope this helps,
Mat

thanks mat…
(… i really need to get out of the icc world)