diff options
author | Andreas Krebbel <Andreas.Krebbel@de.ibm.com> | 2011-04-15 12:42:24 +0000 |
---|---|---|
committer | Andreas Krebbel <krebbel@gcc.gnu.org> | 2011-04-15 12:42:24 +0000 |
commit | 17465c6e866b0d2f12a0ffcfdcb24ef372283826 (patch) | |
tree | 9ff8e05a1d8993f47ce0700c60566858d9c37780 /gcc | |
parent | 78ce0af19183d2a71f6ea7b578bb903f8ad33a87 (diff) | |
download | gcc-17465c6e866b0d2f12a0ffcfdcb24ef372283826.zip gcc-17465c6e866b0d2f12a0ffcfdcb24ef372283826.tar.gz gcc-17465c6e866b0d2f12a0ffcfdcb24ef372283826.tar.bz2 |
s390.md (popcountdi2, [...]): Replace match_operand with match_dup for the third operand in these expanders.
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/s390/s390.md | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 65f9ead..7a56574 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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 diff --git a/gcc/config/s390/s390.md b/gcc/config/s390/s390.md index faf8672..10e7e8b 100644 --- a/gcc/config/s390/s390.md +++ b/gcc/config/s390/s390.md @@ -9330,7 +9330,7 @@ (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))) @@ -9352,7 +9352,7 @@ 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))) @@ -9374,7 +9374,7 @@ 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))) |