[{"id":3682861,"web_url":"http://patchwork.ozlabs.org/comment/3682861/","msgid":"<eb01d99f-111e-41b2-a102-27ac58095b67@qti.qualcomm.com>","list_archive_url":null,"date":"2026-04-27T18:07:43","subject":"Re: [PATCH v6] simplify-rtx: Simplify (cmp (and/ior x C1) C2)","submitter":{"id":92871,"url":"http://patchwork.ozlabs.org/api/people/92871/","name":"Jeffrey Law","email":"jefflaw@qti.qualcomm.com"},"content":"On 4/27/2026 3:49 AM, Bohan Lei wrote:\n> This is v6 of\n> https://gcc.gnu.org/pipermail/gcc-patches/2026-March/711809.html, fixed\n> and enhanced as was suggested by Philipp and Andrew.  The previous\n> version:\n> https://gcc.gnu.org/pipermail/gcc-patches/2026-April/714878.html.\n> Andrew noticed the x86 regression and suggested updating the testcase.\n>\n> This patch adds missing simplifications for (cmp (and/ior x C1) C2) in\n> special cases.  In the AND case, when (and C1 C2) is not equal to C1,\n> some bits set in C2 are not set in C1, and thus (eq (and x C1) C2) can\n> never be true.  The OR case is similar when (and C1 C2) is not equal to\n> C2.  As we know that the result of (and x C1) cannot be greater than C1,\n> and that that of (or x C1) cannot be less than C1 for unsigned integers,\n> LTU, LEU, GTU, GEU cases can be optimized, too.\n>\n> The patch is meant to fix an ICE on RISC-V.  In a former patch, I tried\n> to change the insn condition directly, but Jeff pointed out that it was\n> more reasonable to optimize it out before the split.  As was suggested\n> by Jeff, this patch tries to simplify the expression in\n> simplify_relational_operation_1.\n>\n> The URL for the former patch:\n> https://patchwork.sourceware.org/project/gcc/patch/20251229024238.15044-1-garthlei@linux.alibaba.com/\n>\n> gcc/ChangeLog:\n>\n> \t* simplify-rtx.cc (simplify_context::simplify_relational_operation_1):\n> \tAdd simplifications for `(cmp (and/ior x C1) C2)`.\n>\n> gcc/testsuite/ChangeLog:\n>\n> \t* gcc.target/i386/pr113609-1.c: Change assembly check after\n> \toptimization.\n> \t* gcc.target/riscv/zbs-if_then_else-02.c: New test.\nSo this spun in my tester this morning.  No regressions across the \nvarious embedded targets or x86_64.  It's OK for the trunk.\n\nBohan -- it seems like it would make sense for you to get commit privs \nso that you can push your approved patches.   This page outlines the \nbasics and has a link to the right form to fill out to get that process \ngoing:\n\nhttps://gcc.gnu.org/gitwrite.html\n\nYou can list me as your sponsor.\n\njeff","headers":{"Return-Path":"<gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org>","X-Original-To":["incoming@patchwork.ozlabs.org","gcc-patches@gcc.gnu.org"],"Delivered-To":["patchwork-incoming@legolas.ozlabs.org","gcc-patches@gcc.gnu.org"],"Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256\n header.s=qcppdkim1 header.b=P4HZCA+r;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org\n (client-ip=2620:52:6:3111::32; helo=vm01.sourceware.org;\n envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org;\n receiver=patchwork.ozlabs.org)","sourceware.org;\n\tdkim=pass (2048-bit key,\n unprotected) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256\n header.s=qcppdkim1 header.b=P4HZCA+r","sourceware.org; dmarc=none (p=none dis=none)\n header.from=qti.qualcomm.com","sourceware.org;\n spf=pass smtp.mailfrom=qti.qualcomm.com","server2.sourceware.org;\n arc=pass smtp.remote-ip=205.220.168.131"],"Received":["from vm01.sourceware.org (vm01.sourceware.org\n [IPv6:2620:52:6:3111::32])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g4BQ23Wrmz1yHv\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 28 Apr 2026 04:08:25 +1000 (AEST)","from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 21A374BAE7FC\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 27 Apr 2026 18:08:23 +0000 (GMT)","from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com\n [205.220.168.131])\n by sourceware.org (Postfix) with ESMTPS id 7CEAC4BAD149\n for <gcc-patches@gcc.gnu.org>; Mon, 27 Apr 2026 18:07:53 +0000 (GMT)","from pps.filterd (m0279865.ppops.net [127.0.0.1])\n by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id\n 63RDaow93961977; Mon, 27 Apr 2026 18:07:52 GMT","from sn1pr07cu001.outbound.protection.outlook.com\n (mail-sn1pr07cu00105.outbound.protection.outlook.com [40.93.14.101])\n by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4dt4k32c3v-2\n (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT);\n Mon, 27 Apr 2026 18:07:51 +0000 (GMT)","from LV2PR02MB11156.namprd02.prod.outlook.com\n (2603:10b6:408:350::22) by SJ0PR02MB8660.namprd02.prod.outlook.com\n (2603:10b6:a03:3f9::11) with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9846.26; Mon, 27 Apr\n 2026 18:07:43 +0000","from LV2PR02MB11156.namprd02.prod.outlook.com\n ([fe80::ca5:a90e:7b8a:3905]) by LV2PR02MB11156.namprd02.prod.outlook.com\n ([fe80::ca5:a90e:7b8a:3905%2]) with mapi id 15.20.9846.025; Mon, 27 Apr 2026\n 18:07:43 +0000"],"DKIM-Filter":["OpenDKIM Filter v2.11.0 sourceware.org 21A374BAE7FC","OpenDKIM Filter v2.11.0 sourceware.org 7CEAC4BAD149"],"DMARC-Filter":"OpenDMARC Filter v1.4.2 sourceware.org 7CEAC4BAD149","ARC-Filter":"OpenARC Filter v1.0.0 sourceware.org 7CEAC4BAD149","ARC-Seal":["i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1777313273; cv=pass;\n b=A+uGR3FtOGSRcWyPJEuc1SzAtf/GCYl5zkgLoUdX6PbpbcW5IoNEWI2fGJFMz+eXZr594EA/kxZn05NQnP7yx5RONIjIAlphWGtNf+JJ9wcAguje+yo83qU5FXTkX78goCZLUEBjcCpJdQc0hvw0CbCRQ37ZNH9Z5qUbJDy9Dkc=","i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;\n b=dF8qmKazKSKe7oD9kPkt/Ng3azQ1lWP1ycU6sOgnaqh9JgU1NPulQoBtq1x8Qe0KGsZAw+pgdfbzZ4rig5Z3wQtYt+riSKE/prXUwqfDbKdEZZEH8ucbRJahxfzxaeBIHQAGxS05Soa4i2z0SESDOiGgvu4beiQU2k44xm24GneXn63jKNWb5PcaHIwVP759E28N9WF9GqK0HWk7AQ0ox63TicAJJEw8Lm3s0HuvHKZdJ0HsG6nZCnqzOtpzflNEU+dMQXcEmuyrPn4UVQZ0mY4+RKMv2bHWY358ZDulLY8YiqSV2AtRmCDJCO2FiA/NJ8VZxO8tWkKJHzMnvPuxZQ=="],"ARC-Message-Signature":["i=2; a=rsa-sha256; d=sourceware.org; s=key;\n t=1777313273; c=relaxed/simple;\n bh=8PQKM7Dv36QozK5Q56tghRuqJ4Qna8FXou16hootkSI=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=DL2kEcfqO+YFXT/qGCEwXqNTEUcGXFyj9En4Cq/EGLeJ/obuN1Rvjbi7w8693L6mdsK9JodTDy9+q3L4gxQFQw/sBtd4AdKo8Nx0t10vSYL7SB5S9I5mUVKxPT4QazQNlCRO0nWP/L7gSJuo2PvMkSmHAcll9nnw1A04+5xPk/s=","i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;\n s=arcselector10001;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;\n bh=8PQKM7Dv36QozK5Q56tghRuqJ4Qna8FXou16hootkSI=;\n b=Xm40WWXPxxtbKiODCqNRMXE3cx1q+smOxBB7wpmEqoikWWO+LwmX+mzA9CR4tczcJsCJ16VL+jR/ErdnNgZdFD7kA9uXCBVMXoBRAT98ZcArLgDOVOH74mC1TiFf5RCxu0PS00XL7OYxRydwRRswbS0nZq9tZX1or/G9c1oUWsUph96EmuR6dPIFF+vv8NB4e+u4d2YmCLR8tUGH92PavAmie7pFWGU9FsfCIBIWxmQCMdcfWi/FAvQpvpopRnhJ5IQM2Snj5jRC33EoaON0YBT6B6cLdFHZLl4N8+3b6QuIy3CVtdTWkA4I+A9G+T72Tq0zvO0stcTf8h+w11D03Q=="],"ARC-Authentication-Results":["i=2; server2.sourceware.org","i=1; mx.microsoft.com 1; spf=pass\n smtp.mailfrom=qti.qualcomm.com; dmarc=pass action=none\n header.from=qti.qualcomm.com; dkim=pass header.d=qti.qualcomm.com; arc=none"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h=\n cc:content-id:content-transfer-encoding:content-type:date:from\n :in-reply-to:message-id:mime-version:references:subject:to; s=\n qcppdkim1; bh=8PQKM7Dv36QozK5Q56tghRuqJ4Qna8FXou16hootkSI=; b=P4\n HZCA+rdlbpTiiSFJ8KV+svxcveypYyUVwV+UMkI1+AO0ujsJK8lAn8CKLFVeAWzN\n 9zaC6nZ3gadJn4K27rJi59QTGUxsiwXA4yRTpdWYzhjl4pExoMjPDP4IvzISwdpK\n +AwN+FOiEfi8e9xufkC8vy2v4f977MDBLNntfoN8YwOyujwbBRPd9yRaTnO1fJhU\n neVroxQDRGHdVALOvsl7iBVbpepyXDdEf9opATPI7sxUOe7pmFBJNqiLeZ/6ETOW\n RRQpDS/iEvckQK8v1j7L9XAH9miBC+Vrqwtij6REx+Ssg9oJqtuEXqEfVrJ7lf4H\n +X+I91+A5l6roWn+s2tw==","From":"Jeffrey Law <jefflaw@qti.qualcomm.com>","To":"Bohan Lei <garthlei@linux.alibaba.com>, \"gcc-patches@gcc.gnu.org\"\n <gcc-patches@gcc.gnu.org>","CC":"\"jeffrey.law@oss.qualcomm.com\" <jeffrey.law@oss.qualcomm.com>,\n \"philipp.tomsich@vrull.eu\" <philipp.tomsich@vrull.eu>,\n \"andrew.pinski@oss.qualcomm.com\" <andrew.pinski@oss.qualcomm.com>","Subject":"Re: [PATCH v6] simplify-rtx: Simplify (cmp (and/ior x C1) C2)","Thread-Topic":"[PATCH v6] simplify-rtx: Simplify (cmp (and/ior x C1) C2)","Thread-Index":"AQHc1nC9QhXOpXRiJUa+52TukBgaIA==","Date":"Mon, 27 Apr 2026 18:07:43 +0000","Message-ID":"<eb01d99f-111e-41b2-a102-27ac58095b67@qti.qualcomm.com>","References":"<20260427015626.4256-1-garthlei@linux.alibaba.com>\n <20260427094945.47448-1-garthlei@linux.alibaba.com>","In-Reply-To":"<20260427094945.47448-1-garthlei@linux.alibaba.com>","Accept-Language":"en-US","Content-Language":"en-US","X-MS-Has-Attach":"","X-MS-TNEF-Correlator":"","x-ms-publictraffictype":"Email","x-ms-traffictypediagnostic":"LV2PR02MB11156:EE_|SJ0PR02MB8660:EE_","x-ms-office365-filtering-correlation-id":"61fad1a4-95dc-4e41-aa4e-08dea487e0e9","x-ms-exchange-senderadcheck":"1","x-ms-exchange-antispam-relay":"0","x-microsoft-antispam":"BCL:0;\n ARA:13230040|1800799024|376014|366016|38070700021|56012099003|18002099003|22082099003;","x-microsoft-antispam-message-info":"\n cDGUgSrMcBL91lUUdNK4GB69hDprCpZDyPyviAhp/EhvMFmQ/qTWyNEggmVotV3IMT4TTXPZJO8pCqkREXYfpnDAuSam8ZY7b54ljMZukQMN+h8QdrdtDLvGuBFceOwEryygdyI8OVgwQ17YWKoGuVe9RSqUdoogS0fp+1cw5ozXn7WVI/sizikuSmaOELr5Jx8VCKNkQL/+bvrDku8r41kkSagk8GNSd1sZUZyOWHdtIEvhnWfGoyIDm0FuhlGYsU0cbLhSUxvJSYM6s9ceaI6nxcYOx+Fh6NgE408kkMAFh2EejEQCwmXYnCPNOABCZQL4ls7IPkDX8tsUMCzShM5aNgMacX4lT4a5mDWrcNcmdJDOKKiKRRjXr44PPMO6o3C9SMQn2CL/n7/rIW11AoNjiFh3Nw5Eb0LbEqXrchnQ/7UPJ5cpXbRzsJuGYfurtYxO7uHs76woA3kkJS8EUbhdANq+dLgwGmm8KoxUOp6mMdq7N+Ujlciya/8FPp1qcdvL9dM8VY/QP++8fryzPKRWVTsmha7zQcET6cgSAx8k6EsWokfuZhF+cjIwRg22aKMQebp+zK3sS9upVG5shrMoo3Ksia/U82wsM8wz1IqV4Mw8dXPFWT5XaR7qUWBw1BZjz7ZumU7K0CE1CGp9hOBot8ao3B1WWskWF9Y3MNjoVYiYAyvHZ/xSErZJ5KK6ZI/Y9y3B7noQ9LFvgWZBp4kQhHzHMiPtf+flmlZzwZNVAwGGZibJDef2imSKc3kg","x-forefront-antispam-report":"CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;\n IPV:NLI; SFV:NSPM; H:LV2PR02MB11156.namprd02.prod.outlook.com; PTR:;\n CAT:NONE;\n SFS:(13230040)(1800799024)(376014)(366016)(38070700021)(56012099003)(18002099003)(22082099003);\n DIR:OUT; SFP:1101;","x-ms-exchange-antispam-messagedata-chunkcount":"1","x-ms-exchange-antispam-messagedata-0":"=?utf-8?q?aJTLPCKrr9c/QHfmgUTxk/IYgJ+o?=\n\t=?utf-8?q?QAB5TQmeA0C+a965pj4MWA6/ZdhcVBXqaqGZ4Ht68ltlP/ntEh1MrlM+w+TcCf94D?=\n\t=?utf-8?q?4HsWwWJ+yJuSm91vF52xlNi18HpN04p4tYOUfTmnPPsvCO9D0mvLP6VDpn8beFYjN?=\n\t=?utf-8?q?vMdsI9ynpEuQpfxiy3rtWqD7l29E1rq5ag/s9AuIH0UlpMnpDm7xUdrpCyUA5xfLb?=\n\t=?utf-8?q?ugTqyzptojMlUn1tQx2QRw020lF5Iklp0k1LBP1PKniIVm2V0FVvYbzYbDpHExhrP?=\n\t=?utf-8?q?K1e0GYvBTPCD0znGXgjEd4QXBI6csR+8ZBSVel+5AbUHIkmHCvtxoP8Yh4r6KDPnj?=\n\t=?utf-8?q?yhchVx+cBJfs2iOs3lEiMVl1a6lKj6VCpX2x1K4eHGuJW6o/ywIrVlgvp702nOpDF?=\n\t=?utf-8?q?fwU96xtDsLsSmPNgA+jGsGfRBMrhTtRtyFaF+DIhF2s4Nb+jKPlj9CciUBz4YF6MA?=\n\t=?utf-8?q?UcyX/lHSDuP+An/SmiIyHqrgYo6Bnrbzn25OrAYtHKYLeIH2uruy0lhiJDCvaZOhp?=\n\t=?utf-8?q?ZL6QOhjN7fjKBHr/PNVP3fvEKbWiRuG6O3tSq4W2KTgxFmih77lYg8Bn1+6ikmHuz?=\n\t=?utf-8?q?6umnF2K84SikiJUERdcBH4X/y44zXVDsJ1WsCTUQeK0ck1bcDVteuk/HGILMyMsOl?=\n\t=?utf-8?q?5OYdDrez3F+W7VCiIs4ON3YbQPIy0j4jjZQe0Jf2bZKXgZqSx2ljZdWg341yCUILF?=\n\t=?utf-8?q?YbEHBTgriksmS4RazY9mG1AtaESNiSiUdoVkzsSQSqPAjxSIq7RJ6mYjwMgJEfbau?=\n\t=?utf-8?q?iUtov35wpqG6pQlJ/pPVlOfBlj0l7AUwokwWzwIBfXezx5a0apPV5pZsVpACa1xwb?=\n\t=?utf-8?q?wA9qzas/iLQpCjl/cgVmZPMON5qELAcA3QwZIOiK3KzkK2H2T8zObYXY4dAHMc/tt?=\n\t=?utf-8?q?J3C48DauXEHG+PomeKh4U+yylLxS38Dy5xBPbQmb1Tc2a1fNpkoJ6tx4DVNT6IlgO?=\n\t=?utf-8?q?ktzdNhiO/2m2O/j38ExgYtSLpoW9GRMnR1nna9Jevy+1IhYAm/TCVqyEqA2G9WolH?=\n\t=?utf-8?q?Kq1aaYZTI+PcF/T6W4RU6SGgdlEIdW6MAgELZFEeRG9qR8fC4hx1ktTI/Ceoya6Ee?=\n\t=?utf-8?q?FI7ToDGgPJYURDvU7suz1fpa5yxYeCXOaj9yhs7k7GgRxdM0xOTMicJWWqcSCBgae?=\n\t=?utf-8?q?k3+K9L4Vk4aCBy+EIESz93srl0lo07fwFn2FoT7V4CKRtIH8pB9JaI25BRflUlKK5?=\n\t=?utf-8?q?+UtCpUMy778NDF+RPef7TGDotJJn57FYOEaPW3F8D2V9aR+ejh2SsEhqs/O7l4sQA?=\n\t=?utf-8?q?blhnOykfNv/fcmCwUMMfX/PGbNgyPf+8qSX6jvK/wi8t/fN9YvMUgKrAiWTd3/tXO?=\n\t=?utf-8?q?NlLyzvGDndwdfH64TZnRP6jmDz02GEtZSE0Ky6bPYilHLSLWhl/i0D/KUuuQy0NcB?=\n\t=?utf-8?q?/VUx1tqOAcxXaSRvjyFXZRm3JrbQOlKLnT34KAamGWitxsfdO4uzwZDqyzGc77u6s?=\n\t=?utf-8?q?BFN6GUAeVtwcZ6VP/GVJfAPj3AxPNwoWhVuLgyH7+TfSr3fPhJgFYI10jilZu9w7g?=\n\t=?utf-8?q?kv46GFIWK3RmmaukURNOegAPZT8keFoS4wK//dbeu04vVBiqDXhOErrvId8dhyqiO?=\n\t=?utf-8?q?UTs+GXaSEuADZzdYKMY/CUx8h8jz3iGMGK2WpP9AoX3KLf8Td29RpaAK9+PgEeK90?=\n\t=?utf-8?q?mMukUhFH9xItek/zLpNTDjM6AYM+6MSwgHHtOCehat4hDrWvGLGUw=3D?=","Content-Type":"text/plain; charset=\"utf-8\"","Content-ID":"<B4ED4EAA4BC4B54EAFC1551E2F83B957@namprd02.prod.outlook.com>","Content-Transfer-Encoding":"base64","MIME-Version":"1.0","X-Exchange-RoutingPolicyChecked":"\n tkj+gqZ5zM78uKFyiYuvqJoFSC+ooqarPeMnfn8LPmxTZ+spQSg14dY47bZJKOKQSgoTGKK3eKlxw0RT0b0hgCp8WKr1AR9gNmDeL22YQ9eZN6Y163Y/QfTtJiu6gqaH4PdOI1KG+YhflYCFL/XJeRcz2i9fPmnM8156MXsROcRJvvMeafsJMYacUndeRboLVt7/NUtkCExW6odS8WMPiFtGLB34fNbYcTBLLFVcbMEfFWnavy3z3P05HAkK5UWNp2F56li7GUIYo8pOiX8i3ARxv6cpU8mPOSZL0FVu2lJYkS5ZrAk6zRTDwl9usm2V5SKp0qWj8B92xcbsDJ//Gw==","X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount":"1","X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0":"\n AYJXyz94PhLQ5L3wLBglvRcjVAS5qRtfDqzpBJ93E3gXgxTsyhzOVnX6yLHnpt6ZREYXYNmCq9euH3fKdIiDpAsilXHcerSbFE135Pg5zkFTLrvSfMCbsKpkkYH99Mf0ESBgxyruq1QLCnKooZeljaEiPSZzMWRnqpo0NJ48TkZ0JS+ggLgEuhdPj4waBSDZ0UtZBAhg0+s9ke6VoQRKNPeok9FOGioodk61qbplbQN1UIVwb3iaBCjd4Siqpq6DhGJ0jZ2i3Y+UvYdGCpEVLl04ZnaoCFfpppex5DV9kaLHSHQMAf07+vWqmn+gbZG4tGIpg8kfqdKRs92dKEVw3sjtuDrTg3oEZSeE6i0ysqky4ZEiNrTmiy8NaCS3Pp3+Bby11esD+WU81seb9Ia/XpE+hQAX25RdkoS66266mv5Zu9kkdp+TdBk+WLpXgvVyft5RJpPuUaPKoQDLqcRs5QANdh6wnQSEb/XjpwvyH1A6vsq+Wsi/e2cFA+mp8+kMuoiC2idgxbBUiMPn4/24XKOoq+0Mb1/UGLgwfMw1qQEU6lTCKg1iHmj2pPnTU+XPOVjwF9jEfoedoodi5rJURvCcdqm9hI7fbLuTrWx4QU7NENZEHfX3QQtVA5+fQOYn","X-OriginatorOrg":"qti.qualcomm.com","X-MS-Exchange-CrossTenant-AuthAs":"Internal","X-MS-Exchange-CrossTenant-AuthSource":"LV2PR02MB11156.namprd02.prod.outlook.com","X-MS-Exchange-CrossTenant-Network-Message-Id":"\n 61fad1a4-95dc-4e41-aa4e-08dea487e0e9","X-MS-Exchange-CrossTenant-originalarrivaltime":"27 Apr 2026 18:07:43.3748 (UTC)","X-MS-Exchange-CrossTenant-fromentityheader":"Hosted","X-MS-Exchange-CrossTenant-id":"98e9ba89-e1a1-4e38-9007-8bdabc25de1d","X-MS-Exchange-CrossTenant-mailboxtype":"HOSTED","X-MS-Exchange-CrossTenant-userprincipalname":"\n zkl0krvNpfmvpN5Sg6zA5giFjxM7stqR2c+uj0nU8I3eGR3jMfrTtX9kN12upJBSpyx2fo/fZMCYfdLX1/kfyXIaRNlN3FRCLm68a3y0ZS0=","X-MS-Exchange-Transport-CrossTenantHeadersStamped":"SJ0PR02MB8660","X-Proofpoint-Spam-Details-Enc":"AW1haW4tMjYwNDI3MDE5MyBTYWx0ZWRfX+zS0/qwBmZVJ\n VEU5GeL/cIj3RTUcuzQ9imySIMtPpxIQS+5EPgM1oOxNP1RpdbU1o1IrXzm/eX1axE2iM3KfEm7\n kRlm7pXyur3zFMXMATHLm98PbYMrhbdgG9yeuiRiKkKEV70VPuzwY4eZHfhc8X2F1/5jCjQG0Qx\n NFGmhNhLIC+p4WnYeT+p3zc7WF3Ch4z3RYkwcQ82M+0iCQZXLghtrALi20L84/e6js5L8KgInYZ\n Ggy2jCdyKSzB0PS9IRFRP5E8QjVGdXlr+1TbiaK0hIBONlTfG3USDcnTO7EDw07FMavgbozPFIj\n CBPLXXGJyxDKzPnsPhrz4VcGyf/enNQujm/GlLMDWZuBrx9GP4sIciBRPBOIS7EX+A0gxHrGnDR\n /7CHPpujwbCySPMWeLvTeRjeivNgT16Hg+wsftF0w6h9i75Q+Pda7eUMPhNEItnPZBjZXZTdqhT\n JGsm2Y7CHuUgMYlj1Wg==","X-Authority-Analysis":"v=2.4 cv=a7QAM0SF c=1 sm=1 tr=0 ts=69efa5f7 cx=c_pps\n a=sqEVzwMxMloIav/+n4UGMg==:117 a=z/mQ4Ysz8XfWz/Q5cLBRGdckG28=:19\n a=lCpzRmAYbLLaTzLvsPZ7Mbvzbb8=:19 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10\n a=A5OVakUREuEA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22\n a=Um2Pa8k9VHT-vaBCBUpS:22 a=mDV3o1hIAAAA:8 a=CCpqsmhAAAAA:8 a=SRrdq9N9AAAA:8\n a=vdPfXuePEYzM6HO8N10A:9 a=QEXdDO2ut3YA:10 a=ul9cdbp4aOFLsgKbc677:22","X-Proofpoint-GUID":"z3tmM7EDhA9a2aDsbCEwc_yD7f5ZAN1q","X-Proofpoint-ORIG-GUID":"z3tmM7EDhA9a2aDsbCEwc_yD7f5ZAN1q","X-Proofpoint-Virus-Version":"vendor=baseguard\n engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49\n definitions=2026-04-27_04,2026-04-21_02,2025-10-01_01","X-Proofpoint-Spam-Details":"rule=outbound_notspam policy=outbound score=0\n clxscore=1011 malwarescore=0 spamscore=0 phishscore=0 impostorscore=0\n lowpriorityscore=0 suspectscore=0 bulkscore=0 priorityscore=1501 adultscore=0\n classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0\n reason=mlx scancount=1 engine=8.22.0-2604200000 definitions=main-2604270193","X-BeenThere":"gcc-patches@gcc.gnu.org","X-Mailman-Version":"2.1.30","Precedence":"list","List-Id":"Gcc-patches mailing list <gcc-patches.gcc.gnu.org>","List-Unsubscribe":"<https://gcc.gnu.org/mailman/options/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe>","List-Archive":"<https://gcc.gnu.org/pipermail/gcc-patches/>","List-Post":"<mailto:gcc-patches@gcc.gnu.org>","List-Help":"<mailto:gcc-patches-request@gcc.gnu.org?subject=help>","List-Subscribe":"<https://gcc.gnu.org/mailman/listinfo/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe>","Errors-To":"gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org"}},{"id":3683061,"web_url":"http://patchwork.ozlabs.org/comment/3683061/","msgid":"<cded2b52-ca9a-43e2-8271-a02fd55ccdde.garthlei@linux.alibaba.com>","list_archive_url":null,"date":"2026-04-28T01:48:55","subject":"=?utf-8?q?Re=3A_=5BPATCH_v6=5D_simplify-rtx=3A_Simplify_=28cmp_=28a?=\n\t=?utf-8?q?nd/ior_x_C1=29_C2=29?=","submitter":{"id":89310,"url":"http://patchwork.ozlabs.org/api/people/89310/","name":"Bohan Lei","email":"garthlei@linux.alibaba.com"},"content":"> So this spun in my tester this morning.  No regressions across the \n> various embedded targets or x86_64.  It's OK for the trunk.\n> \n> Bohan -- it seems like it would make sense for you to get commit privs \n> so that you can push your approved patches.   This page outlines the \n> basics and has a link to the right form to fill out to get that process \n> going:\n> \n> https://gcc.gnu.org/gitwrite.html\n> \n> You can list me as your sponsor.\n> \n> jeff\n\nThank you, Jeff!  I submitted that form.","headers":{"Return-Path":"<gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org>","X-Original-To":["incoming@patchwork.ozlabs.org","gcc-patches@gcc.gnu.org"],"Delivered-To":["patchwork-incoming@legolas.ozlabs.org","gcc-patches@gcc.gnu.org"],"Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=linux.alibaba.com header.i=@linux.alibaba.com\n header.a=rsa-sha256 header.s=default header.b=LCk8JoCZ;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org\n (client-ip=2620:52:6:3111::32; helo=vm01.sourceware.org;\n envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org;\n receiver=patchwork.ozlabs.org)","sourceware.org;\n\tdkim=pass (1024-bit key,\n unprotected) header.d=linux.alibaba.com header.i=@linux.alibaba.com\n header.a=rsa-sha256 header.s=default header.b=LCk8JoCZ","sourceware.org; dmarc=pass (p=none dis=none)\n header.from=linux.alibaba.com","sourceware.org;\n spf=pass smtp.mailfrom=linux.alibaba.com","server2.sourceware.org;\n arc=none smtp.remote-ip=115.124.30.132"],"Received":["from vm01.sourceware.org (vm01.sourceware.org\n [IPv6:2620:52:6:3111::32])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g4Nfh17R6z1xvV\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 28 Apr 2026 11:49:42 +1000 (AEST)","from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 7A9C34BA79BA\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 28 Apr 2026 01:49:35 +0000 (GMT)","from out30-132.freemail.mail.aliyun.com\n (out30-132.freemail.mail.aliyun.com [115.124.30.132])\n by sourceware.org (Postfix) with ESMTPS id ACEB94BA9015\n for <gcc-patches@gcc.gnu.org>; Tue, 28 Apr 2026 01:49:06 +0000 (GMT)","from WS-web\n (garthlei@linux.alibaba.com[W4_0.2.3_v5ForWebDing_212075B7_1777340863523_o7001c2000]\n cluster:ay36) at Tue, 28 Apr 2026 09:48:55 +0800"],"DKIM-Filter":["OpenDKIM Filter v2.11.0 sourceware.org 7A9C34BA79BA","OpenDKIM Filter v2.11.0 sourceware.org ACEB94BA9015"],"DMARC-Filter":"OpenDMARC Filter v1.4.2 sourceware.org ACEB94BA9015","ARC-Filter":"OpenARC Filter v1.0.0 sourceware.org ACEB94BA9015","ARC-Seal":"i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1777340949; cv=none;\n b=pch1cesf3RCXMvp+4lv7o6uR0c8wLfYQ5b0fOoSL6yHuuGXgqBFQJeaZD3exkOp8WMjNnERavtP9jtBGo8GKipyo0TFrGflAZZGRuNdcL6yWCkNA7VeXbrPZ8FpCzwnUhx+Iim3joPM8xccbDcypa4t+c0M/AeymHKK+0rPLxW0=","ARC-Message-Signature":"i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1777340949; c=relaxed/simple;\n bh=Y3LHpDDJLSANnU+O3AEhGqtXFrXVyWUVa+ES2GTXZY0=;\n h=DKIM-Signature:Date:From:To:Message-ID:Subject:MIME-Version;\n b=wRPJWBDX64b/otFoPnU9qeCEpWaofROv9zLbteO/v1DK3lPfQRObpic7BMVbeE7AKkQO6sQxKecCw1iWatIhdx1n5/EIJQJRRXgDQJNvG15OMDiz+UumRo2qDTM5fPoaonV0dFrFrf6qjbGVMMafvOX+iPUYrmOEVx+yZdOkiCY=","ARC-Authentication-Results":"i=1; server2.sourceware.org","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=linux.alibaba.com; s=default;\n t=1777340941; h=Date:From:To:Message-ID:Subject:MIME-Version:Content-Type;\n bh=Y3LHpDDJLSANnU+O3AEhGqtXFrXVyWUVa+ES2GTXZY0=;\n b=LCk8JoCZ4nrlCZG6Yt/x7FeE+G7HjPM4CLt7bL+uWlJIrhtAYRfULczsqyBceLIT7vdJPczDtsRG+DjJxbazLPEr57Rf/WzyIlHQ3/fYEaLdSQPqFoQdrVYeNGLKUoG0vrVEN1i4Fo3sToIr0W7DqQ4UVM2RAqR4eS5ZG3+dl8k=","X-Alimail-AntiSpam":"AC=PASS; BC=-1|-1; BR=01201311R101e4; CH=green;\n DM=||false|;\n DS=||; FP=0|-1|-1|-1|0|-1|-1|-1; HT=maildocker-contentspam033045098064;\n MF=garthlei@linux.alibaba.com; NM=1; PH=DW; RN=5; SR=0;\n TI=W4_0.2.3_v5ForWebDing_212075B7_1777340863523_o7001c2000;","Date":"Tue, 28 Apr 2026 09:48:55 +0800","From":"\"Bohan Lei\" <garthlei@linux.alibaba.com>","To":"\"Jeffrey Law\" <jefflaw@qti.qualcomm.com>,\n \"gcc-patches@gcc.gnu.org\" <gcc-patches@gcc.gnu.org>","Cc":"\"jeffrey.law@oss.qualcomm.com\" <jeffrey.law@oss.qualcomm.com>,\n \"philipp.tomsich@vrull.eu\" <philipp.tomsich@vrull.eu>,\n \"andrew.pinski@oss.qualcomm.com\" <andrew.pinski@oss.qualcomm.com>","Message-ID":"<cded2b52-ca9a-43e2-8271-a02fd55ccdde.garthlei@linux.alibaba.com>","Subject":"=?utf-8?q?Re=3A_=5BPATCH_v6=5D_simplify-rtx=3A_Simplify_=28cmp_=28a?=\n\t=?utf-8?q?nd/ior_x_C1=29_C2=29?=","X-Mailer":"[Alimail-Mailagent revision 17][W4_0.2.3][v5ForWebDing][Safari]","MIME-Version":"1.0","x-aliyun-im-through":"{\"version\":\"v1.0\"}","References":"<20260427015626.4256-1-garthlei@linux.alibaba.com>\n <20260427094945.47448-1-garthlei@linux.alibaba.com>,\n <eb01d99f-111e-41b2-a102-27ac58095b67@qti.qualcomm.com>","x-aliyun-mail-creator":"\n W4_0.2.3_v5ForWebDing_NjATW96aWxsYS81LjAgKE1hY2ludG9zaDsgSW50ZWwgTWFjIE9TIFggMTBfMTVfNykgQXBwbGVXZWJLaXQvNjA1LjEuMTUgKEtIVE1MLCBsaWtlIEdlY2tvKSBWZXJzaW9uLzE3LjQuMSBTYWZhcmkvNjA1LjEuMTU=XQ","In-Reply-To":"<eb01d99f-111e-41b2-a102-27ac58095b67@qti.qualcomm.com>","x-aliyun-mailtrack":"{\"foreign-track\":\"0\"}","Content-Type":"text/plain; charset=\"UTF-8\"","Content-Transfer-Encoding":"base64","X-BeenThere":"gcc-patches@gcc.gnu.org","X-Mailman-Version":"2.1.30","Precedence":"list","List-Id":"Gcc-patches mailing list <gcc-patches.gcc.gnu.org>","List-Unsubscribe":"<https://gcc.gnu.org/mailman/options/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe>","List-Archive":"<https://gcc.gnu.org/pipermail/gcc-patches/>","List-Post":"<mailto:gcc-patches@gcc.gnu.org>","List-Help":"<mailto:gcc-patches-request@gcc.gnu.org?subject=help>","List-Subscribe":"<https://gcc.gnu.org/mailman/listinfo/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe>","Reply-To":"Bohan Lei <garthlei@linux.alibaba.com>","Errors-To":"gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org"}},{"id":3683297,"web_url":"http://patchwork.ozlabs.org/comment/3683297/","msgid":"<3cfdff83-9c07-4b76-af59-b77677ce295f.garthlei@linux.alibaba.com>","list_archive_url":null,"date":"2026-04-28T09:30:33","subject":"=?utf-8?q?Re=3A_=5BPATCH_v6=5D_simplify-rtx=3A_Simplify_=28cmp_=28a?=\n\t=?utf-8?q?nd/ior_x_C1=29_C2=29?=","submitter":{"id":89310,"url":"http://patchwork.ozlabs.org/api/people/89310/","name":"Bohan Lei","email":"garthlei@linux.alibaba.com"},"content":"Pushed to the trunk.","headers":{"Return-Path":"<gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org>","X-Original-To":["incoming@patchwork.ozlabs.org","gcc-patches@gcc.gnu.org"],"Delivered-To":["patchwork-incoming@legolas.ozlabs.org","gcc-patches@gcc.gnu.org"],"Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=linux.alibaba.com header.i=@linux.alibaba.com\n header.a=rsa-sha256 header.s=default header.b=xJBoFIbo;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org\n (client-ip=2620:52:6:3111::32; helo=vm01.sourceware.org;\n envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org;\n receiver=patchwork.ozlabs.org)","sourceware.org;\n\tdkim=pass (1024-bit key,\n unprotected) header.d=linux.alibaba.com header.i=@linux.alibaba.com\n header.a=rsa-sha256 header.s=default header.b=xJBoFIbo","sourceware.org; dmarc=pass (p=none dis=none)\n header.from=linux.alibaba.com","sourceware.org;\n spf=pass smtp.mailfrom=linux.alibaba.com","server2.sourceware.org;\n arc=none smtp.remote-ip=115.124.30.111"],"Received":["from vm01.sourceware.org (vm01.sourceware.org\n [IPv6:2620:52:6:3111::32])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g4Ztk4WpKz1yHX\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 28 Apr 2026 19:31:09 +1000 (AEST)","from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 653524BA9018\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 28 Apr 2026 09:31:07 +0000 (GMT)","from out30-111.freemail.mail.aliyun.com\n (out30-111.freemail.mail.aliyun.com [115.124.30.111])\n by sourceware.org (Postfix) with ESMTPS id 1C3F24BA9018\n for <gcc-patches@gcc.gnu.org>; Tue, 28 Apr 2026 09:30:40 +0000 (GMT)","from WS-web\n (garthlei@linux.alibaba.com[W4_0.2.3_v5ForWebDing_21250D67_1777368600434_o7001c158r]\n cluster:ay36) at Tue, 28 Apr 2026 17:30:33 +0800"],"DKIM-Filter":["OpenDKIM Filter v2.11.0 sourceware.org 653524BA9018","OpenDKIM Filter v2.11.0 sourceware.org 1C3F24BA9018"],"DMARC-Filter":"OpenDMARC Filter v1.4.2 sourceware.org 1C3F24BA9018","ARC-Filter":"OpenARC Filter v1.0.0 sourceware.org 1C3F24BA9018","ARC-Seal":"i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1777368641; cv=none;\n b=FnxfegCVCs8dscDzoAKZboqBMtg0Def3M75QL/4Qa372lde58F0ubGiIiszCshMbSjkU5rfd/02vOSeQjk+viryw/wzrCQOvJNvs0sFnP2ODHB0SXYzZ1HZz1ToamUeKha1afIfD8YCO+wjT//YxBNfdYJGbdkdsRAqBHpzsNx4=","ARC-Message-Signature":"i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1777368641; c=relaxed/simple;\n bh=qPLiSUXfjdCXlCSley2nKwLKqw64M8y//+k1dfRmIL4=;\n h=DKIM-Signature:Date:From:To:Message-ID:Subject:MIME-Version;\n b=HZW7qxKaMn00g+OO4SFxHZAZTuR+8hrs05gTYF4kbm67aWjRkIWJIkCPvAv2onJMkllX5c7hvZ2KDpVcrkyYSUF4H9wEiDEIUiHxP+qW3keW+QRJp0SgffjQKDLmWtJOOvMpbjyTMwcNwmklibFSdI/qxbmrFf69M7y9tJ+9z4M=","ARC-Authentication-Results":"i=1; server2.sourceware.org","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=linux.alibaba.com; s=default;\n t=1777368638; h=Date:From:To:Message-ID:Subject:MIME-Version:Content-Type;\n bh=qPLiSUXfjdCXlCSley2nKwLKqw64M8y//+k1dfRmIL4=;\n b=xJBoFIbotlpqB0dMrLsJGbeEqM+amn2p12qVIGLNHQ/i1Wyqi6UtgBbYWSLWt2O7oO5bpIcUmxqHEPywVujKvQvL6srhnG18vFRsV3lC20NpEcVqXJHRxTEafacLOw+L6MIllY5U7Y1CPC3adQu0mdtdKTweM0PZAS0eCzJmvJ8=","X-Alimail-AntiSpam":"AC=PASS; BC=-1|-1; BR=01201311R201e4; CH=green;\n DM=||false|;\n DS=||; FP=0|-1|-1|-1|0|-1|-1|-1; HT=maildocker-contentspam033032089153;\n MF=garthlei@linux.alibaba.com; NM=1; PH=DW; RN=5; SR=0;\n TI=W4_0.2.3_v5ForWebDing_21250D67_1777368600434_o7001c158r;","Date":"Tue, 28 Apr 2026 17:30:33 +0800","From":"\"Bohan Lei\" <garthlei@linux.alibaba.com>","To":"\"Bohan Lei\" <garthlei@linux.alibaba.com>,\n \"gcc-patches\" <gcc-patches@gcc.gnu.org>","Cc":"\"jeffrey.law\" <jeffrey.law@oss.qualcomm.com>,\n \"philipp.tomsich\" <philipp.tomsich@vrull.eu>,\n \"andrew.pinski\" <andrew.pinski@oss.qualcomm.com>","Message-ID":"<3cfdff83-9c07-4b76-af59-b77677ce295f.garthlei@linux.alibaba.com>","Subject":"=?utf-8?q?Re=3A_=5BPATCH_v6=5D_simplify-rtx=3A_Simplify_=28cmp_=28a?=\n\t=?utf-8?q?nd/ior_x_C1=29_C2=29?=","X-Mailer":"[Alimail-Mailagent revision 17][W4_0.2.3][v5ForWebDing][Safari]","MIME-Version":"1.0","x-aliyun-im-through":"{\"version\":\"v1.0\"}","References":"<20260427015626.4256-1-garthlei@linux.alibaba.com>,\n <20260427094945.47448-1-garthlei@linux.alibaba.com>","x-aliyun-mail-creator":"\n W4_0.2.3_v5ForWebDing_NjATW96aWxsYS81LjAgKE1hY2ludG9zaDsgSW50ZWwgTWFjIE9TIFggMTBfMTVfNykgQXBwbGVXZWJLaXQvNjA1LjEuMTUgKEtIVE1MLCBsaWtlIEdlY2tvKSBWZXJzaW9uLzE3LjQuMSBTYWZhcmkvNjA1LjEuMTU=XQ","In-Reply-To":"<20260427094945.47448-1-garthlei@linux.alibaba.com>","x-aliyun-mailtrack":"{\"foreign-track\":\"0\"}","Content-Type":"text/plain; charset=\"UTF-8\"","Content-Transfer-Encoding":"8bit","X-BeenThere":"gcc-patches@gcc.gnu.org","X-Mailman-Version":"2.1.30","Precedence":"list","List-Id":"Gcc-patches mailing list <gcc-patches.gcc.gnu.org>","List-Unsubscribe":"<https://gcc.gnu.org/mailman/options/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe>","List-Archive":"<https://gcc.gnu.org/pipermail/gcc-patches/>","List-Post":"<mailto:gcc-patches@gcc.gnu.org>","List-Help":"<mailto:gcc-patches-request@gcc.gnu.org?subject=help>","List-Subscribe":"<https://gcc.gnu.org/mailman/listinfo/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe>","Reply-To":"Bohan Lei <garthlei@linux.alibaba.com>","Errors-To":"gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org"}}]