From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by sourceware.org (Postfix) with ESMTPS id CE6773853835 for ; Mon, 31 Oct 2022 15:43:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org CE6773853835 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 Received: from pps.filterd (m0127361.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 29VErAZv011546 for ; Mon, 31 Oct 2022 15:43:02 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : to : from : subject : content-type : content-transfer-encoding : mime-version; s=pp1; bh=V0oDkhQC2p3QekpYKhNCtGih17egHbE9QqpkwdLFnBg=; b=W1fTLkJRMmEoC9MDk6iObMOl1pJ2VOBoB+ZRQBgWfThOxXvXziqAp4DC38e7bdlwHp+9 vJ8it8zwk05SaRwk1JqruQLrhpjKEA89hU0r9u3fBo/3N0cin+vZMqJTyqAkIHw5uQ3g 1duyhx6kpitl8DtbgzCjWTps4G4qUwWgkGrFdyrFro+K3VGMeb04bZfpAqCvk86TziXL TVWFmyP4GS/zXk2wf2ftUw8/aoFAJ9HQYSxAPP4lXH22PeI4kj4SkYXcCvI2u9YAhYhb +NwVmleSUi86iLl8ZoacKUjW8itV3fGoXboVABPkx5vmNouVPt0ekmlQHtadhBVtBO9/ Tw== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3kjf70vrf7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 31 Oct 2022 15:43:01 +0000 Received: from m0127361.ppops.net (m0127361.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 29VDOhG5015181 for ; Mon, 31 Oct 2022 15:43:01 GMT Received: from ppma04fra.de.ibm.com (6a.4a.5195.ip4.static.sl-reverse.com [149.81.74.106]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3kjf70vreb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 31 Oct 2022 15:43:01 +0000 Received: from pps.filterd (ppma04fra.de.ibm.com [127.0.0.1]) by ppma04fra.de.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 29VFZCSE006048; Mon, 31 Oct 2022 15:42:59 GMT Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by ppma04fra.de.ibm.com with ESMTP id 3kgut8tcfu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 31 Oct 2022 15:42:59 +0000 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 29VFgv4460555712 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 31 Oct 2022 15:42:57 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 25D8D5204F; Mon, 31 Oct 2022 15:42:57 +0000 (GMT) Received: from [9.171.95.222] (unknown [9.171.95.222]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTPS id F3BB45204E; Mon, 31 Oct 2022 15:42:56 +0000 (GMT) Message-ID: <546be11b-5bb6-e312-e309-291787d25018@linux.ibm.com> Date: Mon, 31 Oct 2022 16:42:56 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 Content-Language: en-US To: GCC Patches , ubizjak@gmail.com From: Robin Dapp Subject: optabs: Variable index vec_set Content-Type: text/plain; charset=UTF-8 X-TM-AS-GCONF: 00 X-Proofpoint-GUID: vPk-nhOHgD0EwtbA66ZnlsDYYUXd9HUc X-Proofpoint-ORIG-GUID: St5Gs7nqaYG3CTigDVSEYCO1v0VCP5Xl Content-Transfer-Encoding: 7bit X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-10-31_17,2022-10-31_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 impostorscore=0 lowpriorityscore=0 mlxlogscore=999 priorityscore=1501 spamscore=0 phishscore=0 clxscore=1015 suspectscore=0 mlxscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2210310097 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,KAM_SHORT,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,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 List-Id: Hi, I'm looking into vec_set with variable index on s390. Uros posted a patch [1] that did not make it upstream in Nov 2020. It changed the mode of the index operand to whatever the target supports in can_vec_set_var_idx_p. I missed it back then but we indeed do not make proper use of vec_set with an index register. With the patch my local changes to make better use of vec_set work nicely even though I haven't done a full bootstrap yet. Were there other issues with the patch or can it still be applied? Regards Robin [1] https://gcc.gnu.org/pipermail/gcc-patches/2020-November/559213.html