This is an archive of the discontinued LLVM Phabricator instance.

Move _xgetbv to immintrin.h
AbandonedPublic

Authored by ehsan on Dec 31 2015, 1:40 PM.

Details

Reviewers
hansw
Summary

The documentation in https://msdn.microsoft.com/en-us/library/hh977022.aspx
says that this intrinsic is defined in immintrin.h, and that's the header
where MSVC declares this intrinsic, but clang-cl mistakenly provides it in
intrin.h.

Diff Detail

Event Timeline

ehsan updated this revision to Diff 43837.Dec 31 2015, 1:40 PM
ehsan retitled this revision from to Move _xgetbv to immintrin.h.
ehsan updated this object.
ehsan added a reviewer: hansw.
ehsan added a subscriber: cfe-commits.
ehsan abandoned this revision.Dec 31 2015, 1:58 PM

Oops, sorry, I submitted this by mistake.