inline assembly issue

Tomek tomek@slimaczek.pl
Thu May 21 16:56:00 GMT 2009


Hello

> asm_volatile (
>       "cpop1 [%1 + %%g0], %0"
>      : =r(tasknum)
>      : r (cmd));

> Is there any way to tell the compiler not let them have the same register,

  : =&r(tasknum)
  : r (cmd));

-- 
Tomek



More information about the Gcc-help mailing list