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 EC6D63844053 for ; Thu, 9 Nov 2023 08:28:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EC6D63844053 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=linux.ibm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linux.ibm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org EC6D63844053 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=148.163.156.1 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699518502; cv=none; b=uvSAddTaB7RVqQ5cEGZIpurokDXX3v32bTfTehszwsYDJ0iWso2tLRpuYWFg/YvQaSHvUGSWm71/AruC535w9Nd2Nbqz54WOnRdYcL2Le0iujXAusTBiZJF7qBfRgBXC4EDVQzjvzNFKRniuqSU7GJH1h/RQMt2+lX7J1O4LrU8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699518502; c=relaxed/simple; bh=J/PU/6Alp8Lvd8upQL6FH32dzxlA9PqiLrBUZssqlI8=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=ixazyGJrQupGZjZHqF1ipkK9l9cNRSmIbnQAGVprtW3Y4Xh05C3Ot/mADHTTWmVfSlBCTzGbZ7SLm61wPJd2kwfafaTcMFVVAef1jGoMidZ6aPEPesvNTyRJJZnTTKoMGdV48bZetTCbCHJmZaMYG43Rwg02hk4Ub2ROhC5AfIY= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from pps.filterd (m0356517.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3A98HdAF032268 for ; Thu, 9 Nov 2023 08:28:20 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : mime-version : subject : to : references : from : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=iw3juRj1lRq6x7F7j/U5+fP7BTc+R1O6uISiwFhFCtI=; b=YBSQNUy+h9+KGK32YVIODRU9ct2AfYTbsOVZpgsjJdp2kiyk4f2YuuwAekX1A6qI/EHo jRnfGi82Bvrj74fKqJQI9ObIOgY3ErPPlFViZ4Y7N1ybEIjYDjWqBZaZdGrxm/5MkF6D b8dtQ8Qt6vyVt4Tukv60cClw2oZsotJmilgPWOm6+/LbqaJQQWCRVrdDs7lBwMTFW3yf 1KtsSSeBEzTtyrgp42AJIr1haZIXD9NpnunvQ2F7ME4T486oyqBXfsD+Ov1H29dB2gqf NwBGb+t5WiNFp38rourSJrigcEOjub1ZxULmncMaC8IVYDFcgRZ70KxcKed8aJO2zh40 6g== Received: from ppma22.wdc07v.mail.ibm.com (5c.69.3da9.ip4.static.sl-reverse.com [169.61.105.92]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3u8usn0cnd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 09 Nov 2023 08:28:19 +0000 Received: from pps.filterd (ppma22.wdc07v.mail.ibm.com [127.0.0.1]) by ppma22.wdc07v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 3A97t4ha028302 for ; Thu, 9 Nov 2023 08:28:18 GMT Received: from smtprelay04.fra02v.mail.ibm.com ([9.218.2.228]) by ppma22.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3u7w22jkc2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 09 Nov 2023 08:28:18 +0000 Received: from smtpav02.fra02v.mail.ibm.com (smtpav02.fra02v.mail.ibm.com [10.20.54.101]) by smtprelay04.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 3A98SFat45941472 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 9 Nov 2023 08:28:15 GMT Received: from smtpav02.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 7AB952004B; Thu, 9 Nov 2023 08:28:15 +0000 (GMT) Received: from smtpav02.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6104A20043; Thu, 9 Nov 2023 08:28:15 +0000 (GMT) Received: from [9.152.224.246] (unknown [9.152.224.246]) by smtpav02.fra02v.mail.ibm.com (Postfix) with ESMTP; Thu, 9 Nov 2023 08:28:15 +0000 (GMT) Message-ID: <932767ac-6173-42b8-3723-76ab18752a92@linux.ibm.com> Date: Thu, 9 Nov 2023 09:28:15 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH] s390: Reduce number of patterns where the condition is false anyway Content-Language: en-US To: Stefan Schulze Frielinghaus , gcc-patches@gcc.gnu.org References: <20231109082409.2890-1-stefansf@linux.ibm.com> From: Andreas Krebbel In-Reply-To: <20231109082409.2890-1-stefansf@linux.ibm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: YO7y5LOhd0fNZ-ZnrG3R1NyCtmaM7CLJ X-Proofpoint-ORIG-GUID: YO7y5LOhd0fNZ-ZnrG3R1NyCtmaM7CLJ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.987,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-11-09_07,2023-11-08_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 bulkscore=0 phishscore=0 clxscore=1015 spamscore=0 priorityscore=1501 malwarescore=0 adultscore=0 mlxscore=0 suspectscore=0 mlxlogscore=828 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311060000 definitions=main-2311090068 X-Spam-Status: No, score=-6.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 11/9/23 09:24, Stefan Schulze Frielinghaus wrote: > For patterns which make use of two modes, do not build the cross product > and then exclude illegal combinations via conditions but rather do not > create those in the first place. Here we are following the idea of the > attribute TOINTVEC/tointvec and introduce TOINT/toint. > > Bootstrapped and regtested on s390. Ok for mainline? > > gcc/ChangeLog: > > * config/s390/s390.md (VX_CONV_INT): Remove iterator. > (gf): Add float mappings. > (TOINT, toint): New attribute. > (*fixuns_trunc2_z13): > Remove. > (*fixuns_trunc2_z13): Add. > (*fix_trunc2_bfp_z13): > Remove. > (*fix_trunc2_bfp_z13): Add. > (*floatuns2_z13): Remove. > (*floatuns2_z13): Add. > * config/s390/vector.md (VX_VEC_CONV_INT): Remove iterator. > (float2): Remove. > (float2): Add. > (floatuns2): Remove. > (floatuns2): Add. > (fix_trunc2): > Remove. > (fix_trunc2): Add. > (fixuns_trunc2): > Remove. > (fixuns_trunc2): Add. Ok, thanks! Andreas