From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 81EAE385AC22; Thu, 21 Apr 2022 14:41:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 81EAE385AC22 From: "wdijkstr at arm dot com" To: glibc-bugs@sourceware.org Subject: [Bug string/28214] [suggestion] using stnp instead of stp in memset of aarch64 Date: Thu, 21 Apr 2022 14:41:06 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: string X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: wdijkstr at arm dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: glibc-bugs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-bugs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Apr 2022 14:41:06 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28214 Wilco changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wdijkstr at arm dot com --- Comment #1 from Wilco --- Doing this is only worthwhile if there is a clear performance gain on some microarchitectures. For small memsets it is very likely the memory is immediately reused, so using STNP is wrong. Large memsets of zero use DC ZVA which results in write streaming on most implementations, so large non-zero memsets is the only case where STNP might be beneficial. --=20 You are receiving this mail because: You are on the CC list for the bug.=