]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/config/xtensa/xtensa.cc
predicates.md (nonimmed_operand, [...]): Use constantpool_mem_p.
authorBob Wilson <bob.wilson@acm.org>
Fri, 5 Sep 2008 16:37:14 +0000 (16:37 +0000)
committerBob Wilson <bwilson@gcc.gnu.org>
Fri, 5 Sep 2008 16:37:14 +0000 (16:37 +0000)
commit37fbe8a344b5ab7e3e77499176d0581e4187929c
tree403c46b15695a596a39ecb272696a168db04181c
parent7314c7dd6297c6e7ebb823c1e3589c246f9349b5
predicates.md (nonimmed_operand, [...]): Use constantpool_mem_p.

* config/xtensa/predicates.md (nonimmed_operand, mem_operand): Use
constantpool_mem_p.
(constantpool_operand): New.
(move_operand): Disallow sub-word modes for the constant pool.
* config/xtensa/xtensa.c (TARGET_SECONDARY_RELOAD): Define.
(xtensa_secondary_reload_class): Replace with....
(xtensa_secondary_reload): this function.  Remove SIGN_EXTEND check.
Set icode for sub-word reloads from the constant pool.
* config/xtensa/xtensa.h (SECONDARY_INPUT_RELOAD_CLASS): Delete.
(SECONDARY_OUTPUT_RELOAD_CLASS): Delete.
* config/xtensa/xtensa.md (reload<mode>_literal): New.
* config/xtensa/xtensa-protos.h: Update prototypes.

From-SVN: r140036
gcc/ChangeLog
gcc/config/xtensa/predicates.md
gcc/config/xtensa/xtensa-protos.h
gcc/config/xtensa/xtensa.c
gcc/config/xtensa/xtensa.h
gcc/config/xtensa/xtensa.md