[PATCH/AARCH64] Improve ThunderX code generation slightly with load/store pair

2016-08-05 Thread Andrew Pinski
Hi, On ThunderX, load (and store) pair that does a pair of two word (32bits) load/stores is slower in some cases than doing two load/stores. For some internal benchmarks, it provides a 2-5% improvement. This patch disables the forming of the load/store pairs for SImode if we are tuning for Thun

Re: [PATCH/AARCH64] Improve ThunderX code generation slightly with load/store pair

2016-08-05 Thread Jim Wilson
On 08/05/2016 12:18 AM, Andrew Pinski wrote: This patch disables the forming of the load/store pairs for SImode if we are tuning for ThunderX. I used the tuning flags route so it can be overridden if needed later on or if someone else wants to use the same method for their core. + if (mode ==

Re: [PATCH/AARCH64] Improve ThunderX code generation slightly with load/store pair

2016-08-08 Thread Andrew Pinski
On Fri, Aug 5, 2016 at 12:18 AM, Andrew Pinski wrote: > Hi, > On ThunderX, load (and store) pair that does a pair of two word > (32bits) load/stores is slower in some cases than doing two > load/stores. For some internal benchmarks, it provides a 2-5% > improvement. > > This patch disables the

Re: [PATCH/AARCH64] Improve ThunderX code generation slightly with load/store pair

2016-08-09 Thread Richard Earnshaw (lists)
On 08/08/16 18:48, Andrew Pinski wrote: > On Fri, Aug 5, 2016 at 12:18 AM, Andrew Pinski wrote: >> Hi, >> On ThunderX, load (and store) pair that does a pair of two word >> (32bits) load/stores is slower in some cases than doing two >> load/stores. For some internal benchmarks, it provides a 2-

Re: [PATCH/AARCH64] Improve ThunderX code generation slightly with load/store pair

2016-09-12 Thread Andrew Pinski
On Tue, Aug 9, 2016 at 10:43 AM, Richard Earnshaw (lists) wrote: > On 08/08/16 18:48, Andrew Pinski wrote: >> On Fri, Aug 5, 2016 at 12:18 AM, Andrew Pinski wrote: >>> Hi, >>> On ThunderX, load (and store) pair that does a pair of two word >>> (32bits) load/stores is slower in some cases than d