Hi there,

The gcc now uses immediate_operand for const_double_operand, update this
split pattern accordingly. Tested with gcc regression test on thumb1 target,
no regression. Is it ok to trunk?

BR,
Terry

2014-08-20  Terry Guo  <terry....@arm.com>

     * config/arm/thumb1.md (64bit splitter): Replace const_double_operand
     with immediate_operand.
diff --git a/gcc/config/arm/thumb1.md b/gcc/config/arm/thumb1.md
index 65d55dd..020d83b 100644
--- a/gcc/config/arm/thumb1.md
+++ b/gcc/config/arm/thumb1.md
@@ -639,7 +639,7 @@
 ; thumb1_movdi_insn has a better way to handle them.
 (define_split
   [(set (match_operand:ANY64 0 "arm_general_register_operand" "")
-       (match_operand:ANY64 1 "const_double_operand" ""))]
+       (match_operand:ANY64 1 "immediate_operand" ""))]
   "TARGET_THUMB1 && reload_completed && !satisfies_constraint_J (operands[1])"
   [(set (match_dup 0) (match_dup 1))
    (set (match_dup 2) (match_dup 3))]

Reply via email to