Re: [Bug target/90513] asm thunks do not work on PowerPC64/VxWorks (kernel mode)

2019-06-11 Thread Segher Boessenkool
On Tue, Jun 11, 2019 at 10:25:58PM +0530, Umesh Kalappa wrote: > We would like to know comments on the below proposed change ? As I said in the PR, this is not a proper patch. Also, like Eric says there, it does not do the right thing for many configurations. Fix the loader, instead? Segher

Re: Register Allocation Bug?

2009-04-06 Thread Segher Boessenkool
#define ESP (rel,value,addr) \ asm volatile (mov (%%esp, %2, 4), %0\n \t \ lea (%%esp, %2, 4), %1\n \t \ : =r (value), =r (addr) \