From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2F8133858425; Sat, 2 Dec 2023 23:44:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2F8133858425 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1701560672; bh=LOTLT739lqG4wIcaoqrVPhApTRYVMliPQRSdc7r3tw8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=eQZd2K7SSoYTYon9nSwGo/pE2u4vIoRPsigI50atbFwBcPOm2NnmWb172Ceb1KXS0 Hbe57nIb26B4F+uNPn6X5e07Ot0HdEfW9c6ulmhQAMmFZGFo0/Xpj65I+qWqJY29mW cdhIiRvRvPAByDpaba54u6vrMjrApqOuaRvx1vFY= From: "sjames at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/112789] Missing clang __builtin_ctzs for short Date: Sat, 02 Dec 2023 23:44:31 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sjames at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: WONTFIX 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=3D112789 --- Comment #11 from Sam James --- (In reply to Andrew Pinski from comment #7) > Sounds like that HPC QCD app is broken. You should report it to the > developers. Also since __builtin_ctzg is added, adding __builtin_ctzs rea= lly > does not make any sense since it would just done as `#define __builtin_ct= zs > __builtin_ctzg((unsigned short)a)` in the source. And you can achieve this in a bunch of ways without even directly modifying= the source via the command line.=