Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
authorRichard Sandiford <richard.sandiford@arm.com>
Fri, 8 May 2015 14:04:12 +0000 (14:04 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Fri, 8 May 2015 14:04:12 +0000 (14:04 +0000)
gcc/
2015-05-08  Richard Sandiford  <richard.sandiford@arm.com>
    Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

* config/i386/i386.md (<mode>_ldx, *<mode>_ldx): Remove mode
from (set ...).
* config/rx/rx.md (movdi, movdf): Likewise.
Likewise for define_peephole2s.

Co-Authored-By: Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
From-SVN: r222911

gcc/ChangeLog
gcc/config/i386/i386.md
gcc/config/rx/rx.md

index 6f4558fad8a98545cd9fcf8679f6225528df7d1b..e85dc316d12fbd056fa2261482c4bf2e37838a3e 100644 (file)
@@ -1,3 +1,11 @@
+2015-05-08  Richard Sandiford  <richard.sandiford@arm.com>
+           Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
+
+       * config/i386/i386.md (<mode>_ldx, *<mode>_ldx): Remove mode
+       from (set ...).
+       * config/rx/rx.md (movdi, movdf): Likewise.
+       Likewise for define_peephole2s.
+
 2015-05-08  Alan Lawrence  <alan.lawrence@arm.com>
 
        * config/aarch64/arm_neon.h (vceq_s64, vceq_u64, vceqz_s64, vceqz_u64,
index 938f3985493bc87b1a0b79b9d75f947e40a238ba..0959aef7a0d69325437d5250cd4c4fffd89f677f 100644 (file)
   [(set_attr "type" "mpxchk")])
 
 (define_expand "<mode>_ldx"
-  [(parallel [(set:BND (match_operand:BND 0 "register_operand")
-                       (unspec:BND
-                        [(mem:<bnd_ptr>
-                          (match_par_dup 3
-                            [(match_operand:<bnd_ptr> 1 "address_mpx_no_index_operand")
-                             (match_operand:<bnd_ptr> 2 "register_operand")]))]
-                        UNSPEC_BNDLDX))
+  [(parallel [(set (match_operand:BND 0 "register_operand")
+                   (unspec:BND
+                    [(mem:<bnd_ptr>
+                      (match_par_dup 3
+                        [(match_operand:<bnd_ptr> 1 "address_mpx_no_index_operand")
+                         (match_operand:<bnd_ptr> 2 "register_operand")]))]
+                    UNSPEC_BNDLDX))
               (use (mem:BLK (match_dup 1)))])]
   "TARGET_MPX"
 {
 })
 
 (define_insn "*<mode>_ldx"
-  [(parallel [(set:BND (match_operand:BND 0 "register_operand" "=w")
-                       (unspec:BND
-                        [(match_operator:<bnd_ptr> 3 "bnd_mem_operator"
-                          [(unspec:<bnd_ptr>
-                            [(match_operand:<bnd_ptr> 1 "address_mpx_no_index_operand" "Ti")
-                             (match_operand:<bnd_ptr> 2 "register_operand" "l")]
-                           UNSPEC_BNDLDX_ADDR)])]
-                        UNSPEC_BNDLDX))
+  [(parallel [(set (match_operand:BND 0 "register_operand" "=w")
+                  (unspec:BND
+                    [(match_operator:<bnd_ptr> 3 "bnd_mem_operator"
+                      [(unspec:<bnd_ptr>
+                        [(match_operand:<bnd_ptr> 1 "address_mpx_no_index_operand" "Ti")
+                         (match_operand:<bnd_ptr> 2 "register_operand" "l")]
+                       UNSPEC_BNDLDX_ADDR)])]
+                    UNSPEC_BNDLDX))
               (use (mem:BLK (match_dup 1)))])]
   "TARGET_MPX"
   "bndldx\t{%3, %0|%0, %3}"
index 9cb0451bda9540d71460e5bb7a633905db394b18..8b124759b0bac6567d192a1d9f4f5d9b90f02e0a 100644 (file)
                                         (match_dup 2)))
              (clobber (reg:CC CC_REG))])]
   "peep2_regno_dead_p (2, REGNO (operands[0])) && (optimize < 3 || optimize_size)"
-  [(parallel [(set:SI (match_dup 2)
-                     (memex_commutative:SI (match_dup 2)
-                                           (extend_types:SI (match_dup 1))))
+  [(parallel [(set (match_dup 2)
+                  (memex_commutative:SI (match_dup 2)
+                                        (extend_types:SI (match_dup 1))))
              (clobber (reg:CC CC_REG))])]
 )
 
                                         (match_dup 0)))
              (clobber (reg:CC CC_REG))])]
   "peep2_regno_dead_p (2, REGNO (operands[0])) && (optimize < 3 || optimize_size)"
-  [(parallel [(set:SI (match_dup 2)
-                     (memex_commutative:SI (match_dup 2)
-                                           (extend_types:SI (match_dup 1))))
+  [(parallel [(set (match_dup 2)
+                  (memex_commutative:SI (match_dup 2)
+                                        (extend_types:SI (match_dup 1))))
              (clobber (reg:CC CC_REG))])]
 )
 
                                     (match_dup 0)))
              (clobber (reg:CC CC_REG))])]
   "peep2_regno_dead_p (2, REGNO (operands[0])) && (optimize < 3 || optimize_size)"
-  [(parallel [(set:SI (match_dup 2)
-                     (memex_noncomm:SI (match_dup 2)
-                                       (extend_types:SI (match_dup 1))))
+  [(parallel [(set (match_dup 2)
+                  (memex_noncomm:SI (match_dup 2)
+                                    (extend_types:SI (match_dup 1))))
              (clobber (reg:CC CC_REG))])]
 )
 
        (memex_nocc:SI (match_dup 0)
                       (match_dup 2)))]
   "peep2_regno_dead_p (2, REGNO (operands[0])) && (optimize < 3 || optimize_size)"
-  [(set:SI (match_dup 2)
-          (memex_nocc:SI (match_dup 2)
-                         (extend_types:SI (match_dup 1))))]
+  [(set (match_dup 2)
+       (memex_nocc:SI (match_dup 2)
+                      (extend_types:SI (match_dup 1))))]
 )
 
 (define_peephole2
        (memex_nocc:SI (match_dup 2)
                       (match_dup 0)))]
   "peep2_regno_dead_p (2, REGNO (operands[0])) && (optimize < 3 || optimize_size)"
-  [(set:SI (match_dup 2)
-          (memex_nocc:SI (match_dup 2)
-                         (extend_types:SI (match_dup 1))))]
+  [(set (match_dup 2)
+       (memex_nocc:SI (match_dup 2)
+                      (extend_types:SI (match_dup 1))))]
 )
 
 (define_insn "<memex_commutative:code>si3_<extend_types:code><small_int_modes:mode>"
 )
 
 (define_insn "movdi"
-  [(set:DI (match_operand:DI 0 "nonimmediate_operand" "=rm")
-          (match_operand:DI 1 "general_operand"      "rmi"))]
+  [(set (match_operand:DI 0 "nonimmediate_operand" "=rm")
+        (match_operand:DI 1 "general_operand"      "rmi"))]
   "TARGET_ENABLE_LRA"
   { return rx_gen_move_template (operands, false); }
   [(set_attr "length" "16")
 )
 
 (define_insn "movdf"
-  [(set:DF (match_operand:DF 0 "nonimmediate_operand" "=rm")
-          (match_operand:DF 1 "general_operand"      "rmi"))]
+  [(set (match_operand:DF 0 "nonimmediate_operand" "=rm")
+        (match_operand:DF 1 "general_operand"      "rmi"))]
   "TARGET_ENABLE_LRA"
   { return rx_gen_move_template (operands, false); }
   [(set_attr "length" "16")