[Bug target/61578] [4.9/5 regression] Code size increase for ARM thumb compared to 4.8.x when compiling with -Os

2015-03-13 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61578

--- Comment #15 from Ramana Radhakrishnan ramana at gcc dot gnu.org ---
I'm going to remove the regression marker on this as this is now just purely
further code size improvements. Please submit patches on
gcc-patc...@gcc.gnu.org for further discussion. Patches attached to bug reports
aren't reviewed.


[Bug target/61578] [4.9/5 regression] Code size increase for ARM thumb compared to 4.8.x when compiling with -Os

2015-03-03 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61578

Jeffrey A. Law law at redhat dot com changed:

   What|Removed |Added

   Priority|P3  |P2
 CC||law at redhat dot com


[Bug target/61578] [4.9/5 regression] Code size increase for ARM thumb compared to 4.8.x when compiling with -Os

2015-03-02 Thread fredrik.hederstie...@securitas-direct.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61578

--- Comment #14 from Fredrik Hederstierna 
fredrik.hederstie...@securitas-direct.com ---
Created attachment 34916
  -- https://gcc.gnu.org/bugzilla/attachment.cgi?id=34916action=edit
CSiBE benchmark with gnu89, updates with newer trunk as reference.

I added attachment with new CSiBE measurement from newer trunk,
and now using -std=gnu89 for correctness.

It looks alot better on current trunk, the code size is now smaller than 4.8.x,
so in this case this issue seems at least partly resolved.

Though, still the proposed patch with -mip-fixed on trunk,
still gets approx  -0.2%  reduced code size in average,
which might seem significant. See attached docs.

The CSiBE test also it indicates that LRA might improved specific areas,
where the code size gets worse with IP fixed, which could be investigated
further. Example file are libmspack/test/cabd_md5.c.

So, I'm just wondering if you that are or have been involved with this issue,
thinks the proposed patch is a good idea and worth putting time to make it
proper for commit? I just do not want to put time and effort in this patch if
its not likely to get in, or you think its a bad idea.

Please comment :)  Thanks and Kind Regards Fredrik


[Bug target/61578] [4.9/5 regression] Code size increase for ARM thumb compared to 4.8.x when compiling with -Os

2015-02-08 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61578

Andrew Pinski pinskia at gcc dot gnu.org changed:

   What|Removed |Added

   Target Milestone|--- |4.9.3
Summary|[4.9/ 5 regression] Code|[4.9/5 regression] Code
   |size increase for ARM thumb |size increase for ARM thumb
   |compared to 4.8.x when  |compared to 4.8.x when
   |compiling with -Os  |compiling with -Os


[Bug target/61578] [4.9/ 5 regression] Code size increase for ARM thumb compared to 4.8.x when compiling with -Os

2015-01-15 Thread ramana at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61578

Ramana Radhakrishnan ramana at gcc dot gnu.org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2015-01-15
Summary|Code size increase for ARM  |[4.9/ 5 regression] Code
   |thumb compared to 4.8.x |size increase for ARM thumb
   |when compiling with -Os |compared to 4.8.x when
   ||compiling with -Os
 Ever confirmed|0   |1

--- Comment #13 from Ramana Radhakrishnan ramana at gcc dot gnu.org ---
Confirmed.