sh.md (push, [...]): Remove constraints.
authorOleg Endo <olegendo@gcc.gnu.org>
Sun, 1 May 2016 07:52:32 +0000 (07:52 +0000)
committerOleg Endo <olegendo@gcc.gnu.org>
Sun, 1 May 2016 07:52:32 +0000 (07:52 +0000)
gcc/
* config/sh/sh.md (push, pop, ic_invalidate_line, cstoresi4, cstoredi4,
cstoresf4, cstoredf4, fix_truncsfsi2): Remove constraints.

From-SVN: r235691

gcc/ChangeLog
gcc/config/sh/sh.md

index 999e7719179364b1c74265613a589f1d7bba5e53..3e991812c9ba95a217748dee54097ab649bc9e26 100644 (file)
@@ -1,3 +1,8 @@
+2016-05-01  Oleg Endo  <olegendo@gcc.gnu.org>
+
+       * config/sh/sh.md (push, pop, ic_invalidate_line, cstoresi4, cstoredi4,
+       cstoresf4, cstoredf4, fix_truncsfsi2): Remove constraints.
+
 2016-05-01  Eric Botcazou  <ebotcazou@adacore.com>
 
        * config/rs6000/rs6000.c (altivec_expand_lv_builtin): Do not use switch
index 3af9644d530e285dce5255c3184f81cb7e6c8254..bb97e2a7fcb9004a7c9a48e60495e897289660a0 100644 (file)
 
 (define_expand "push"
   [(set (mem:SI (pre_dec:SI (reg:SI SP_REG)))
-       (match_operand:SI 0 "register_operand" "r,l,x"))])
+       (match_operand:SI 0 "register_operand"))])
 
 (define_expand "pop"
-  [(set (match_operand:SI 0 "register_operand" "=r,l,x")
+  [(set (match_operand:SI 0 "register_operand")
        (mem:SI (post_inc:SI (reg:SI SP_REG))))])
 
 (define_expand "push_e"
 })
 
 (define_expand "ic_invalidate_line"
-  [(parallel [(unspec_volatile [(match_operand:SI 0 "register_operand" "+r")
+  [(parallel [(unspec_volatile [(match_operand:SI 0 "register_operand")
                                (match_dup 1)] UNSPEC_ICACHE)
              (clobber (scratch:SI))])]
   "TARGET_HARD_SH4"
   [(set_attr "type" "arith")])
 
 (define_expand "cstoresi4"
-  [(set (match_operand:SI 0 "register_operand" "=r")
+  [(set (match_operand:SI 0 "register_operand")
        (match_operator:SI 1 "comparison_operator"
-        [(match_operand:SI 2 "cmpsi_operand" "")
-         (match_operand:SI 3 "arith_operand" "")]))]
+        [(match_operand:SI 2 "cmpsi_operand")
+         (match_operand:SI 3 "arith_operand")]))]
   "TARGET_SH1"
 {
    if (sh_expand_t_scc (operands))
 })
 
 (define_expand "cstoredi4"
-  [(set (match_operand:SI 0 "register_operand" "=r")
+  [(set (match_operand:SI 0 "register_operand")
        (match_operator:SI 1 "comparison_operator"
-        [(match_operand:DI 2 "arith_operand" "")
-         (match_operand:DI 3 "arith_operand" "")]))]
+        [(match_operand:DI 2 "arith_operand")
+         (match_operand:DI 3 "arith_operand")]))]
   "TARGET_SH2"
 {
    if (sh_expand_t_scc (operands))
    (set_attr "length" "4")])
 
 (define_expand "cstoresf4"
-  [(set (match_operand:SI 0 "register_operand" "=r")
+  [(set (match_operand:SI 0 "register_operand")
        (match_operator:SI 1 "ordered_comparison_operator"
-        [(match_operand:SF 2 "arith_operand" "")
-         (match_operand:SF 3 "arith_operand" "")]))]
+        [(match_operand:SF 2 "arith_operand")
+         (match_operand:SF 3 "arith_operand")]))]
   "TARGET_SH2E"
 {
   if (! currently_expanding_to_rtl)
 })
 
 (define_expand "cstoredf4"
-  [(set (match_operand:SI 0 "register_operand" "=r")
+  [(set (match_operand:SI 0 "register_operand")
        (match_operator:SI 1 "ordered_comparison_operator"
-        [(match_operand:DF 2 "arith_operand" "")
-         (match_operand:DF 3 "arith_operand" "")]))]
+        [(match_operand:DF 2 "arith_operand")
+         (match_operand:DF 3 "arith_operand")]))]
   "TARGET_FPU_DOUBLE"
 {
   if (! currently_expanding_to_rtl)
    (set_attr "fp_mode" "single")])
 
 (define_expand "fix_truncsfsi2"
-  [(set (match_operand:SI 0 "fpul_operand" "=y")
-       (fix:SI (match_operand:SF 1 "fp_arith_reg_operand" "f")))]
+  [(set (match_operand:SI 0 "fpul_operand")
+       (fix:SI (match_operand:SF 1 "fp_arith_reg_operand")))]
   "TARGET_SH2E"
 {
   emit_insn (gen_fix_truncsfsi2_i4 (operands[0], operands[1]));