+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
(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)))