This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch 0/3] New macro PREFERRED_RENAME_CLASS
- From: Yao Qi <yao at codesourcery dot com>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Cc: Bernd Schmidt <bernds at codesourcery dot com>
- Date: Thu, 21 Oct 2010 14:42:05 +0800
- Subject: [patch 0/3] New macro PREFERRED_RENAME_CLASS
Hi,
Current register-rename pass in GCC doesn't take any preference for
different register classes. This patch set is to address it. On ARM,
for example, preference to LOW registers in thumb-2 may help to reduce
code size. It might be helpful to other ports also.
With this patch, the text size of bash (compiled with -Os
-frename-regster -march=armv7-a -mthumb)is reduced from 502200 to 501128.
Regression tested on arm-unknown-linux-gnueabi and i686-pc-linux-gnu.
No regression.
Comments are welcome.
--
Yao Qi
CodeSourcery
yao@codesourcery.com
(650) 331-3385 x739