From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 9B92A3858C56; Thu, 16 Nov 2023 07:47:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9B92A3858C56 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1700120820; bh=cFeVvtaMsbs6ksYjpwi5edQG1cZOlW7Eskn2+It/8Yk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=CNKnhBmyANvR48wJGd7INrelv50lDrxDjqFx3sDa9gGlIeO6u07O3gQTz+4HCbZq5 dBHOh3+y9zkIoFZIS+4jesu2YbX8Nzj5bbmHNJYCnr0VVobPb9djgse/pvoD/Hte1E TXevIBsgdtVZ3CLtp7cJGxUV6ycuoNKheoFRAVcM= From: "kito at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/112109] Missing riscv vectorized strcmp (and other) expanders Date: Thu, 16 Nov 2023 07:47:00 +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: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kito 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=3D112109 --- Comment #1 from Kito Cheng --- Just note: I would like to introduce `-mstringop-strategy=3D`, `-mmemcpy-strategy=3D` = and -mmemset-strategy=3D` option to control the behavior like x86. the possible option list from my mind is: - auto: current status, use scalar or vector - libcall: always fallback to lib call - scalar: Only scalar - vector: Only vector I guess we may need few more option to control some detail, but it could ad= d it to --param later.=