Noticed while browsing the code.  The add_losym_<mode> instruction takes
an immediate field as the third operand.  Hence it's type is alu_imm,
not alu_reg.

Probably doesn't have any major effect on current pipeline models, but
could do one day...

Committed to trunk.

2014-07-14  Richard Earnshaw  <rearn...@arm.com>

        * aarch64.md (add_losym_<mode>): Set type to alu_imm.
diff --git a/gcc/config/aarch64/aarch64.md b/gcc/config/aarch64/aarch64.md
index 3eb783c..ded49a4 100644
--- a/gcc/config/aarch64/aarch64.md
+++ b/gcc/config/aarch64/aarch64.md
@@ -3790,7 +3790,7 @@
                  (match_operand 2 "aarch64_valid_symref" "S")))]
   ""
   "add\\t%<w>0, %<w>1, :lo12:%a2"
-  [(set_attr "type" "alu_reg")]
+  [(set_attr "type" "alu_imm")]
 )
 
 (define_insn "ldr_got_small_<mode>"

Reply via email to