mirror of git://gcc.gnu.org/git/gcc.git
df-scan.c (df_scan_alloc): Round up allocation pools size, reduce the mw_reg_pool size.
2012-05-22 Dimitrios Apostolou <jimis@gmx.net> * df-scan.c (df_scan_alloc): Round up allocation pools size, reduce the mw_reg_pool size. From-SVN: r187760
This commit is contained in:
parent
819f3b2cfa
commit
7c2dbbdc48
|
@ -1,3 +1,8 @@
|
||||||
|
2012-05-22 Dimitrios Apostolou <jimis@gmx.net>
|
||||||
|
|
||||||
|
* df-scan.c (df_scan_alloc): Round up allocation pools size, reduce
|
||||||
|
the mw_reg_pool size.
|
||||||
|
|
||||||
2012-05-22 Paolo Bonzini <bonzini@gnu.org>
|
2012-05-22 Paolo Bonzini <bonzini@gnu.org>
|
||||||
|
|
||||||
PR tree-optimization/53336
|
PR tree-optimization/53336
|
||||||
|
|
|
@ -318,7 +318,7 @@ df_scan_alloc (bitmap all_blocks ATTRIBUTE_UNUSED)
|
||||||
{
|
{
|
||||||
struct df_scan_problem_data *problem_data;
|
struct df_scan_problem_data *problem_data;
|
||||||
unsigned int insn_num = get_max_uid () + 1;
|
unsigned int insn_num = get_max_uid () + 1;
|
||||||
unsigned int block_size = 400;
|
unsigned int block_size = 512;
|
||||||
basic_block bb;
|
basic_block bb;
|
||||||
|
|
||||||
/* Given the number of pools, this is really faster than tearing
|
/* 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);
|
sizeof (struct df_reg_info), block_size);
|
||||||
problem_data->mw_reg_pool
|
problem_data->mw_reg_pool
|
||||||
= create_alloc_pool ("df_scan mw_reg",
|
= 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->reg_bitmaps);
|
||||||
bitmap_obstack_initialize (&problem_data->insn_bitmaps);
|
bitmap_obstack_initialize (&problem_data->insn_bitmaps);
|
||||||
|
|
Loading…
Reference in New Issue