Re: [RFC: AArch64] Parametrically set defaults for function and jump alignment

2014-11-14 Thread Ramana Radhakrishnan
On Fri, Nov 14, 2014 at 11:11 AM, Marcus Shawcroft wrote: > On 14 November 2014 10:50, James Greenhalgh wrote: >> On Fri, Nov 14, 2014 at 10:42:27AM +, Andrew Pinski wrote: >>> On Fri, Nov 14, 2014 at 2:35 AM, James Greenhalgh >>> wrote: >>> > >>> > Hi, >>> > >>> > We currently do not set an

Re: [RFC: AArch64] Parametrically set defaults for function and jump alignment

2014-11-14 Thread Marcus Shawcroft
On 14 November 2014 10:50, James Greenhalgh wrote: > On Fri, Nov 14, 2014 at 10:42:27AM +, Andrew Pinski wrote: >> On Fri, Nov 14, 2014 at 2:35 AM, James Greenhalgh >> wrote: >> > >> > Hi, >> > >> > We currently do not set any interesting default values for jump and >> > function >> > alignm

Re: [RFC: AArch64] Parametrically set defaults for function and jump alignment

2014-11-14 Thread James Greenhalgh
On Fri, Nov 14, 2014 at 10:42:27AM +, Andrew Pinski wrote: > On Fri, Nov 14, 2014 at 2:35 AM, James Greenhalgh > wrote: > > > > Hi, > > > > We currently do not set any interesting default values for jump and function > > alignment in AArch64. I've made the formula for these values derive from

Re: [RFC: AArch64] Parametrically set defaults for function and jump alignment

2014-11-14 Thread Andrew Pinski
On Fri, Nov 14, 2014 at 2:35 AM, James Greenhalgh wrote: > > Hi, > > We currently do not set any interesting default values for jump and function > alignment in AArch64. I've made the formula for these values derive from > the issue rate of the processor as so: > > jumps: 4 * processor issue-rat

[RFC: AArch64] Parametrically set defaults for function and jump alignment

2014-11-14 Thread James Greenhalgh
Hi, We currently do not set any interesting default values for jump and function alignment in AArch64. I've made the formula for these values derive from the issue rate of the processor as so: jumps: 4 * processor issue-rate (rounded down to nearest power of two) functions: 4 * processor iss