s390.md (popcountdi2, [...]): Replace match_operand with match_dup for the third...
authorAndreas Krebbel <Andreas.Krebbel@de.ibm.com>
Fri, 15 Apr 2011 12:42:24 +0000 (12:42 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Fri, 15 Apr 2011 12:42:24 +0000 (12:42 +0000)
2011-04-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* config/s390/s390.md (popcountdi2, popcountsi2, popcounthi2):
Replace match_operand with match_dup for the third operand in
these expanders.

From-SVN: r172490

gcc/ChangeLog
gcc/config/s390/s390.md

index 65f9eadc942b8bee8d9bf533b1b1d08a59de3076..7a56574df01dbbbce7f103c1732f3628a96ab6d8 100644 (file)
@@ -1,3 +1,9 @@
+2011-04-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
+
+       * config/s390/s390.md (popcountdi2, popcountsi2, popcounthi2):
+       Replace match_operand with match_dup for the third operand in
+       these expanders.
+
 2011-04-15  Maxim Kuvyrkov  <maxim@codesourcery.com>
 
        * combine.c (subst, combine_simlify_rtx): Add new argument, use it
index faf867254c3cfa4348912aa33aa132974f4cea62..10e7e8b786821c0f7e513a17b41d5bbc893f2316 100644 (file)
    (parallel [(set (match_dup 0) (plus:DI (match_dup 0) (match_dup 2)))
              (clobber (reg:CC CC_REGNUM))])
    ; sllg op2, op0, 16
-   (set (match_operand:DI 2 "register_operand" "")
+   (set (match_dup 2)
        (ashift:DI (match_dup 0) (const_int 16)))
    ; agr op0, op2
    (parallel [(set (match_dup 0) (plus:DI (match_dup 0) (match_dup 2)))
                              UNSPEC_POPCNT))
              (clobber (reg:CC CC_REGNUM))])
    ; sllk op2, op0, 16
-   (set (match_operand:SI 2 "register_operand" "")
+   (set (match_dup 2)
        (ashift:SI (match_dup 0) (const_int 16)))
    ; ar op0, op2
    (parallel [(set (match_dup 0) (plus:SI (match_dup 0) (match_dup 2)))
                              UNSPEC_POPCNT))
              (clobber (reg:CC CC_REGNUM))])
    ; sllk op2, op0, 8
-   (set (match_operand:SI 2 "register_operand" "")
+   (set (match_dup 2)
        (ashift:SI (match_dup 0) (const_int 8)))
    ; ar op0, op2
    (parallel [(set (match_dup 0) (plus:SI (match_dup 0) (match_dup 2)))