[llvm-bugs] [Bug 48614] New: _builtin_cpu_supports is missing a check for sha
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Dec 28 02:43:18 PST 2020
https://bugs.llvm.org/show_bug.cgi?id=48614
Bug ID: 48614
Summary: _builtin_cpu_supports is missing a check for sha
Product: clang
Version: 11.0
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: C
Assignee: unassignedclangbugs at nondot.org
Reporter: felix-llvm at fefe.de
CC: blitzrakete at gmail.com, dgregor at apple.com,
erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
richard-llvm at metafoo.co.uk
You can use _builtin_cpu_supports("aes") to check for AES-NI but you can't use
_builtin_cpu_supports("sha") to check for SHA-NI support in the CPU.
This builtin was invented by gcc and they are missing a way to check for sha as
well. I filed a bug with them, too. It would be great if both clang and gcc
added this.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20201228/56f97192/attachment.html>
More information about the llvm-bugs
mailing list