From patchwork Mon Jul 1 08:32:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schulze Frielinghaus X-Patchwork-Id: 93137 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 0C76338114C6 for ; Mon, 1 Jul 2024 14:06:25 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0C76338114C6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1719842785; bh=5pLDZVzRmACppLwDuYXAFMyu+3mfondtyzLy659L2NI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=GC+GC0exNzJf7fHt1eO5Rp4OVzi+hXqjjIGO+WGbt790tJgM5U1efA0U7yJDc0Npm P5xgCHsC6V8EAoyD9C5MFiZSRJ0kcuLYb/CwfPmIPEB4cfKSiE7kpWzQoL8w2NvFzr 5oMh0mk/Hc3OPB6lRcGVeMJXP9/LlIBCRZFtLe5o= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by sourceware.org (Postfix) with ESMTPS id F351038133EE; Mon, 1 Jul 2024 14:05:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org F351038133EE Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=gcc.gnu.org Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=gcc.gnu.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org F351038133EE Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=148.163.158.5 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1719842740; cv=none; b=S69MiAHlL7qqCl8lJMNIAY5jjhTNZdituUnb6ovktTUiZsC6y7Qt3GtLh55okaAOVX8exSr6//tzPzguWv9RIorscIsA1JzTXVgRQNqjuNAdmQIbIb4CvGgDhpJHi8EQqiTLzgS5PokUL2GEYbI0Y2+Tqi7seX3I+xJlB4lxd+0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1719842740; c=relaxed/simple; bh=EwJ1PcSGtBDDQ5gRNqhRXy6+flfXIJuVWP2tixr3I0c=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=o3d70wXzC2M5SkUFobzeoj6JtyP2YmK3QJhgANQnJFI3F+MNs7QpqJDOkI46/0yQsiWD4G4wO8sBs0PJgniEiA8Cz6xMpNlsvwqmQsISrOAAynDMA5TGQo299rHkCuTnr4VQVcOOt6Gl7XZptr47lMfM+XUZJtDfI9r3HlQwzfk= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from pps.filterd (m0360072.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 4617v8gQ032086; Mon, 1 Jul 2024 08:32:45 GMT 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 403q7p09sd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 01 Jul 2024 08:32:44 +0000 (GMT) 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 4617ac2X009121; Mon, 1 Jul 2024 08:32:44 GMT Received: from smtprelay05.fra02v.mail.ibm.com ([9.218.2.225]) by ppma22.wdc07v.mail.ibm.com (PPS) with ESMTPS id 402w00ecxm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 01 Jul 2024 08:32:44 +0000 Received: from smtpav03.fra02v.mail.ibm.com (smtpav03.fra02v.mail.ibm.com [10.20.54.102]) by smtprelay05.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 4618WcPV36241736 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 1 Jul 2024 08:32:40 GMT Received: from smtpav03.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 599062004F; Mon, 1 Jul 2024 08:32:38 +0000 (GMT) Received: from smtpav03.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 441D120067; Mon, 1 Jul 2024 08:32:38 +0000 (GMT) Received: from a8345010.lnxne.boe (unknown [9.152.108.100]) by smtpav03.fra02v.mail.ibm.com (Postfix) with ESMTPS; Mon, 1 Jul 2024 08:32:38 +0000 (GMT) From: Stefan Schulze Frielinghaus To: krebbel@linux.ibm.com, gcc-patches@gcc.gnu.org Cc: Stefan Schulze Frielinghaus Subject: [PATCH 3/3] s390: Drop vcond{,u} expanders Date: Mon, 1 Jul 2024 10:32:31 +0200 Message-ID: <20240701083231.160970-4-stefansf@gcc.gnu.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240701083231.160970-1-stefansf@gcc.gnu.org> References: <20240701083231.160970-1-stefansf@gcc.gnu.org> MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: 6qO6qtirLkXCVO6tZj6fKz3W36aeHxJZ X-Proofpoint-ORIG-GUID: 6qO6qtirLkXCVO6tZj6fKz3W36aeHxJZ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-07-01_06,2024-06-28_01,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 priorityscore=1501 mlxscore=0 impostorscore=0 malwarescore=0 phishscore=0 mlxlogscore=760 adultscore=0 suspectscore=0 spamscore=0 clxscore=1034 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2406140001 definitions=main-2407010064 X-Spam-Status: No, score=-11.7 required=5.0 tests=BAYES_00, GIT_PATCH_0, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NEUTRAL, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces~patchwork=sourceware.org@gcc.gnu.org Optabs vcond{,u} will be removed for GCC 15. Since regtest shows no fallout, dropping the expanders, now. gcc/ChangeLog: PR target/114189 * config/s390/vector.md (V_HW2): Remove. (vcond): Remove. (vcondu): Remove. --- Bootstrapped and regtested on s390. Ok for mainline? gcc/config/s390/vector.md | 35 ----------------------------------- 1 file changed, 35 deletions(-) diff --git a/gcc/config/s390/vector.md b/gcc/config/s390/vector.md index 0e57dd1650c..1caf732d1f9 100644 --- a/gcc/config/s390/vector.md +++ b/gcc/config/s390/vector.md @@ -27,14 +27,9 @@ V2SF V4SF V1DF V2DF V1TF V1TI TI]) ; All modes directly supported by the hardware having full vector reg size -; V_HW2 is for having two iterators expanding independently e.g. vcond. -; It's similar to V_HW, but not fully identical: V1TI is not included, because -; there are no 128-bit compares. (define_mode_iterator V_HW [V16QI V8HI V4SI V2DI V1TI TI V2DF (V4SF "TARGET_VXE") (V1TF "TARGET_VXE") (TF "TARGET_VXE")]) -(define_mode_iterator V_HW2 [V16QI V8HI V4SI V2DI V2DF (V4SF "TARGET_VXE") - (V1TF "TARGET_VXE") (TF "TARGET_VXE")]) (define_mode_iterator VT_HW_HSDT [V8HI V4SI V4SF V2DI V2DF V1TI V1TF TI TF]) (define_mode_iterator V_HW_HSD [V8HI V4SI (V4SF "TARGET_VXE") V2DI V2DF]) @@ -725,36 +720,6 @@ } }) -(define_expand "vcond" - [(set (match_operand:V_HW 0 "register_operand" "") - (if_then_else:V_HW - (match_operator 3 "vcond_comparison_operator" - [(match_operand:V_HW2 4 "register_operand" "") - (match_operand:V_HW2 5 "nonmemory_operand" "")]) - (match_operand:V_HW 1 "nonmemory_operand" "") - (match_operand:V_HW 2 "nonmemory_operand" "")))] - "TARGET_VX && GET_MODE_NUNITS (mode) == GET_MODE_NUNITS (mode)" -{ - s390_expand_vcond (operands[0], operands[1], operands[2], - GET_CODE (operands[3]), operands[4], operands[5]); - DONE; -}) - -(define_expand "vcondu" - [(set (match_operand:V_HW 0 "register_operand" "") - (if_then_else:V_HW - (match_operator 3 "comparison_operator" - [(match_operand:V_HW2 4 "register_operand" "") - (match_operand:V_HW2 5 "nonmemory_operand" "")]) - (match_operand:V_HW 1 "nonmemory_operand" "") - (match_operand:V_HW 2 "nonmemory_operand" "")))] - "TARGET_VX && GET_MODE_NUNITS (mode) == GET_MODE_NUNITS (mode)" -{ - s390_expand_vcond (operands[0], operands[1], operands[2], - GET_CODE (operands[3]), operands[4], operands[5]); - DONE; -}) - (define_expand "vcond_mask_" [(set (match_operand:VT 0 "register_operand" "") (if_then_else:VT