]> git.ipfire.org Git - thirdparty/gcc.git/commit
m32r.h (REG_OK_FOR_BASE_P, [...]): Remove macros.
authorAnatoly Sokolov <aesok@post.ru>
Fri, 18 Feb 2011 17:41:59 +0000 (20:41 +0300)
committerAnatoly Sokolov <aesok@gcc.gnu.org>
Fri, 18 Feb 2011 17:41:59 +0000 (20:41 +0300)
commit4bf7ff7ebdbceb27859d3ffdee82535c967a97c6
treecc4a50e396c1ab32555eef6fdcf1fd9652b7380f
parent7efcf910eeb14928a4230e835a126784e9e196b0
m32r.h (REG_OK_FOR_BASE_P, [...]): Remove macros.

* config/m32r/m32r.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P,
RTX_OK_FOR_BASE_P, RTX_OK_FOR_OFFSET_P, LEGITIMATE_OFFSET_ADDRESS_P,
LEGITIMATE_LO_SUM_ADDRESS_P, LOAD_POSTINC_P, STORE_PREINC_PREDEC_P,
GO_IF_LEGITIMATE_ADDRESS): Remove macros.
* config/m32r/m32r.c (TARGET_LEGITIMATE_ADDRESS_P): Define.
(m32r_rtx_ok_for_base_p, m32r_rtx_ok_for_offset_p,
m32r_legitimate_offset_addres_p, m32r_legitimate_lo_sum_addres_p,
m32r_load_postinc_p, m32r_store_preinc_predec_p,
m32r_legitimate_address_p): New functions.
* config/m32r/constraints.md (constraint "S"): Don't use
STORE_PREINC_PREDEC_P.
(constraint "U"): Don't use LOAD_POSTINC_P.

From-SVN: r170278
gcc/ChangeLog
gcc/config/m32r/constraints.md
gcc/config/m32r/m32r.c
gcc/config/m32r/m32r.h