Re: [PATCH v4] x86: Update 'P' operand modifier for -fno-plt

2021-03-17 Thread H.J. Lu via Gcc-patches
On Wed, Mar 17, 2021 at 6:14 AM Uros Bizjak wrote: > > On Wed, Mar 17, 2021 at 1:45 PM H.J. Lu wrote: > > > > On Wed, Mar 17, 2021 at 12:40 AM Uros Bizjak wrote: > > > > > > On Tue, Mar 16, 2021 at 4:59 PM H.J. Lu wrote: > > > > > > > > On Sun, Mar 14, 2021 at 1:31 PM H.J. Lu wrote: > > > > >

Re: [PATCH v4] x86: Update 'P' operand modifier for -fno-plt

2021-03-17 Thread Uros Bizjak via Gcc-patches
On Wed, Mar 17, 2021 at 1:45 PM H.J. Lu wrote: > > On Wed, Mar 17, 2021 at 12:40 AM Uros Bizjak wrote: > > > > On Tue, Mar 16, 2021 at 4:59 PM H.J. Lu wrote: > > > > > > On Sun, Mar 14, 2021 at 1:31 PM H.J. Lu wrote: > > > > > > > > On Sun, Mar 14, 2021 at 12:43 PM Uros Bizjak wrote: > > > > >

Re: [PATCH v4] x86: Update 'P' operand modifier for -fno-plt

2021-03-17 Thread H.J. Lu via Gcc-patches
s explanation didn't answer my > > > > question. > > > > > > > > > > The purpose of current_output_insn == NULL is to allow PIC for inline > > > asm statements in 64-bit mode. Is there a better way to check if > > > ix86_print_operand

Re: [PATCH v4] x86: Update 'P' operand modifier for -fno-plt

2021-03-17 Thread Uros Bizjak via Gcc-patches
On Tue, Mar 16, 2021 at 4:59 PM H.J. Lu wrote: > > On Sun, Mar 14, 2021 at 1:31 PM H.J. Lu wrote: > > > > On Sun, Mar 14, 2021 at 12:43 PM Uros Bizjak wrote: > > > > > > On Sun, Mar 14, 2021 at 8:14 PM H.J. Lu wrote: > > > > > > Done. Here is the updated patch. Tested on Linux/x86-64. OK for

[PATCH v4] x86: Update 'P' operand modifier for -fno-plt

2021-03-16 Thread H.J. Lu via Gcc-patches
On Sun, Mar 14, 2021 at 1:31 PM H.J. Lu wrote: > > On Sun, Mar 14, 2021 at 12:43 PM Uros Bizjak wrote: > > > > On Sun, Mar 14, 2021 at 8:14 PM H.J. Lu wrote: > > > > > Done. Here is the updated patch. Tested on Linux/x86-64. OK for > > > > > master? > > > > > > > > I don't understand the pur