[AArch64] Add attribute for compatibility with ARM pipeline models
authorEvandro Menezes <e.menezes@samsung.com>
Fri, 20 Nov 2015 16:15:57 +0000 (16:15 +0000)
committerJames Greenhalgh <jgreenhalgh@gcc.gnu.org>
Fri, 20 Nov 2015 16:15:57 +0000 (16:15 +0000)
gcc/

* config/aarch64/aarch64.md (predicated): Copy attribute from
"arm.md".
* config/arm/arm.md (predicated): Added description.

From-SVN: r230666

gcc/ChangeLog
gcc/config/aarch64/aarch64.md
gcc/config/arm/arm.md

index a16d09c0a4e2381def08aaad035550ae3022e1a2..33e4f41ca3f81fad7c2de630a1de3d1e604b4c8b 100644 (file)
@@ -1,3 +1,9 @@
+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.
+
 2015-11-20  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
 
        * config/arm/arm.c (arm_option_override): Require TARGET_32BIT
index 1586256dd348e61d59b019e9d68a4603368e0966..d46f837df7f085f03f4f575ec1871781547896ed 100644 (file)
 ;; 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
 ;; -------------------------------------------------------------------
index effe7eb799d6e5e6da950be03043d8d397d52db2..5782b357aa2c3e02b1aecf93576cd6561d7d08d8 100644 (file)
 (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)