Re: [PATCH][AArch64] Fix PR79041

2017-07-24 Thread James Greenhalgh
On Fri, Jul 21, 2017 at 12:22:00PM +0100, Wilco Dijkstra wrote: > >   > ping > >     > As described in PR79041, -mcmodel=large -mpc-relative-literal-loads > may be used to avoid generating ADRP/ADD or ADRP/LDR.  However both > trunk and GCC7 may still emit ADRP for some constant pool literals

Re: [PATCH][AArch64] Fix PR79041

2017-07-21 Thread Wilco Dijkstra
  ping     As described in PR79041, -mcmodel=large -mpc-relative-literal-loads may be used to avoid generating ADRP/ADD or ADRP/LDR.  However both trunk and GCC7 may still emit ADRP for some constant pool literals. Fix this by adding a aarch64_pcrelative_literal_loads check. OK for trunk/GCC

Re: [PATCH][AArch64] Fix PR79041

2017-07-14 Thread Wilco Dijkstra
ping   As described in PR79041, -mcmodel=large -mpc-relative-literal-loads may be used to avoid generating ADRP/ADD or ADRP/LDR.  However both trunk and GCC7 may still emit ADRP for some constant pool literals. Fix this by adding a aarch64_pcrelative_literal_loads check. OK for trunk/GCC7 back

Re: [PATCH][AArch64] Fix PR79041

2017-06-27 Thread Yvan Roux
On 27 June 2017 at 16:55, Yvan Roux wrote: > Hi > > On 27 June 2017 at 16:49, Wilco Dijkstra wrote: >> As described in PR79041, -mcmodel=large -mpc-relative-literal-loads >> may be used to avoid generating ADRP/ADD or ADRP/LDR. However both >> trunk and GCC7 may still emit ADRP for some constant

Re: [PATCH][AArch64] Fix PR79041

2017-06-27 Thread Yvan Roux
Hi On 27 June 2017 at 16:49, Wilco Dijkstra wrote: > As described in PR79041, -mcmodel=large -mpc-relative-literal-loads > may be used to avoid generating ADRP/ADD or ADRP/LDR. However both > trunk and GCC7 may still emit ADRP for some constant pool literals. > Fix this by adding a aarch64_pcrel

[PATCH][AArch64] Fix PR79041

2017-06-27 Thread Wilco Dijkstra
As described in PR79041, -mcmodel=large -mpc-relative-literal-loads may be used to avoid generating ADRP/ADD or ADRP/LDR. However both trunk and GCC7 may still emit ADRP for some constant pool literals. Fix this by adding a aarch64_pcrelative_literal_loads check. OK for trunk/GCC7 backport? Chan