]> gcc.gnu.org Git - gcc.git/commitdiff
* config/ia64/ia64.md (fetchadd_acq_si, fetchadd_acq_di)
authorZack Weinberg <zack@codesourcery.com>
Wed, 28 Jan 2004 22:09:27 +0000 (22:09 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Wed, 28 Jan 2004 22:09:27 +0000 (22:09 +0000)
(cmpxchg_acq_si, cmpxchg_acq_di): Exchange match_dup and
match_operand expressions so that all match_dups appear
lexically after their corresponding match_operands.

From-SVN: r76812

gcc/ChangeLog
gcc/config/ia64/ia64.md

index a1a89616a1c6bd3b2f4e202c79f70ed588eddb00..ec78f6f9aa24f2bc4bfa40900db0827479fd1603 100644 (file)
@@ -1,3 +1,10 @@
+2004-01-28  Zack Weinberg  <zack@codesourcery.com>
+
+       * config/ia64/ia64.md (fetchadd_acq_si, fetchadd_acq_di)
+       (cmpxchg_acq_si, cmpxchg_acq_di): Exchange match_dup and
+       match_operand expressions so that all match_dups appear
+       lexically after their corresponding match_operands.
+
 2004-01-28  Kazu Hirata  <kazu@cs.umass.edu>
 
        * config/h8300/h8300.c (WORD_REG_USED): Use
index 2713eb624aa6b52548b35c529006cd7947259f8d..d3f46c12277134123b14e9a5e04c142f9da4f162 100644 (file)
 
 (define_insn "fetchadd_acq_si"
   [(set (match_operand:SI 0 "gr_register_operand" "=r")
-       (match_dup 1))
-   (set (match_operand:SI 1 "not_postinc_memory_operand" "+S")
+       (match_operand:SI 1 "not_postinc_memory_operand" "+S"))
+   (set (match_dup 1)
        (unspec:SI [(match_dup 1)
                    (match_operand:SI 2 "fetchadd_operand" "n")]
                   UNSPEC_FETCHADD_ACQ))]
 
 (define_insn "fetchadd_acq_di"
   [(set (match_operand:DI 0 "gr_register_operand" "=r")
-       (match_dup 1))
-   (set (match_operand:DI 1 "not_postinc_memory_operand" "+S")
+       (match_operand:DI 1 "not_postinc_memory_operand" "+S"))
+   (set (match_dup 1)
        (unspec:DI [(match_dup 1)
                    (match_operand:DI 2 "fetchadd_operand" "n")]
                   UNSPEC_FETCHADD_ACQ))]
 
 (define_insn "cmpxchg_acq_si"
   [(set (match_operand:SI 0 "gr_register_operand" "=r")
-       (match_dup 1))
-   (set (match_operand:SI 1 "not_postinc_memory_operand" "+S")
+       (match_operand:SI 1 "not_postinc_memory_operand" "+S"))
+   (set (match_dup 1)
         (unspec:SI [(match_dup 1)
                     (match_operand:SI 2 "gr_register_operand" "r")
                    (match_operand:DI 3 "ar_ccv_reg_operand" "")]
 
 (define_insn "cmpxchg_acq_di"
   [(set (match_operand:DI 0 "gr_register_operand" "=r")
-       (match_dup 1))
-   (set (match_operand:DI 1 "not_postinc_memory_operand" "+S")
+       (match_operand:DI 1 "not_postinc_memory_operand" "+S"))
+   (set (match_dup 1)
         (unspec:DI [(match_dup 1)
                     (match_operand:DI 2 "gr_register_operand" "r")
                    (match_operand:DI 3 "ar_ccv_reg_operand" "")]
This page took 0.087436 seconds and 5 git commands to generate.