OSDN Git Service

2011-04-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
authorkrebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 Apr 2011 12:42:24 +0000 (12:42 +0000)
committerkrebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 15 Apr 2011 12:42:24 +0000 (12:42 +0000)
* config/s390/s390.md (popcountdi2, popcountsi2, popcounthi2):
Replace match_operand with match_dup for the third operand in
these expanders.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@172490 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 65f9ead..7a56574 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 faf8672..10e7e8b 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)))