Re: [PATCH v3] AArch64: Improve GOT addressing

2021-11-02 Thread Richard Sandiford via Gcc-patches
Wilco Dijkstra writes: > Hi Richard, > >> - Why do we rewrite the constant moves after reload into ldr_got_small_sidi >> and ldr_got_small_? Couldn't we just get the move patterns to >> output the sequence directly? > > That's possible too, however it makes the movsi/di patterns more complex.

Re: [PATCH v3] AArch64: Improve GOT addressing

2021-11-02 Thread Wilco Dijkstra via Gcc-patches
Hi Richard, > - Why do we rewrite the constant moves after reload into ldr_got_small_sidi >   and ldr_got_small_?  Couldn't we just get the move patterns to >   output the sequence directly? That's possible too, however it makes the movsi/di patterns more complex. See version v4 below. > - I thi

Re: [PATCH v3] AArch64: Improve GOT addressing

2021-11-02 Thread Richard Sandiford via Gcc-patches
Wilco Dijkstra writes: > ping > > > From: Wilco Dijkstra > Sent: 04 June 2021 14:44 > To: Richard Sandiford > Cc: Kyrylo Tkachov ; GCC Patches > > Subject: [PATCH v3] AArch64: Improve GOT addressing > > Hi Richard, > > This merges the v1 and v2 pa

Re: [PATCH v3] AArch64: Improve GOT addressing

2021-10-20 Thread Wilco Dijkstra via Gcc-patches
ping From: Wilco Dijkstra Sent: 04 June 2021 14:44 To: Richard Sandiford Cc: Kyrylo Tkachov ; GCC Patches Subject: [PATCH v3] AArch64: Improve GOT addressing   Hi Richard, This merges the v1 and v2 patches and removes the spurious MEM from ldr_got_small_si/di. This has been rebased after [1

[PATCH v3] AArch64: Improve GOT addressing

2021-06-04 Thread Wilco Dijkstra via Gcc-patches
Hi Richard, This merges the v1 and v2 patches and removes the spurious MEM from ldr_got_small_si/di. This has been rebased after [1], and the performance gain has now doubled. [1] https://gcc.gnu.org/pipermail/gcc-patches/2021-June/571708.html Improve GOT addressing by treating the instructions