On Sun, Mar 14, 2021 at 8:14 PM H.J. Lu <hjl.to...@gmail.com> wrote: > > > Done. Here is the updated patch. Tested on Linux/x86-64. OK for master? > > > > I don't understand the purpose of the current_output_insn check and I > > don't know if the usage of current_output_insn is correct. The > > comments are not helpful either, and no other target uses this > > variable in the way you propose. Can you please elaborate the reason > > and the purpose of the check a bit more? > > > > Uros. > > Originally, ix86_force_load_from_GOT_p is only for non-PIC. My patch > extended > it to inline assembly statements where current_output_insn == NULL and PIC is > allowed in 64-bit.
I can see this from the patch, but this explanation didn't answer my question. Uros.