diff options
author | Georg-Johann Lay <avr@gjlay.de> | 2011-10-11 18:34:16 +0000 |
---|---|---|
committer | Georg-Johann Lay <gjl@gcc.gnu.org> | 2011-10-11 18:34:16 +0000 |
commit | 8efab2c5eafbe0e3d43dccd13cbc57f62a4e672f (patch) | |
tree | 5ccf985e6fad4f353938c32fb0d87118757c65b9 /gcc/tree.c | |
parent | 05058b6e31ec87bb08cb9457b22080afbd2c4723 (diff) | |
download | gcc-8efab2c5eafbe0e3d43dccd13cbc57f62a4e672f.zip gcc-8efab2c5eafbe0e3d43dccd13cbc57f62a4e672f.tar.gz gcc-8efab2c5eafbe0e3d43dccd13cbc57f62a4e672f.tar.bz2 |
avr-protos.h (avr_mode_code_base_reg_class): New prototype.
* config/avr/avr-protos.h (avr_mode_code_base_reg_class): New prototype.
(avr_regno_mode_code_ok_for_base_p): New prototype.
* config/avr/avr.h (BASE_REG_CLASS): Remove.
(REGNO_OK_FOR_BASE_P): Remove.
(REG_OK_FOR_BASE_NOSTRICT_P): Remove.
(REG_OK_FOR_BASE_STRICT_P): Remove.
(MODE_CODE_BASE_REG_CLASS): New define.
(REGNO_MODE_CODE_OK_FOR_BASE_P): New define.
* config/avr/avr.c (avr_mode_code_base_reg_class): New function.
(avr_regno_mode_code_ok_for_base_p): New function.
(avr_reg_ok_for_addr_p): New static function.
(avr_legitimate_address_p): Use it. Beautify.
From-SVN: r179817
Diffstat (limited to 'gcc/tree.c')
0 files changed, 0 insertions, 0 deletions