From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 81B663857C71; Tue, 6 Dec 2022 13:03:22 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 81B663857C71 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1670331802; bh=c2Xv+gFpIOqZ60/F54KA7sW5wIgVj64cUTdDLYaZMGI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=vaoBQrURYwcy0HsLkybkOntqQNzpKtLpJmhPvmPNTDF1b8zm0aYvU9J6S5sCGJWRT IZm/sRyHroZzfjFJ5bOEopPt+ERcv65gB7MVq7n1qWykPH+ONAUl8fuGIIG6Qqoyo9 60UWA+fhy5C6K14tpz+/Oc6V6rEhf4ZqmfcOb844= From: "zhongyunde at huawei dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/106323] [Suboptimal] memcmp(s1, s2, n) == 0 expansion on AArch64 compare to llvm Date: Tue, 06 Dec 2022 13:03:21 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: zhongyunde at huawei dot com 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=3D106323 --- Comment #4 from vfdff --- Now, llvm use 4 loads and CMP+CCMP, https://gcc.godbolt.org/z/PM3jxEM9M=