Re: [PATCH] x86-64: Use R10 for profiling large model

2021-01-08 Thread H.J. Lu via Gcc-patches
On Fri, Jan 8, 2021 at 1:24 AM Uros Bizjak wrote: > > > Since R10 is preserved when calling mcount, R10 can be used a scratch > > register to call mcount in large model. > > Please mention that R10 can be used as a static chain registers and is > preserved when calling mcount for nested functions.

Re: [PATCH] x86-64: Use R10 for profiling large model

2021-01-08 Thread Uros Bizjak via Gcc-patches
> Since R10 is preserved when calling mcount, R10 can be used a scratch > register to call mcount in large model. Please mention that R10 can be used as a static chain registers and is preserved when calling mcount for nested functions. > gcc/ > > PR target/98482 > * config/i386/i386.c (x86_funct