xtensa.c (smalloffset_mem_p): Use BASE_REG_P.
authorBob Wilson <bob.wilson@acm.org>
Sat, 3 Feb 2007 01:23:05 +0000 (01:23 +0000)
committerBob Wilson <bwilson@gcc.gnu.org>
Sat, 3 Feb 2007 01:23:05 +0000 (01:23 +0000)
commitda1f39e475bf2433e2ce1277c1015ad4ab3291e3
treee49c050263858cb0da4d9f2ece61923906bdbf02
parent2e6524ba30702e1134eec27f8c68ddd7083fc87d
xtensa.c (smalloffset_mem_p): Use BASE_REG_P.

* config/xtensa/xtensa.c (smalloffset_mem_p): Use BASE_REG_P.
(xtensa_legitimate_address_p): New.
(xtensa_legitimize_address): New.
(xtensa_output_addr_const_extra): New.
* config/xtensa/xtensa.h (REG_OK_STRICT_FLAG): Define.
(BASE_REG_P): New.
(REG_OK_FOR_BASE_P): Use BASE_REG_P.
(GO_IF_LEGITIMATE_ADDRESS): Move code to xtensa_legitimate_address_p.
(LEGITIMIZE_ADDRESS): Move code to xtensa_legitimize_address.
(OUTPUT_ADDR_CONST_EXTRA): Move code to xtensa_output_addr_const_extra.
* config/xtensa/xtensa-protos.h (xtensa_legitimate_address_p): New.
(xtensa_legitimize_address): New.
(xtensa_output_addr_const_extra): New.

From-SVN: r121533
gcc/ChangeLog
gcc/config/xtensa/xtensa-protos.h
gcc/config/xtensa/xtensa.c
gcc/config/xtensa/xtensa.h