From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2079.outbound.protection.outlook.com [40.107.8.79]) by sourceware.org (Postfix) with ESMTPS id 41CDA3858D32; Thu, 13 Apr 2023 09:15:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 41CDA3858D32 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=arm.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7L329UNizhU+92VJ44FmmXsDiMWZuPsJJwqA3yz94GA=; b=i6PTqw+3ELW79jBohmh0PdZWYQZxBxglmcoDv+k844KbWGOZuP+5qbZ/SZ2HlTDbbLeVw698Bep7qV0x9OuCgIWhIp+hO+l5aNVyVOcC45eXjwEGzNXQ16BVg6prn0J10nfciGDP7BBPaZBxlXZSQT46vVr7EELOXVlNphEev74= Received: from DU2P250CA0007.EURP250.PROD.OUTLOOK.COM (2603:10a6:10:231::12) by AM9PR08MB6004.eurprd08.prod.outlook.com (2603:10a6:20b:285::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6277.38; Thu, 13 Apr 2023 09:15:20 +0000 Received: from DBAEUR03FT034.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:231:cafe::eb) by DU2P250CA0007.outlook.office365.com (2603:10a6:10:231::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6298.32 via Frontend Transport; Thu, 13 Apr 2023 09:15:20 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DBAEUR03FT034.mail.protection.outlook.com (100.127.142.97) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6298.31 via Frontend Transport; Thu, 13 Apr 2023 09:15:20 +0000 Received: ("Tessian outbound 3570909035da:v136"); Thu, 13 Apr 2023 09:15:20 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: e36e5ff80885a1ca X-CR-MTA-TID: 64aa7808 Received: from e2352f4b3761.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 81C01574-97C2-4FC2-B6EE-58FEBE51EA54.1; Thu, 13 Apr 2023 09:15:13 +0000 Received: from EUR02-DB5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id e2352f4b3761.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 13 Apr 2023 09:15:13 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=X0w5+h+fhtIRRweEvJMOk06D+3I9T6rpayCENr+tzBfDXkdPXl0KhfJP86hLb5IdMoZ1zZbCNvhFHkISo5rTv523R5R//Fi4VpVdr5S08+4yF8bWN8DvlqYhI+8gDtqLkagt64AU9alT4dVhJSf9TPOCXG5fLrnLXqVR5UD+oZoRq552XJDY7tCsGKvZSLAk5Z/eYZ/xvWY8Ed2YNR6G8bKS/Gjr2vFqll698+7WRyvrhHwkF6t6+RFfIWvaxfLIBxa3bWU13v92kATubo/cAqYiOEzX2thsI7ru2r1I+vYS0zpZYEVjpkZkdLJmX+o3ED5dj7jB4ySN4vI3jL0VHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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; bh=7L329UNizhU+92VJ44FmmXsDiMWZuPsJJwqA3yz94GA=; b=GFqLbbo0KGG7kQlOfVPsma2yOKk9s1NtOPmD4hGAHZPg8XcCgEwl3E4BKpnZBtK73NLsVyVq+tneKgL2r+cKATFRqTBtaDOIKZGf67fw6NqhiOaDe2UUvHZKEhq8Fw02kdcckZvG/rRPFYYQcvYjQksK9h3X/IM2gF3BBpG06h1Y6wp0Pc74XO5LVMXTmD3NmLBynrMhJcOqQuSrnkqjv25DtaeGi1IZdtPXueJ97BXM/J2z9qOCQirscMdZgkiiGs7SvUaZyeaotgHprCvlN0bv8gu2Xo59a0zX2Qsuc2aoTBqu0drqG7RlGky66lVp2uV43iP1/PGRBuXFjUmdQQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=7L329UNizhU+92VJ44FmmXsDiMWZuPsJJwqA3yz94GA=; b=i6PTqw+3ELW79jBohmh0PdZWYQZxBxglmcoDv+k844KbWGOZuP+5qbZ/SZ2HlTDbbLeVw698Bep7qV0x9OuCgIWhIp+hO+l5aNVyVOcC45eXjwEGzNXQ16BVg6prn0J10nfciGDP7BBPaZBxlXZSQT46vVr7EELOXVlNphEev74= Received: from PAXPR08MB6559.eurprd08.prod.outlook.com (2603:10a6:102:df::13) by DU0PR08MB9776.eurprd08.prod.outlook.com (2603:10a6:10:443::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6277.35; Thu, 13 Apr 2023 09:15:10 +0000 Received: from PAXPR08MB6559.eurprd08.prod.outlook.com ([fe80::a47a:b11e:7e25:5677]) by PAXPR08MB6559.eurprd08.prod.outlook.com ([fe80::a47a:b11e:7e25:5677%5]) with mapi id 15.20.6277.038; Thu, 13 Apr 2023 09:15:10 +0000 From: Andre Simoes Dias Vieira To: "gcc-regression@gcc.gnu.org" , "gcc-patches@gcc.gnu.org" , "haochen.jiang@intel.com" , Andrew Stubbs Subject: Re: [r13-7135 Regression] FAIL: gcc.dg/vect/vect-simd-clone-18f.c scan-tree-dump-times vect "[\\n\\r] [^\\n]* = foo\\.simdclone" 2 on Linux/x86_64 Thread-Topic: [r13-7135 Regression] FAIL: gcc.dg/vect/vect-simd-clone-18f.c scan-tree-dump-times vect "[\\n\\r] [^\\n]* = foo\\.simdclone" 2 on Linux/x86_64 Thread-Index: AQHZbaojfyJsJpD+9kOR562B07B4+a8o73Q3 Date: Thu, 13 Apr 2023 09:15:09 +0000 Message-ID: References: <202304130148.33D1mmns1987590@shliclel4214.sh.intel.com> In-Reply-To: <202304130148.33D1mmns1987590@shliclel4214.sh.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; x-ms-traffictypediagnostic: PAXPR08MB6559:EE_|DU0PR08MB9776:EE_|DBAEUR03FT034:EE_|AM9PR08MB6004:EE_ X-MS-Office365-Filtering-Correlation-Id: 51a2e635-c295-431a-6783-08db3bff9ab2 x-checkrecipientrouted: true nodisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: p/9C4oTUDvN1hIvbxCGunaPEJ/cLOpAVL5CZ1QE5FvTTLmBVag4YdsrRkdoMz6XnqIe+bLAJiLsQ4QBoGF+e2pQL1XofOQ6Ne5IQIdwE0RdRoySRNZp3ijBZyM5ZxaVWET55ihvvY1VXNmTyXxnWgy+zz67Au9keOATAizSOdKC81rZXZ2lavEfFrgUOYfD2aHhAKx8wRu44xHIRN3uHd4bteHi5wZkeqlL4kWIJcLRfrx2zWMCIR5U+ZBCtUOq7+Zlwrs8v6kPyIAvZDhb9c3lRhkIMw8YbiF6IAWAYttu4cM9vge3p4URbhOc1ZSteX6BWIgWdt3GHLFIxRA4kmp1LWUo6Ipf4oEOt05MwKASDWu/fX4GRo7uNhFOlTsaroMB0kKe/0RTbSQWkHSytqdP+5op3QM+uSygVfHJo2m75s0UzJ+VVNzMH53lSHrErPyqe/ojIrGy4wyhh7OyPbLat/CN6gNR/WrIzv6M4cGuy2ZoHvVsUHtKTFo4E73eXE/nTUpsmcy55QjgN/eyoVI11JRee0yIgUrWbW2v3p5uxQxYPntm+QvJc73cW9J/FxM5Z+SKPBUDWyiw801Nn+NeG8KvEWvHjdyCQq93cZrDFQUF6alQawG+YXWo5PBCTAOaKUy3LvG+amt1HMSusaw== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR08MB6559.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(346002)(39860400002)(366004)(376002)(396003)(136003)(451199021)(55016003)(7696005)(64756008)(8936002)(38100700002)(66476007)(478600001)(91956017)(122000001)(66946007)(66556008)(66446008)(316002)(52536014)(5660300002)(110136005)(41300700001)(8676002)(53546011)(83380400001)(186003)(71200400001)(76116006)(9686003)(26005)(6506007)(86362001)(38070700005)(33656002)(2906002)(84970400001);DIR:OUT;SFP:1101; Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR08MB9776 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DBAEUR03FT034.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 2ea4c7e5-05b0-4e07-d62b-08db3bff94a4 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: JVbHa+YvrQM9+KjX/S13xwgbTOHcJ9Rr8Op1zA/VfUhAwscT/MZhSOor7vLSZ/p4Vuq2MUsgyBZlGYBx2sKfZHdyxFlAJPRz6Urr4OZZtv77vmTMJTPBGkxEVpjHCIR5Bm5UWXOyXVN4tKs53AXF11MjZh8MihKjN2Ty66cYqZvOmmWzUSj7wQMJViv1EtoFHL8PBCKIA3KTlfMbHhnjMgnmvgwpxoo8ES8lxzfRqwU/uRTFzZMRAd3FON04DrkmjqOri/3sgO22444zhlhDkje59SSFbxb58pwqn3ksWHquG25GJ1zTZCfZBu5jAxr5CaOyJPALGV7jH7Ee9JdwrJ7iEmE2VUo+IjP5Cx1HyIIwQdCreQPDBgr0sd8O7Ws4jvi0i9DZzJWPIisBKiGa6X3ET2q1MeEWMSR7t9RMp71gwxCNH3F6QDZuPI+mf+fC1PsKEe1NLWHlPDfxO5iM22tDvgnx64fodZjVVnJvKEfBKpi3Q3xLMBoMvKWpqHD/wYdhZnJqy34cBStHaALt4ZoekciOJioEH06WTY655WOxQA0JU2aJx99VpcSdkim6Is4ski5pnV/c3QrBuACoMzuWw5E0HaRwTzScU0AmWE+ZZCTUoU3MBXJrh8Y+LIzQdkX7JqzxWFi3iBXZtWkpUjBXAK6IZPm/bDIo1uD69fhem81yQuU91hB+01KSceMOmBr+L8E2681ZKQE7VS3YGl6i7Foo2lH2LAPMGt72Mow= X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(13230028)(4636009)(376002)(39860400002)(346002)(396003)(136003)(451199021)(36840700001)(40470700004)(46966006)(84970400001)(478600001)(7696005)(83380400001)(40480700001)(55016003)(47076005)(356005)(81166007)(82740400003)(33656002)(336012)(86362001)(36860700001)(2906002)(53546011)(316002)(6506007)(9686003)(26005)(110136005)(186003)(5660300002)(82310400005)(52536014)(450100002)(8936002)(41300700001)(40460700003)(8676002)(70206006)(70586007);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Apr 2023 09:15:20.1139 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 51a2e635-c295-431a-6783-08db3bff9ab2 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DBAEUR03FT034.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR08MB6004 X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,FORGED_SPF_HELO,KAM_DMARC_NONE,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE,TXREP,UNPARSEABLE_RELAY autolearn=no 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, @Andrew: Could you have a look at these? I had a quick look at 17f.c and it= looks to me like the target selectors aren't specific enough. Unfortunatel= y I am not familiar enough with target selectors (or targets for that matte= r) for x86_64. From what I could tell with -m32 gcc decides to unroll the v= ectorized loop so you end up with 4 simdclones rather than the 2 it tests f= or, GCC probably uses a different cost structure for -m32 that decides it i= s profitable to unroll? As for -march=3Dcascadelake, that seems to prevent gcc from using the inbra= nch simdclones altogether, so I suspect that cascadelake doesn't support th= ese inbranch simdclones or the vector types it is trying to use. Kind regards, Andre ________________________________________ From: haochen.jiang Sent: Thursday, April 13, 2023 2:48 AM To: Andre Simoes Dias Vieira; gcc-regression@gcc.gnu.org; gcc-patches@gcc.g= nu.org; haochen.jiang@intel.com Subject: [r13-7135 Regression] FAIL: gcc.dg/vect/vect-simd-clone-18f.c scan= -tree-dump-times vect "[\\n\\r] [^\\n]* =3D foo\\.simdclone" 2 on Linux/x86= _64 On Linux/x86_64, 58c8c1b383bc3c286d6527fc6e8fb62463f9a877 is the first bad commit commit 58c8c1b383bc3c286d6527fc6e8fb62463f9a877 Author: Andre Vieira Date: Tue Apr 11 10:07:43 2023 +0100 if-conv: Restore MASK_CALL conversion [PR108888] caused FAIL: gcc.dg/vect/vect-simd-clone-16e.c scan-tree-dump-times vect "[\\n\\r]= [^\\n]* =3D foo\\.simdclone" 3 FAIL: gcc.dg/vect/vect-simd-clone-16f.c scan-tree-dump-times vect "[\\n\\r]= [^\\n]* =3D foo\\.simdclone" 2 FAIL: gcc.dg/vect/vect-simd-clone-17e.c scan-tree-dump-times vect "[\\n\\r]= [^\\n]* =3D foo\\.simdclone" 3 FAIL: gcc.dg/vect/vect-simd-clone-17f.c scan-tree-dump-times vect "[\\n\\r]= [^\\n]* =3D foo\\.simdclone" 2 FAIL: gcc.dg/vect/vect-simd-clone-18e.c scan-tree-dump-times vect "[\\n\\r]= [^\\n]* =3D foo\\.simdclone" 3 FAIL: gcc.dg/vect/vect-simd-clone-18f.c scan-tree-dump-times vect "[\\n\\r]= [^\\n]* =3D foo\\.simdclone" 2 with GCC configured with ../../gcc/configure --prefix=3D/export/users/haochenj/src/gcc-bisect/master= /master/r13-7135/usr --enable-clocale=3Dgnu --with-system-zlib --with-deman= gler-in-ld --with-fpmath=3Dsse --enable-languages=3Dc,c++,fortran --enable-= cet --without-isl --enable-libmpx x86_64-linux --disable-bootstrap To reproduce: $ cd {build_dir}/gcc && make check RUNTESTFLAGS=3D"vect.exp=3Dgcc.dg/vect/v= ect-simd-clone-16e.c --target_board=3D'unix{-m32}'" $ cd {build_dir}/gcc && make check RUNTESTFLAGS=3D"vect.exp=3Dgcc.dg/vect/v= ect-simd-clone-16e.c --target_board=3D'unix{-m32\ -march=3Dcascadelake}'" $ cd {build_dir}/gcc && make check RUNTESTFLAGS=3D"vect.exp=3Dgcc.dg/vect/v= ect-simd-clone-16f.c --target_board=3D'unix{-m32}'" $ cd {build_dir}/gcc && make check RUNTESTFLAGS=3D"vect.exp=3Dgcc.dg/vect/v= ect-simd-clone-16f.c --target_board=3D'unix{-m32\ -march=3Dcascadelake}'" $ cd {build_dir}/gcc && make check RUNTESTFLAGS=3D"vect.exp=3Dgcc.dg/vect/v= ect-simd-clone-17e.c --target_board=3D'unix{-m32}'" $ cd {build_dir}/gcc && make check RUNTESTFLAGS=3D"vect.exp=3Dgcc.dg/vect/v= ect-simd-clone-17e.c --target_board=3D'unix{-m32\ -march=3Dcascadelake}'" $ cd {build_dir}/gcc && make check RUNTESTFLAGS=3D"vect.exp=3Dgcc.dg/vect/v= ect-simd-clone-17f.c --target_board=3D'unix{-m32}'" $ cd {build_dir}/gcc && make check RUNTESTFLAGS=3D"vect.exp=3Dgcc.dg/vect/v= ect-simd-clone-17f.c --target_board=3D'unix{-m32\ -march=3Dcascadelake}'" $ cd {build_dir}/gcc && make check RUNTESTFLAGS=3D"vect.exp=3Dgcc.dg/vect/v= ect-simd-clone-18e.c --target_board=3D'unix{-m32}'" $ cd {build_dir}/gcc && make check RUNTESTFLAGS=3D"vect.exp=3Dgcc.dg/vect/v= ect-simd-clone-18e.c --target_board=3D'unix{-m32\ -march=3Dcascadelake}'" $ cd {build_dir}/gcc && make check RUNTESTFLAGS=3D"vect.exp=3Dgcc.dg/vect/v= ect-simd-clone-18f.c --target_board=3D'unix{-m32}'" $ cd {build_dir}/gcc && make check RUNTESTFLAGS=3D"vect.exp=3Dgcc.dg/vect/v= ect-simd-clone-18f.c --target_board=3D'unix{-m32\ -march=3Dcascadelake}'" (Please do not reply to this email, for question about this report, contact= me at haochen dot jiang at intel.com)