diff options
author | carrot <carrot@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-25 01:08:35 +0000 |
---|---|---|
committer | carrot <carrot@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-05-25 01:08:35 +0000 |
commit | 34f82fe112fa551031e3c1cede36b7b8743690c1 (patch) | |
tree | 22a4cdbe68f2eb4f61e68371ab01ca7225d7d338 /gcc/config/arm/constraints.md | |
parent | 732b98d74df9e043d3d197da8feab0dd2aac8564 (diff) | |
download | gcc-34f82fe112fa551031e3c1cede36b7b8743690c1.tar.gz |
* config/arm/thumb2.md (thumb2_tlobits_cbranch): Add constraint to
tst instruction and a new alternative.
* config/arm/constraints.md (Pu): New constraint.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159806 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/arm/constraints.md')
-rw-r--r-- | gcc/config/arm/constraints.md | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/config/arm/constraints.md b/gcc/config/arm/constraints.md index cb75558984c..77883e6a34d 100644 --- a/gcc/config/arm/constraints.md +++ b/gcc/config/arm/constraints.md @@ -31,7 +31,7 @@ ;; The following multi-letter normal constraints have been used: ;; in ARM/Thumb-2 state: Da, Db, Dc, Dn, Dl, DL, Dv, Dy ;; in Thumb-1 state: Pa, Pb -;; in Thumb-2 state: Ps, Pt +;; in Thumb-2 state: Ps, Pt, Pu ;; The following memory constraints have been used: ;; in ARM/Thumb-2 state: Q, Ut, Uv, Uy, Un, Um, Us @@ -158,6 +158,11 @@ (and (match_code "const_int") (match_test "TARGET_THUMB2 && ival >= -7 && ival <= 7"))) +(define_constraint "Pu" + "@internal In Thumb-2 state a constant in the range +1 to +8" + (and (match_code "const_int") + (match_test "TARGET_THUMB2 && ival >= 1 && ival <= 8"))) + (define_constraint "G" "In ARM/Thumb-2 state a valid FPA immediate constant." (and (match_code "const_double") |