Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

Does any one know what processors do not have the xgetbv instruction ?

chris3
Beginner
950 Views
I need to be able to determine which customer machines are impacted by the __intel_cpu_indicator_init bug DPD200139120 in 11.1.035, apparently it is caused by an attempt to execute this op on processors that do not support it.

0 Kudos
3 Replies
jimdempseyatthecove
Honored Contributor III
951 Views
0 Kudos
jimdempseyatthecove
Honored Contributor III
951 Views
0 Kudos
JenniferJ
Moderator
951 Views

The bug is related to the xsave instruction - see thisarticle:http://software.intel.com/en-us/articles/program-crashes-or-hangs-on-some-systems/.

It only happens on those machines that have the xsave instruction turned on from both hardware level AND OS level. For Windows OS my research shows that the Windows 7* has it turned on, so as the Windows Server 2008* R2. Hardware level, it's very difficult to list all of them. But if you follow the instructions from MSDN website here: http://msdn.microsoft.com/en-us/library/ms724482(VS.85).aspx, you can write a simple program to detect if the xsave instruction is enabled.

There is no sure way to patch the binary, so we recommend updating the compiler to the latest 11.1 update and rebuild your application.

Thank you!
Jennifer

0 Kudos
Reply