+2015-01-28 Terry Guo <terry.guo@arm.com>
+
+ * config/arm/thumb1.md (*thumb1_movpc_insn): New insn pattern.
+
2015-01-27 David Malcolm <dmalcolm@redhat.com>
* toplev.c (print_version): Add param "show_global_state", and
"
)
+(define_insn "*thumb1_movpc_insn"
+ [(set (match_operand:SI 0 "s_register_operand" "=l")
+ (reg:SI PC_REGNUM))]
+ "TARGET_THUMB1"
+ "mov\\t%0, pc"
+ [(set_attr "length" "2")
+ (set_attr "conds" "nocond")
+ (set_attr "type" "mov_reg")]
+)
+
;; NB never uses BX.
(define_insn "*thumb1_tablejump"
[(set (pc) (match_operand:SI 0 "register_operand" "l*r"))