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.c | |
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.c')
-rw-r--r-- | gcc/targhooks.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/targhooks.c b/gcc/targhooks.c index 80b4aa6bafd..d3a3f5fdd42 100644 --- a/gcc/targhooks.c +++ b/gcc/targhooks.c @@ -859,6 +859,12 @@ default_register_priority (int hard_regno ATTRIBUTE_UNUSED) } extern bool +default_register_usage_leveling_p (void) +{ + return false; +} + +extern bool default_different_addr_displacement_p (void) { return false; |