]> granicus.if.org Git - clang/commit
Add implementations of _cpuid and _xgetbv to Intrin.h
authorHans Wennborg <hans@hanshq.net>
Thu, 16 Jan 2014 23:39:35 +0000 (23:39 +0000)
committerHans Wennborg <hans@hanshq.net>
Thu, 16 Jan 2014 23:39:35 +0000 (23:39 +0000)
commit16d6102309017a425cb2c27b13cea318b4e33483
treefeadef8f24c7e560a448af2418b4ededc3787fa9
parente0b111b6671cfcc57f4766a539c54d8e584fac55
Add implementations of _cpuid and _xgetbv to Intrin.h

The _cpuid() implementation is the same as in lib/Headers/cpuid.h
with the parameter names adjusted to match the interface.

_xgetbv just does what the Intel manual says.

Differential Revision: http://llvm-reviews.chandlerc.com/D2564

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@199439 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Headers/Intrin.h