From 17465c6e866b0d2f12a0ffcfdcb24ef372283826 Mon Sep 17 00:00:00 2001 From: Andreas Krebbel Date: Fri, 15 Apr 2011 12:42:24 +0000 Subject: [PATCH] s390.md (popcountdi2, [...]): Replace match_operand with match_dup for the third operand in these expanders. 2011-04-15 Andreas Krebbel * 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 | 6 ++++++ gcc/config/s390/s390.md | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 65f9eadc942..7a56574df01 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2011-04-15 Andreas Krebbel + + * 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 * 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 faf867254c3..10e7e8b7868 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))) -- 2.30.2