Re: ARM: gcc generates two identical strd instructions to store 8 bytes

2012-06-26 Thread Ian Lance Taylor
Nathanaël Prémillieu writes: > I do not ask for help, I just want to highlight what seems to me a > strange behavior. The mailing list gcc@gcc.gnu.org is for discussion of the development of GCC itself. Discussion of GCC behaviour, including questions about optimizations and possible bugs, is b

Re: ARM: gcc generates two identical strd instructions to store 8 bytes

2012-06-26 Thread Nathanaël Prémillieu
Le 26/06/2012 00:16, Michael Hope a écrit : On 26 June 2012 00:48, Nathanaël Prémillieu wrote: Hi all, I am using the gcc ARM cross-compiler (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)). Compiling the test.c code (in attachement) with: 'arm-linux-gnueabi-gcc -S test.c' I obtain the t

Re: ARM: gcc generates two identical strd instructions to store 8 bytes

2012-06-25 Thread Michael Hope
On 26 June 2012 00:48, Nathanaël Prémillieu wrote: > Hi all, > > I am using the gcc ARM cross-compiler (gcc version 4.6.3 (Ubuntu/Linaro > 4.6.3-1ubuntu5)). Compiling the test.c code (in attachement) with: > > 'arm-linux-gnueabi-gcc -S test.c' > > I obtain the test.s assembly code (in attachement)

ARM: gcc generates two identical strd instructions to store 8 bytes

2012-06-25 Thread Nathanaël Prémillieu
Hi all, I am using the gcc ARM cross-compiler (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)). Compiling the test.c code (in attachement) with: 'arm-linux-gnueabi-gcc -S test.c' I obtain the test.s assembly code (in attachement). At lines 56 and 57 of the test.s there is two identical str