diff options
author | vmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-05-30 20:30:38 +0000 |
---|---|---|
committer | vmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-05-30 20:30:38 +0000 |
commit | 4a2ca8f34c2b84bbd04eff0d22f97046dfbd0f07 (patch) | |
tree | 16088611f26652c55d7f6a9b476049876bd2cdc8 /gcc/targhooks.h | |
parent | d544dcee0ea5bd120aff284df06e22cb1ba44b37 (diff) | |
download | gcc-4a2ca8f34c2b84bbd04eff0d22f97046dfbd0f07.tar.gz |
2013-05-30 Vladimir Makarov <vmakarov@redhat.com>
* target.def (register_usage_leveling_p): New hook.
* targhooks.c (default_register_usage_leveling_p): New.
* targhooks.h (default_register_usage_leveling_p): New prototype.
* lra-assigns.c (register_usage_leveling_p): Use the hook.
* doc/tm.texi.in (TARGET_REGISTER_USAGE_LEVELING_P): New hook.
* doc/tm.texi: Update.
* config/i386/i386.c (TARGET_REGISTER_USAGE_LEVELING_P): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199459 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/targhooks.h')
-rw-r--r-- | gcc/targhooks.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/targhooks.h b/gcc/targhooks.h index ce10ebc947b..2da6fb80631 100644 --- a/gcc/targhooks.h +++ b/gcc/targhooks.h @@ -135,6 +135,7 @@ extern int default_return_pops_args (tree, tree, int); extern reg_class_t default_branch_target_register_class (void); extern bool default_lra_p (void); extern int default_register_priority (int); +extern bool default_register_usage_leveling_p (void); extern bool default_different_addr_displacement_p (void); extern reg_class_t default_secondary_reload (bool, rtx, reg_class_t, enum machine_mode, |