Check if xsave is enabled by OS before calling xgetbv in XmmYmmStateSupport (dotnet...
authorCesar Blum Silveira <cesarbs@gmail.com>
Sat, 14 Jan 2017 00:09:46 +0000 (16:09 -0800)
committerJan Vorlicek <janvorli@microsoft.com>
Sat, 14 Jan 2017 00:09:46 +0000 (01:09 +0100)
commit820ae952ab63d39786c60c0cba9a91cf8bc29579
tree7ac3557b42a1c4d87cd680bf96dfecb4a50590a6
parentf7971992f0497339ff7f1ba4994050485b0628e4
Check if xsave is enabled by OS before calling xgetbv in XmmYmmStateSupport (dotnet/coreclr#8939)

* Check if xsave is enabled by OS before calling xgetbv in XmmYmmStateSupport. Fix dotnet/coreclr#8903

* Add ebx to clobbered registers.

Commit migrated from https://github.com/dotnet/coreclr/commit/590ff450b982e73782286ff3da80cd5665457de9
src/coreclr/src/pal/src/arch/amd64/processor.cpp