Re: [Patch/ARM] Cortex-M4 core pipeline patch to tune LDR/STR pairs

2013-04-16 Thread Richard Earnshaw
On 29/03/13 09:59, Terry Guo wrote: Hello, The attached pipeline patch intends to turn following code generation ldr r5, [r4, #12] adds r2, r2, #16 str r5, [r3, #8] to ldr r5, [r4, #12] str r5, [r3, #8] adds r2, r2, #16 The reason is that the STR can be started from the second cycle of its p

RE: [Patch/ARM] Cortex-M4 core pipeline patch to tune LDR/STR pairs

2013-04-15 Thread Terry Guo
6:00 PM > To: gcc-patches@gcc.gnu.org > Subject: [Patch/ARM] Cortex-M4 core pipeline patch to tune LDR/STR pairs > > Hello, > > The attached pipeline patch intends to turn following code generation > > ldr r5, [r4, #12] > adds r2, r2, #16 > str r5, [r3, #8] >

[Patch/ARM] Cortex-M4 core pipeline patch to tune LDR/STR pairs

2013-03-29 Thread Terry Guo
Hello, The attached pipeline patch intends to turn following code generation ldr r5, [r4, #12] adds r2, r2, #16 str r5, [r3, #8] to ldr r5, [r4, #12] str r5, [r3, #8] adds r2, r2, #16 The reason is that the STR can be started from the second cycle of its preceding LDR which takes 2 cycles, as