From: Dimitrios Apostolou Date: Tue, 22 May 2012 08:35:32 +0000 (+0000) Subject: df-scan.c (df_scan_alloc): Round up allocation pools size, reduce the mw_reg_pool... X-Git-Tag: misc/gccgo-go1_1_2~2765 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7c2dbbdc486d717a674a7ec693236b91aff280cd;p=thirdparty%2Fgcc.git df-scan.c (df_scan_alloc): Round up allocation pools size, reduce the mw_reg_pool size. 2012-05-22 Dimitrios Apostolou * df-scan.c (df_scan_alloc): Round up allocation pools size, reduce the mw_reg_pool size. From-SVN: r187760 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7d63d054a8a8..3ff410a9c301 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2012-05-22 Dimitrios Apostolou + + * df-scan.c (df_scan_alloc): Round up allocation pools size, reduce + the mw_reg_pool size. + 2012-05-22 Paolo Bonzini PR tree-optimization/53336 diff --git a/gcc/df-scan.c b/gcc/df-scan.c index 39f444f9fc57..730742acac5a 100644 --- a/gcc/df-scan.c +++ b/gcc/df-scan.c @@ -318,7 +318,7 @@ df_scan_alloc (bitmap all_blocks ATTRIBUTE_UNUSED) { struct df_scan_problem_data *problem_data; unsigned int insn_num = get_max_uid () + 1; - unsigned int block_size = 400; + unsigned int block_size = 512; basic_block bb; /* Given the number of pools, this is really faster than tearing @@ -347,7 +347,7 @@ df_scan_alloc (bitmap all_blocks ATTRIBUTE_UNUSED) sizeof (struct df_reg_info), block_size); problem_data->mw_reg_pool = create_alloc_pool ("df_scan mw_reg", - sizeof (struct df_mw_hardreg), block_size); + sizeof (struct df_mw_hardreg), block_size / 16); bitmap_obstack_initialize (&problem_data->reg_bitmaps); bitmap_obstack_initialize (&problem_data->insn_bitmaps);