diff options
author | Anatoly Sokolov <aesok@post.ru> | 2011-10-29 13:08:13 +0400 |
---|---|---|
committer | Anatoly Sokolov <aesok@gcc.gnu.org> | 2011-10-29 13:08:13 +0400 |
commit | a08160c31cf81def3a4ffd8bec935f3ca91ad84a (patch) | |
tree | 84a1d7603e4cb9f8c57e6c7606db56d7c07ed46b /gcc/gcc-ar.c | |
parent | 3bc50163311275e8da17365a68e10a765a134867 (diff) | |
download | gcc-a08160c31cf81def3a4ffd8bec935f3ca91ad84a.zip gcc-a08160c31cf81def3a4ffd8bec935f3ca91ad84a.tar.gz gcc-a08160c31cf81def3a4ffd8bec935f3ca91ad84a.tar.bz2 |
cris.c (reg_ok_for_base_p, [...]): New functions.
* config/cris/cris.c (reg_ok_for_base_p, reg_ok_for_index_p,
cris_constant_index_p, cris_base_p, cris_index_p,
cris_base_or_autoincr_p, cris_bdap_index_p, cris_biap_index_p,
cris_legitimate_address_p): New functions.
(TARGET_LEGITIMATE_ADDRESS_P): Define.
(cris_pic_symbol_type, cris_valid_pic_const): Change arguments type
from rtx to const_rtx.
(cris_print_operand_address, cris_address_cost,
cris_side_effect_mode_ok): Use
cris_constant_index_p, cris_base_p, cris_base_or_autoincr_p,
cris_biap_index_p and cris_bdap_index_p.
* config/cris/cris.h (CONSTANT_INDEX_P, BASE_P, BASE_OR_AUTOINCR_P,
BDAP_INDEX_P, BIAP_INDEX_P, GO_IF_LEGITIMATE_ADDRESS,
REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P): Remove.
(EXTRA_CONSTRAINT_Q, EXTRA_CONSTRAINT_R, EXTRA_CONSTRAINT_T): Use
cris_constant_index_p, cris_base_p, cris_base_or_autoincr_p,
cris_biap_index_p and cris_bdap_index_p.
* config/cris/cris.md (moversideqi movemsideqi peephole2): Use
cris_base_p.
* config/cris/cris-protos.h (cris_constant_index_p, cris_base_p,
cris_base_or_autoincr_p, cris_bdap_index_p, cris_biap_index_p): New
prototype.
(cris_pic_symbol_type, cris_valid_pic_const): Update prototype.
From-SVN: r180651
Diffstat (limited to 'gcc/gcc-ar.c')
0 files changed, 0 insertions, 0 deletions