diff options
author | Anatoly Sokolov <aesok@post.ru> | 2010-06-27 15:40:42 +0400 |
---|---|---|
committer | Anatoly Sokolov <aesok@gcc.gnu.org> | 2010-06-27 15:40:42 +0400 |
commit | de8f4b07c03ffb0db0562f462be066684af2f0b7 (patch) | |
tree | 851a7e8964d45a63937f1e17d192d74a42b4e143 /gcc/ira-int.h | |
parent | 533e50f6ac9ee21fe5bcb223e8d6693466836d80 (diff) | |
download | gcc-de8f4b07c03ffb0db0562f462be066684af2f0b7.zip gcc-de8f4b07c03ffb0db0562f462be066684af2f0b7.tar.gz gcc-de8f4b07c03ffb0db0562f462be066684af2f0b7.tar.bz2 |
target.h (struct gcc_target): Add register_move_cost field.
* target.h (struct gcc_target): Add register_move_cost field.
* target-def.h (TARGET_REGISTER_MOVE_COST): New.
(TARGET_INITIALIZER): Use TARGET_REGISTER_MOVE_COST.
* targhooks.c (default_register_move_cost): New function.
* targhooks.h (default_register_move_cost): Declare function.
* defaults.h (REGISTER_MOVE_COST): Delete.
* ira-int.h (ira_register_move_cost): Update comment.
* ira.c: (ira_register_move_cost): Update comment.
* reload.h (register_move_cost): Declare.
* reginfo.c (register_move_cost): New function.
(move_cost): Update comment.
(init_move_cost, memory_move_secondary_cost): Replace
REGISTER_MOVE_COST with register_move_cost.
* postreload.c (reload_cse_simplify_set): (Ditto.).
* reload.c (find_valid_class, find_reloads): (Ditto.).
* reload1.c (choose_reload_regs): (Ditto.).
* doc/tm.texi (TARGET_REGISTER_MOVE_COST): New.
(REGISTER_MOVE_COST, TARGET_MEMORY_MOVE_COST): Update documentation.
* doc/md.texi (can_create_pseudo_p): Update documentation.
* config/i386/i386.h (MEMORY_MOVE_COST): Remove macro.
* config/i386/i386-protos.h (int ix86_memory_move_cost): Remove.
* config/i386/i386.h (ix86_memory_move_cost): Make static.
(TARGET_MEMORY_MOVE_COST): Define.
* config/ia64/ia64.h (MEMORY_MOVE_COST): Remove macro.
* config/ia64/ia64-protos.h (int ia64_memory_move_cost): Remove.
* config/ia64/ia64.h (ia64_memory_move_cost): Make static.
(TARGET_MEMORY_MOVE_COST): Define.
From-SVN: r161470
Diffstat (limited to 'gcc/ira-int.h')
-rw-r--r-- | gcc/ira-int.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ira-int.h b/gcc/ira-int.h index fd5ffb8..1da087c 100644 --- a/gcc/ira-int.h +++ b/gcc/ira-int.h @@ -724,7 +724,7 @@ minmax_set_iter_next (minmax_set_iterator *i) extern HARD_REG_SET ira_reg_mode_hard_regset [FIRST_PSEUDO_REGISTER][NUM_MACHINE_MODES]; -/* Array analogous to macro REGISTER_MOVE_COST. Don't use +/* Array based on TARGET_REGISTER_MOVE_COST. Don't use ira_register_move_cost directly. Use function of ira_get_may_move_cost instead. */ extern move_table *ira_register_move_cost[MAX_MACHINE_MODE]; |