This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: inline assembly issue


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]