_xgetbv
Looks like LLVM 6 may have removed the intrinsic, and this implementation is modeled after clang's.