[PATCH] D56686: [X86] Make _xgetbv/_xsetbv on non-windows platforms

Craig Topper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 14 17:06:03 PST 2019


craig.topper marked an inline comment as done.
craig.topper added inline comments.


================
Comment at: test/Headers/ms-intrin.cpp:37
 void f() {
   __movsb(0, 0, 0);
   __movsd(0, 0, 0);
----------------
rnk wrote:
> Surely `__movsb` and `__readmsr` should all be x86-only as well, at least according to MSDN?
I'm sure that's true, but I think thats a separate issue with the forward declarations in intrin.h


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

https://reviews.llvm.org/D56686





More information about the cfe-commits mailing list