[PATCH][ARM]Tighten the conditions for arm_movw, arm_movt.
authorRenlin Li <renlin.li@arm.com>
Mon, 24 Aug 2015 14:59:58 +0000 (14:59 +0000)
committerRenlin Li <renlin@gcc.gnu.org>
Mon, 24 Aug 2015 14:59:58 +0000 (14:59 +0000)
commit6ce436451477990cb52ba22d31620547cbbff5ff
tree2191874de4bf18d207205043b5856b67c3009e08
parent55466f20d76b4c619ae777f40d06f83e23dd5170
[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.

From-SVN: r227129
gcc/ChangeLog
gcc/config/arm/arm-protos.h
gcc/config/arm/arm.c
gcc/config/arm/arm.md
gcc/config/arm/constraints.md