This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: What is the builtin for _mm_sha256rnds2_epu32?
- From: Jeffrey Walton <noloader at gmail dot com>
- To: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Tue, 18 Apr 2017 05:27:01 -0400
- Subject: Re: What is the builtin for _mm_sha256rnds2_epu32?
- Authentication-results: sourceware.org; auth=none
- References: <CAH8yC8mFFzn_R-=jP89jNEgbByPRC8FFuxp+QUZVTp_EtU16QA@mail.gmail.com> <alpine.DEB.2.20.1704181030330.2343@stedding.saclay.inria.fr>
- Reply-to: noloader at gmail dot com
On Tue, Apr 18, 2017 at 4:32 AM, Marc Glisse <marc.glisse@inria.fr> wrote:
> On Tue, 18 Apr 2017, Jeffrey Walton wrote:
>
>> I'm having trouble locating the builtin functions for the SHA
>> extensions. The 5.4 and 6.3 docs do not list them. (See, for example,
>>
>> https://gcc.gnu.org/onlinedocs/gcc-6.3.0/gcc/x86-Built-in-Functions.html#x86-Built-in-Functions).
>>
>> What are the builtin functions for the various SHA extensions, like
>> _mm_sha256rnds2_epu32?
>
> Uh, open the file shaintrin.h and see what builtins are used there? Why are
> you looking at the builtins anyway? I can see why people use intrinsics, or
> why they use inline asm, but not builtins.
Ah, I see what you mean. The builtins are not available either.
Man, I wish GCC would have made those damn intrinsics available like
the bug report requests.
Jeff