aboutsummaryrefslogtreecommitdiff
path: root/src/types.cpp
diff options
context:
space:
mode:
authorYawning Angel <yawning@schwanenlied.me>2023-05-16 22:56:16 +0900
committerYawning Angel <yawning@schwanenlied.me>2023-05-16 22:56:16 +0900
commitadb4692ce89f0e1c5966d0129df64637377ffad0 (patch)
tree4d775a756c4f93f25c2627342dad9cd92e9a2ba5 /src/types.cpp
parentbb4ff84a4a88272df3ab79009d92617307529c64 (diff)
core/sys/info: Workaround extremely rare XGETBV issues
Someone ran into this on Discord, so adopt the same workaround that chrome did, by checking both OSXSAVE and XSAVE before calling XGETBV. The old way of detecting AVX is correct per Intel, but such is life.
Diffstat (limited to 'src/types.cpp')
0 files changed, 0 insertions, 0 deletions