arm.c (thumb_base_register_rtx_p): New function.
authorRichard Earnshaw <rearnsha@arm.com>
Thu, 23 Jan 2003 18:10:46 +0000 (18:10 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Thu, 23 Jan 2003 18:10:46 +0000 (18:10 +0000)
commit76a318e97704888c8bd117ba04e7c6bf017fd7cd
treee8d19178bb816ae2229bc33e1640cc22d9ef98be
parent0f0ff6ec541f245d32475c7dabe65d2a303a7fdd
arm.c (thumb_base_register_rtx_p): New function.

* arm.c (thumb_base_register_rtx_p): New function.
(thumb_index_register_rtx_p): New function.
(thumb_legitimate_address_p): New function.
(thumb_legitimate_offset_p): New function.
* arm.h (REG_STRICT_P): Define according to setting of REG_OK_STRICT.
(ARM_GO_IF_LEGITIMATE_ADDRESS): Use REG_STRICT_P to avoid dumplicate
definitions.
(THUMB_GO_IF_LEGITIMATE_ADDRESS): Use thumb_legitimate_address_p.
(THUMB_LEGITIMATE_OFFSET): Delte.
(THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use thumb_legitimate_offset.
* arm-protos.h (thumb_legitimate_address_p): Add prototype.
(thumb_legitimate_offset_p): Likewise.

From-SVN: r61662
gcc/ChangeLog
gcc/config/arm/arm-protos.h
gcc/config/arm/arm.c
gcc/config/arm/arm.h