diff options
author | Yvan Roux <yvan.roux@linaro.org> | 2015-12-28 09:39:58 +0100 |
---|---|---|
committer | Linaro Code Review <review@review.linaro.org> | 2015-12-30 12:06:06 +0000 |
commit | 55e7ff54a1ed7d22e1fd815f3ac5c8aca687564a (patch) | |
tree | f5270a477abd3f5dbb1ccaf5c33b1b247453e885 | |
parent | ad214f6348e7fcb93b16501c84c786ad2771c659 (diff) |
gcc/
Backport from trunk r230666.
2015-11-20 Evandro Menezes <e.menezes@samsung.com>
* config/aarch64/aarch64.md (predicated): Copy attribute from
"arm.md".
* config/arm/arm.md (predicated): Added description.
Change-Id: Ia816b920bfec760c0a29ebc0a573b022782d12b4
-rw-r--r-- | gcc/config/aarch64/aarch64.md | 4 | ||||
-rw-r--r-- | gcc/config/arm/arm.md | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/config/aarch64/aarch64.md b/gcc/config/aarch64/aarch64.md index 939f0b94cf1..bd39059fa0a 100644 --- a/gcc/config/aarch64/aarch64.md +++ b/gcc/config/aarch64/aarch64.md @@ -192,6 +192,10 @@ ;; 1 :=: yes (define_attr "far_branch" "" (const_int 0)) +;; Strictly for compatibility with AArch32 in pipeline models, since AArch64 has +;; no predicated insns. +(define_attr "predicated" "yes,no" (const_string "no")) + ;; ------------------------------------------------------------------- ;; Pipeline descriptions and scheduling ;; ------------------------------------------------------------------- diff --git a/gcc/config/arm/arm.md b/gcc/config/arm/arm.md index 4547188f7c5..a0456ae2bfe 100644 --- a/gcc/config/arm/arm.md +++ b/gcc/config/arm/arm.md @@ -105,6 +105,9 @@ (define_attr "fpu" "none,vfp" (const (symbol_ref "arm_fpu_attr"))) +; Predicated means that the insn form is conditionally executed based on a +; predicate. We default to 'no' because no Thumb patterns match this rule +; and not all ARM insns do. (define_attr "predicated" "yes,no" (const_string "no")) ; LENGTH of an instruction (in bytes) |