]> code.ossystems Code Review - openembedded-core.git/blob
e912b81f8fcabbcac58f9486a3871dcbaa8d6967
[openembedded-core.git] /
1 Upstream-Status: Inappropriate [Backport]
2 From d3cce0bbf7e327905965f0fae70b04af08bfb64b Mon Sep 17 00:00:00 2001
3 From: krebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4>
4 Date: Fri, 15 Apr 2011 12:43:40 +0000
5 Subject: [PATCH 124/200] 2011-04-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6
7         * config/s390/s390.md (popcountdi2, popcountsi2, popcounthi2):
8         Replace match_operand with match_dup for the third operand in
9         these expanders.
10
11
12
13 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@172491 138bc75d-0d04-0410-961f-82ee72b054a4
14
15 index 2d552fb..7639d2d 100644
16 --- a/gcc/config/s390/s390.md
17 +++ b/gcc/config/s390/s390.md
18 @@ -9330,7 +9330,7 @@
19     (parallel [(set (match_dup 0) (plus:DI (match_dup 0) (match_dup 2)))
20               (clobber (reg:CC CC_REGNUM))])
21     ; sllg op2, op0, 16
22 -   (set (match_operand:DI 2 "register_operand" "")
23 +   (set (match_dup 2)
24         (ashift:DI (match_dup 0) (const_int 16)))
25     ; agr op0, op2
26     (parallel [(set (match_dup 0) (plus:DI (match_dup 0) (match_dup 2)))
27 @@ -9352,7 +9352,7 @@
28                               UNSPEC_POPCNT))
29               (clobber (reg:CC CC_REGNUM))])
30     ; sllk op2, op0, 16
31 -   (set (match_operand:SI 2 "register_operand" "")
32 +   (set (match_dup 2)
33         (ashift:SI (match_dup 0) (const_int 16)))
34     ; ar op0, op2
35     (parallel [(set (match_dup 0) (plus:SI (match_dup 0) (match_dup 2)))
36 @@ -9374,7 +9374,7 @@
37                               UNSPEC_POPCNT))
38               (clobber (reg:CC CC_REGNUM))])
39     ; sllk op2, op0, 8
40 -   (set (match_operand:SI 2 "register_operand" "")
41 +   (set (match_dup 2)
42         (ashift:SI (match_dup 0) (const_int 8)))
43     ; ar op0, op2
44     (parallel [(set (match_dup 0) (plus:SI (match_dup 0) (match_dup 2)))
45 -- 
46 1.7.0.4
47