From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2D84739960E1; Wed, 16 Nov 2022 21:01:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2D84739960E1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1668632517; bh=ap792JAfXXpx25S52+GI7S1PYZv4JjE+mG2noyEi0cE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=jdOJ/Zy7w1lTcsgTxf2ttNhqynfdt3tR/7GY/3gRVLEysLdI5AxiKb7oboq+BrSNx zc/wmz9dgL3RRXZ0pjixt4NbGt8NDdSm/aLePEWSDqTqUINAVYra2p252WV/xJHD4p 3aVYfQkpPJ3pA4Yhyy+WW2g1f8/EZJZXiFrJNUlw= From: "unlvsur at live dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/107726] Multiple bugs related to __gnu__::__target__ Date: Wed, 16 Nov 2022 21:01:57 +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: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: unlvsur at live 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=3D107726 --- Comment #1 from cqwrteur --- #if __has_cpp_attribute(__gnu__::__target__) && defined(__SSE2__) && !defined(__AVX2__) [[__gnu__::__target__("default")]] #elif __has_cpp_attribute(__gnu__::__flatten__) [[__gnu__::__flatten__]] #endif inline void sha512_runtime_routine(std::uint_least64_t* __restrict state,std::byte const* __restrict blocks_start,std::byte const* __restrict blocks_last) noexcept; #if __has_cpp_attribute(__gnu__::__target__) && defined(__SSE2__) && !defined(__AVX2__) [[__gnu__::__target__("avx2")]] #elif __has_cpp_attribute(__gnu__::__flatten__) [[__gnu__::__flatten__]] #endif inline void sha512_runtime_routine(std::uint_least64_t* __restrict state,std::byte const* __restrict blocks_start,std::byte const* __restrict blocks_last) noexcept; Something like this.=