[PATCH] D132141: [X86] Emulate _rdrand64_step with two rdrand32 if it is 32bit

Craig Topper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 19 09:59:24 PDT 2022


craig.topper added inline comments.


================
Comment at: clang/lib/Headers/immintrin.h:300
+{
+  unsigned int lo, hi;
+  if (__builtin_ia32_rdrand32_step(&lo) && __builtin_ia32_rdrand32_step(&hi)) {
----------------
variable names in intrinsic headers must start with 2 underscores.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D132141/new/

https://reviews.llvm.org/D132141



More information about the cfe-commits mailing list