[PATCH] D21959: [X86] Add xgetbv xsetbv intrinsics

Reid Kleckner via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 16 09:16:14 PDT 2016


rnk added a subscriber: rnk.
rnk added a comment.

Reverted in r278814, it appears to break usage of _xgetbv on Windows:
https://build.chromium.org/p/chromium.fyi/builders/ClangToTWin%28dll%29/builds/5846/steps/compile/logs/stdio
../../base/cpu.cc(194,10):  error: use of undeclared identifier '_xgetbv'

  (_xgetbv(0) & 6) == 6 /* XSAVE enabled by kernel */;

You removed the test in ms-intrin.cpp that would have prevented this breakage, too.


Repository:
  rL LLVM

https://reviews.llvm.org/D21959





More information about the cfe-commits mailing list