diff options
author | Vladimir Makarov <vmakarov@redhat.com> | 2010-05-20 22:49:07 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2010-05-20 16:49:07 -0600 |
commit | 0583835c7dac1e94dce3c6f83fdf3ba7c1a2ec7c (patch) | |
tree | ad5c9a81fe8ced03d64f7354f5cdb7c56da2c287 /gcc/ira-int.h | |
parent | 882b3d5c2e3be0b367f0eb9a9b94a99a1e22c60a (diff) | |
download | gcc-0583835c7dac1e94dce3c6f83fdf3ba7c1a2ec7c.zip gcc-0583835c7dac1e94dce3c6f83fdf3ba7c1a2ec7c.tar.gz gcc-0583835c7dac1e94dce3c6f83fdf3ba7c1a2ec7c.tar.bz2 |
ira.c (ira_non_ordered_class_hard_regs): Define.
* ira.c (ira_non_ordered_class_hard_regs): Define.
(setup_class_hard_regs): Initialize ira_non_ordered_class_hard_regs.
* ira-int.h (ira_non_ordered_class_hard_regs): Declare.
* ira-costs.c (ira_tune_allocno_costs_and_cover_classes): Increase
cost of unaligned hard regs when allocating multi-reg pseudos.
From-SVN: r159644
Diffstat (limited to 'gcc/ira-int.h')
-rw-r--r-- | gcc/ira-int.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ira-int.h b/gcc/ira-int.h index a32c837..6ee7393 100644 --- a/gcc/ira-int.h +++ b/gcc/ira-int.h @@ -743,6 +743,11 @@ extern move_table *ira_may_move_out_cost[MAX_MACHINE_MODE]; allocation. */ extern int ira_class_subset_p[N_REG_CLASSES][N_REG_CLASSES]; +/* Array of the number of hard registers of given class which are + available for allocation. The order is defined by the the hard + register numbers. */ +extern short ira_non_ordered_class_hard_regs[N_REG_CLASSES][FIRST_PSEUDO_REGISTER]; + /* Index (in ira_class_hard_regs) for given register class and hard register (in general case a hard register can belong to several register classes). The index is negative for hard registers |