Skip to content

Commit

Permalink
added fix that assumes xmm_enabled when OXSAVE feature not present
Browse files Browse the repository at this point in the history
  • Loading branch information
svenwoop committed Oct 30, 2015
1 parent cc75cca commit f255efe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/sys/sysinfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ namespace embree
if (nExIds >= 0x80000001) __cpuid(cpuid_leaf_e1,0x80000001);

/* detect if OS saves XMM, YMM, and ZMM states */
bool xmm_enabled = false;
bool xmm_enabled = true;
bool ymm_enabled = false;
bool zmm_enabled = false;
if (cpuid_leaf_1[ECX] & CPU_FEATURE_BIT_OXSAVE) {
Expand Down

0 comments on commit f255efe

Please sign in to comment.