From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by sourceware.org (Postfix) with ESMTPS id BB3073945C38 for ; Tue, 4 May 2021 15:09:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org BB3073945C38 Received: from pps.filterd (m0098394.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 144F2pxX128941 for ; Tue, 4 May 2021 11:09:04 -0400 Received: from ppma05fra.de.ibm.com (6c.4a.5195.ip4.static.sl-reverse.com [149.81.74.108]) by mx0a-001b2d01.pphosted.com with ESMTP id 38b65ew9vw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 04 May 2021 11:09:04 -0400 Received: from pps.filterd (ppma05fra.de.ibm.com [127.0.0.1]) by ppma05fra.de.ibm.com (8.16.0.43/8.16.0.43) with SMTP id 144EsGeV014754 for ; Tue, 4 May 2021 15:09:02 GMT Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by ppma05fra.de.ibm.com with ESMTP id 388xm8gq36-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 04 May 2021 15:09:02 +0000 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 144F8xmm28115320 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 4 May 2021 15:08:59 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1280F4C044; Tue, 4 May 2021 15:08:59 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id DE2E14C046; Tue, 4 May 2021 15:08:58 +0000 (GMT) Received: from li-926bd7cc-2dd1-11b2-a85c-f6adc0f5efec.ibm.com (unknown [9.171.67.60]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTPS; Tue, 4 May 2021 15:08:58 +0000 (GMT) To: GCC Patches , Andreas Krebbel From: Robin Dapp Subject: [PATCH] testsuite/s390: Fix risbg-ll-3.c f2_cconly test. Message-ID: Date: Tue, 4 May 2021 17:08:58 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.9.1 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------EA7EE4F1FEF689A57A1FC8E9" Content-Language: en-US X-TM-AS-GCONF: 00 X-Proofpoint-GUID: lsMJyLSwH99xZr1svAY2cPo_jOo-c05J X-Proofpoint-ORIG-GUID: lsMJyLSwH99xZr1svAY2cPo_jOo-c05J X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761 definitions=2021-05-04_08:2021-05-04, 2021-05-04 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=982 lowpriorityscore=0 bulkscore=0 impostorscore=0 spamscore=0 clxscore=1015 priorityscore=1501 adultscore=0 malwarescore=0 phishscore=0 suspectscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104060000 definitions=main-2105040111 X-Spam-Status: No, score=-10.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 May 2021 15:09:07 -0000 This is a multi-part message in MIME format. --------------EA7EE4F1FEF689A57A1FC8E9 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi, instead of selecting bits 62 to (wraparound) 59 from r2 and inserting them into r3, we select bits 60 to 62 from r3 and insert them into r2 nowadays. Adjust the test accordingly. Is this OK? Regards Robin gcc/testsuite/ChangeLog: * gcc.target/s390/risbg-ll-3.c: Change match pattern. --------------EA7EE4F1FEF689A57A1FC8E9 Content-Type: text/x-patch; charset=UTF-8; name="0001-testsuite-s390-Fix-risbg-ll-3.c-f2_cconly-test.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0001-testsuite-s390-Fix-risbg-ll-3.c-f2_cconly-test.patch" >From ca1a204ff1753f4902bb58668d0ceafcc17d1232 Mon Sep 17 00:00:00 2001 From: Robin Dapp Date: Tue, 27 Apr 2021 16:17:35 +0200 Subject: [PATCH] testsuite/s390: Fix risbg-ll-3.c f2_cconly test. Instead of selecting bits 62 to (wraparound) 59 from r2 and inserting them into r3, we select bits 60 to 62 from r3 and insert them into r2 nowadays. Adjust the test accordingly. --- gcc/testsuite/gcc.target/s390/risbg-ll-3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/s390/risbg-ll-3.c b/gcc/testsuite/gcc.target/s390/risbg-ll-3.c index 90d37f2c1ce..864b0d6c417 100644 --- a/gcc/testsuite/gcc.target/s390/risbg-ll-3.c +++ b/gcc/testsuite/gcc.target/s390/risbg-ll-3.c @@ -37,7 +37,7 @@ i64 f2 (i64 v_a, i64 v_b) void f2_bar (); void f2_cconly (i64 v_a, i64 v_b) { -/* { dg-final { scan-assembler "f2_cconly:\n\trisbg\t%r3,%r2,63,59,0\n\tber\t%r14\n\tjg\tf2_bar\n" { target { lp64 } } } } */ +/* { dg-final { scan-assembler "f2_cconly:\n\trisbg\t%r2,%r3,60,62,0\n\tber\t%r14\n\tjg\tf2_bar\n" { target { lp64 } } } } */ /* { dg-final { scan-assembler "f2_cconly:\n\trisbgn\t%r3,%r2,0,0\\\+32-1,64-0-32\n\trisbg\t%r3,%r5,60,62,0\n\tber\t%r14\n\tjg\tf2_bar\n" { target { ! lp64 } } } } */ if ((v_a & -15) | (v_b & 14)) f2_bar(); -- 2.23.0 --------------EA7EE4F1FEF689A57A1FC8E9--