[PATCH][ARM]Tighten the conditions for arm_movw, arm_movt.
authorrenlin <renlin@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 24 Aug 2015 14:59:58 +0000 (14:59 +0000)
committerrenlin <renlin@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 24 Aug 2015 14:59:58 +0000 (14:59 +0000)
commitac52874387471304d5ad86b5c133521c1dc8ec94
tree2191874de4bf18d207205043b5856b67c3009e08
parent1352f3c43725408427ee5ffa64272c6fdfd73dce
[PATCH][ARM]Tighten the conditions for arm_movw, arm_movt.

gcc/

2015-08-24  Renlin Li  <renlin.li@arm.com>

* config/arm/arm-protos.h (arm_valid_symbolic_address_p): Declare.
* config/arm/arm.c (arm_valid_symbolic_address_p): Define.
* config/arm/arm.md (arm_movt): Use arm_valid_symbolic_address_p.
* config/arm/constraints.md ("j"): Add check for high code.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227129 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/arm/arm-protos.h
gcc/config/arm/arm.c
gcc/config/arm/arm.md
gcc/config/arm/constraints.md