From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8CAFF3858401; Fri, 18 Aug 2023 12:39:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8CAFF3858401 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1692362393; bh=b4KACj7u0I40FXYrsH1Gb59wkOzxTWSRMWHzqmc7N6I=; h=From:To:Subject:Date:In-Reply-To:References:From; b=U3rZiL5SKZRJqbP/dz8dKW1k99sfD5pjHRtpBLiUHOeOuk+THF9zpGZzpzSBlCWBT LyRBteBb6xROkneF8K2Wmeuj3HP/LXxsWoaM0C07qugV/1uu+a/zYIe7B3HRQi6KJi grOSwYkfkVCHRvTiVFtyMEoMCBn4GHjLX5SyqAww= From: "hubicka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/111064] 5-10% regression of parest on icelake between g:d073e2d75d9ed492de9a8dc6970e5b69fae20e5a (Aug 15 2023) and g:9ade70bb86c8744f4416a48bb69cf4705f00905a (Aug 16) Date: Fri, 18 Aug 2023 12:39:53 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 13.1.0 X-Bugzilla-Keywords: missed-optimization, needs-bisection X-Bugzilla-Severity: normal X-Bugzilla-Who: hubicka at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D111064 --- Comment #1 from Jan Hubicka --- Maybe commit 3064d1f5c48cb6ce1b4133570dd08ecca8abb52d Author: liuhongt Date: Thu Aug 10 11:41:39 2023 +0800 Software mitigation: Disable gather generation in vectorization for GDS affected Intel Processors. For more details of GDS (Gather Data Sampling), refer to =20=20=20 https://www.intel.com/content/www/us/en/developer/articles/technical/softwa= re-security-guidance/advisory-guidance/gather-data-sampling.html After microcode update, there's performance regression. To avoid that, the patch disables gather generation in autovectorization but uses gather scalar emulation instead.=