Re: Question about usage of r12 (ip) on ARM

2016-08-28 Thread Richard Earnshaw
On 28/08/16 23:16, Fredrik Hederstierna wrote: > Hi, > > I from time to time get the impression that the inter procedure scratch > register r12 (ip) is not used as often as it might on ARM. > > Example, compiled with GCC-6.2 for arm966e-s ARM with arm-none-eabi-gcc > target: > > struct data {

gcc-7-20160828 is now available

2016-08-28 Thread gccadmin
Snapshot gcc-7-20160828 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/7-20160828/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 7 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/trunk revision

Question about usage of r12 (ip) on ARM

2016-08-28 Thread Fredrik Hederstierna
Hi, I from time to time get the impression that the inter procedure scratch register r12 (ip) is not used as often as it might on ARM. Example, compiled with GCC-6.2 for arm966e-s ARM with arm-none-eabi-gcc target: struct data { int flags; }; extern void* func(struct data* dp); struct data*