Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
7729 Discussions

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

chris3
Beginner
442 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
Black Belt
443 Views
jimdempseyatthecove
Black Belt
443 Views
This might be a better reference

http://www.google.com/url?sa=t&source=web&ct=res&cd=10&ved=0CD0QFjAJ&url=http%3A%2F%2Fsoftware.intel...

aka software.intel.com/file/19151

"Advanced Vector Extensions Programming Reference"


JenniferJ
Moderator
443 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

Reply