* config/m68hc11/m68hc11.c (m68hc11_addr_mode): New variable.
authorciceron <ciceron@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 Mar 2004 22:40:57 +0000 (22:40 +0000)
committerciceron <ciceron@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 Mar 2004 22:40:57 +0000 (22:40 +0000)
commitf0ebdb913a0a88664c28a314f1e052b5cb00e36f
tree658e9739cd9735ba9bb88ca14c4590094d5a4506
parente3e026e82e7b2e8c9a1324bb859a2d6fb39120cd
* config/m68hc11/m68hc11.c (m68hc11_addr_mode): New variable.
(m68hc11_mov_addr_mode): Likewise.
(m68hc11_override_options): Initialize them based on target.
(register_indirect_p): Allow a MEM for indirect addressing modes and
use flags to control what is allowed.
(m68hc11_small_indexed_indirect_p): Use m68hc11_mov_addr_mode for
supported addressing modes.
(m68hc11_register_indirect_p): Use m68hc11_addr_mode.
(go_if_legitimate_address_internal): Likewise.
(m68hc11_indirect_p): Likewise and check the mode.
(print_operand): Allow a (MEM (MEM)) and generate indirect addressing.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78792 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/m68hc11/m68hc11.c