Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert XGETBV to equivalent byte form in GetXCR0Eax (#69)
osxcross (https://github.com/tpoechtrager/osxcross) gives the following error, which also happens with regular gcc on OS X (asmjit/asmjit#78): ``` cpu_features/src/cpuinfo_x86.c:44:no such instruction: `XGETBV' ```
- Loading branch information
084ec5c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You will probably want this for Windows 64-bit. It provides
XGETBV
for downlevel Windows clients. 64-bit Windows does not have inline assembly (from x64dll.asm):You would use Microsoft's
_xgetbv
if available. On 64-bit platforms you would guard for Visual Studio 2008 and below: